include/uapi/linux/media/raspberrypi/pisp_fe_config.h

Source file repositories/reference/linux-study-clean/include/uapi/linux/media/raspberrypi/pisp_fe_config.h

File Facts

System
Linux kernel
Corpus path
include/uapi/linux/media/raspberrypi/pisp_fe_config.h
Extension
.h
Size
6957 bytes
Lines
274
Domain
Core OS
Bucket
Core Kernel Interface
Inferred role
Core OS: implementation source
Status
source implementation candidate

Why This File Exists

Core operating-system implementation surface: boot, tasks, memory, VFS, syscall-facing interfaces, synchronization, credentials, and isolation.

Dependency Surface

Detected Declarations

Annotated Snippet

struct pisp_fe_global_config {
	__u32 enables;
	__u8 bayer_order;
	__u8 pad[3];
} __attribute__((packed));

struct pisp_fe_input_axi_config {
	/* burst length minus one, in the range 0..15; OR'd with flags */
	__u8 maxlen_flags;
	/* { prot[2:0], cache[3:0] } fields */
	__u8 cache_prot;
	/* QoS (only 4 LS bits are used) */
	__u16 qos;
} __attribute__((packed));

struct pisp_fe_output_axi_config {
	/* burst length minus one, in the range 0..15; OR'd with flags */
	__u8 maxlen_flags;
	/* { prot[2:0], cache[3:0] } fields */
	__u8 cache_prot;
	/* QoS (4 bitfields of 4 bits each for different panic levels) */
	__u16 qos;
	/*  For Panic mode: Output FIFO panic threshold */
	__u16 thresh;
	/*  For Panic mode: Output FIFO statistics throttle threshold */
	__u16 throttle;
} __attribute__((packed));

struct pisp_fe_input_config {
	__u8 streaming;
	__u8 pad[3];
	struct pisp_image_format_config format;
	struct pisp_fe_input_axi_config axi;
	/* Extra cycles delay before issuing each burst request */
	__u8 holdoff;
	__u8 pad2[3];
} __attribute__((packed));

struct pisp_fe_output_config {
	struct pisp_image_format_config format;
	__u16 ilines;
	__u8 pad[2];
} __attribute__((packed));

struct pisp_fe_input_buffer_config {
	__u32 addr_lo;
	__u32 addr_hi;
	__u16 frame_id;
	__u16 pad;
} __attribute__((packed));

#define PISP_FE_DECOMPAND_LUT_SIZE 65

struct pisp_fe_decompand_config {
	__u16 lut[PISP_FE_DECOMPAND_LUT_SIZE];
	__u16 pad;
} __attribute__((packed));

struct pisp_fe_dpc_config {
	__u8 coeff_level;
	__u8 coeff_range;
	__u8 coeff_range2;
#define PISP_FE_DPC_FLAG_FOLDBACK 1
#define PISP_FE_DPC_FLAG_VFLAG 2
	__u8 flags;
} __attribute__((packed));

#define PISP_FE_LSC_LUT_SIZE 16

struct pisp_fe_lsc_config {
	__u8 shift;
	__u8 pad0;
	__u16 scale;
	__u16 centre_x;
	__u16 centre_y;
	__u16 lut[PISP_FE_LSC_LUT_SIZE];
} __attribute__((packed));

struct pisp_fe_rgby_config {
	__u16 gain_r;
	__u16 gain_g;
	__u16 gain_b;
	__u8 maxflag;
	__u8 pad;
} __attribute__((packed));

struct pisp_fe_agc_stats_config {
	__u16 offset_x;
	__u16 offset_y;
	__u16 size_x;

Annotation

Implementation Notes