mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
88ea1e31f2
PD#SWPL-217731 Problem: Fix amlogic license. Solution: Fix amlogic license. Verify: all chip Change-Id: I36cc711e44a201ec944c6b0b54c0d21ab671b068 Signed-off-by: yao zhang1 <yao.zhang1@amlogic.com>
44 lines
1.5 KiB
C
44 lines
1.5 KiB
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2025 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _LINUX_MAJOR_E_H
|
|
#define _LINUX_MAJOR_E_H
|
|
#include <linux/fs.h>
|
|
|
|
#include <linux/major.h>
|
|
|
|
/* Amlogic extension */
|
|
#define AML_BASE (270)
|
|
#define AMSTREAM_MAJOR (0 + (AML_BASE))
|
|
#define AUDIODSP_MAJOR (2 + (AML_BASE))
|
|
#define FIRMWARE_MAJOR (3 + (AML_BASE))
|
|
#define AMVIDEO_MAJOR (9 + (AML_BASE))
|
|
#define AMAUDIO_MAJOR (11 + (AML_BASE))
|
|
#define AMVIDEO2_MAJOR (12 + (AML_BASE))
|
|
#define AMAUDIO2_MAJOR (13 + (AML_BASE))
|
|
#define VFM_MAJOR (14 + (AML_BASE))
|
|
#define IONVIDEO_MAJOR (15 + (AML_BASE))
|
|
#define VAD_MAJOR (16 + (AML_BASE))
|
|
#define VIDEOSYNC_MAJOR (17 + (AML_BASE))
|
|
#define V4LVIDEO_MAJOR (18 + (AML_BASE))
|
|
#define VIDEO_COMPOSER_MAJOR (19 + (AML_BASE))
|
|
#define TSYNC_MAJOR (20 + (AML_BASE))
|
|
#define VIDEOFRAME_MAJOR (21 + (AML_BASE))
|
|
#define MEDIASYNC_MAJOR (22 + (AML_BASE))
|
|
#define VDETECT_MAJOR (23 + (AML_BASE))
|
|
#define AMSYNC_MAJOR (24 + (AML_BASE))
|
|
#define AMSYNC_SESSION_MAJOR (25 + (AML_BASE))
|
|
#define VIDEOQUEUE_MAJOR (26 + (AML_BASE))
|
|
#define DI_V4L_MAJOR (27 + (AML_BASE))
|
|
#define PTSSERVER_MAJOR (28 + (AML_BASE))
|
|
#define AFD_MAJOR (29 + (AML_BASE))
|
|
#define AMEDIA_INFO_MAJOR (30 + (AML_BASE))
|
|
#define VICP_MAJOR (31 + (AML_BASE))
|
|
#define DI_PROCESS_MAJOR (32 + (AML_BASE))
|
|
#define AML_DHP_MAJOR (33 + (AML_BASE))
|
|
#define VIDEODISPLAY_MAJOR (34 + (AML_BASE))
|
|
#define V2D_MAJOR (35 + (AML_BASE))
|
|
#endif
|