drivers/staging/media/atomisp/pci/input_switch_2400_defs.h

Source file repositories/reference/linux-study-clean/drivers/staging/media/atomisp/pci/input_switch_2400_defs.h

File Facts

System
Linux kernel
Corpus path
drivers/staging/media/atomisp/pci/input_switch_2400_defs.h
Extension
.h
Size
806 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/staging
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _input_switch_2400_defs_h
#define _input_switch_2400_defs_h

#define _HIVE_INPUT_SWITCH_GET_LUT_REG_ID(ch_id, fmt_type) (((ch_id) * 2) + ((fmt_type) >= 16))
#define _HIVE_INPUT_SWITCH_GET_LUT_REG_LSB(fmt_type)        (((fmt_type) % 16) * 2)

#define HIVE_INPUT_SWITCH_SELECT_NO_OUTPUT   0
#define HIVE_INPUT_SWITCH_SELECT_IF_PRIM     1
#define HIVE_INPUT_SWITCH_SELECT_IF_SEC      2
#define HIVE_INPUT_SWITCH_SELECT_STR_TO_MEM  3
#define HIVE_INPUT_SWITCH_VSELECT_NO_OUTPUT  0
#define HIVE_INPUT_SWITCH_VSELECT_IF_PRIM    1
#define HIVE_INPUT_SWITCH_VSELECT_IF_SEC     2
#define HIVE_INPUT_SWITCH_VSELECT_STR_TO_MEM 4

#endif /* _input_switch_2400_defs_h */

Annotation

Implementation Notes