include/dt-bindings/gce/mt8192-gce.h

Source file repositories/reference/linux-study-clean/include/dt-bindings/gce/mt8192-gce.h

File Facts

System
Linux kernel
Corpus path
include/dt-bindings/gce/mt8192-gce.h
Extension
.h
Size
13905 bytes
Lines
336
Domain
Repository Root And Misc
Bucket
include
Inferred role
Repository Root And Misc: implementation source
Status
source implementation candidate

Why This File Exists

Top-level or miscellaneous repository surface. Use this as map coverage unless a later manual pass promotes the file into a deeper subsystem dossier.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _DT_BINDINGS_GCE_MT8192_H
#define _DT_BINDINGS_GCE_MT8192_H

/* assign timeout 0 also means default */
#define CMDQ_NO_TIMEOUT		0xffffffff
#define CMDQ_TIMEOUT_DEFAULT	1000

/* GCE thread priority */
#define CMDQ_THR_PRIO_LOWEST	0
#define CMDQ_THR_PRIO_1		1
#define CMDQ_THR_PRIO_2		2
#define CMDQ_THR_PRIO_3		3
#define CMDQ_THR_PRIO_4		4
#define CMDQ_THR_PRIO_5		5
#define CMDQ_THR_PRIO_6		6
#define CMDQ_THR_PRIO_HIGHEST	7

/* CPR count in 32bit register */
#define GCE_CPR_COUNT		1312

/* GCE subsys table */
#define SUBSYS_1300XXXX		0
#define SUBSYS_1400XXXX		1
#define SUBSYS_1401XXXX		2
#define SUBSYS_1402XXXX		3
#define SUBSYS_1502XXXX		4
#define SUBSYS_1880XXXX		5
#define SUBSYS_1881XXXX		6
#define SUBSYS_1882XXXX		7
#define SUBSYS_1883XXXX		8
#define SUBSYS_1884XXXX		9
#define SUBSYS_1000XXXX		10
#define SUBSYS_1001XXXX		11
#define SUBSYS_1002XXXX		12
#define SUBSYS_1003XXXX		13
#define SUBSYS_1004XXXX		14
#define SUBSYS_1005XXXX		15
#define SUBSYS_1020XXXX		16
#define SUBSYS_1028XXXX		17
#define SUBSYS_1700XXXX		18
#define SUBSYS_1701XXXX		19
#define SUBSYS_1702XXXX		20
#define SUBSYS_1703XXXX		21
#define SUBSYS_1800XXXX		22
#define SUBSYS_1801XXXX		23
#define SUBSYS_1802XXXX		24
#define SUBSYS_1804XXXX		25
#define SUBSYS_1805XXXX		26
#define SUBSYS_1808XXXX		27
#define SUBSYS_180aXXXX		28
#define SUBSYS_180bXXXX		29

#define CMDQ_EVENT_VDEC_LAT_SOF_0			0
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_0		1
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_1		2
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_2		3
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_3		4
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_4		5
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_5		6
#define CMDQ_EVENT_VDEC_LAT_FRAME_DONE_6		7
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_0			8
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_1			9
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_2			10
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_3			11
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_4			12
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_5			13
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_6			14
#define CMDQ_EVENT_VDEC_LAT_ENG_EVENT_7			15

#define CMDQ_EVENT_ISP_FRAME_DONE_A			65
#define CMDQ_EVENT_ISP_FRAME_DONE_B			66
#define CMDQ_EVENT_ISP_FRAME_DONE_C			67
#define CMDQ_EVENT_CAMSV0_PASS1_DONE			68
#define CMDQ_EVENT_CAMSV02_PASS1_DONE			69
#define CMDQ_EVENT_CAMSV1_PASS1_DONE			70
#define CMDQ_EVENT_CAMSV2_PASS1_DONE			71
#define CMDQ_EVENT_CAMSV3_PASS1_DONE			72
#define CMDQ_EVENT_MRAW_0_PASS1_DONE			73
#define CMDQ_EVENT_MRAW_1_PASS1_DONE			74
#define CMDQ_EVENT_SENINF_CAM0_FIFO_FULL		75
#define CMDQ_EVENT_SENINF_CAM1_FIFO_FULL		76
#define CMDQ_EVENT_SENINF_CAM2_FIFO_FULL		77
#define CMDQ_EVENT_SENINF_CAM3_FIFO_FULL		78
#define CMDQ_EVENT_SENINF_CAM4_FIFO_FULL		79
#define CMDQ_EVENT_SENINF_CAM5_FIFO_FULL		80
#define CMDQ_EVENT_SENINF_CAM6_FIFO_FULL		81
#define CMDQ_EVENT_SENINF_CAM7_FIFO_FULL		82
#define CMDQ_EVENT_SENINF_CAM8_FIFO_FULL		83
#define CMDQ_EVENT_SENINF_CAM9_FIFO_FULL		84
#define CMDQ_EVENT_SENINF_CAM10_FIFO_FULL		85

Annotation

Implementation Notes