drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-regs.h

Source file repositories/reference/linux-study-clean/drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-regs.h

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/rockchip/rkvdec/rkvdec-vdpu383-regs.h
Extension
.h
Size
7183 bytes
Lines
282
Domain
Driver Families
Bucket
drivers/media
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

struct vdpu383_regs_common {
	u32 reg008_dec_mode;

	struct {
		u32 fbc_e			: 1;
		u32 tile_e			: 1;
		u32 reserve0			: 2;
		u32 buf_empty_en		: 1;
		u32 scale_down_en		: 1;
		u32 reserve1			: 1;
		u32 pix_range_det_e		: 1;
		u32 av1_fgs_en			: 1;
		u32 reserve2			: 7;
		u32 line_irq_en			: 1;
		u32 out_cbcr_swap		: 1;
		u32 fbc_force_uncompress	: 1;
		u32 fbc_sparse_mode		: 1;
		u32 reserve3			: 12;
	} reg009_important_en;

	struct {
		u32 strmd_auto_gating_e		: 1;
		u32 inter_auto_gating_e		: 1;
		u32 intra_auto_gating_e		: 1;
		u32 transd_auto_gating_e	: 1;
		u32 recon_auto_gating_e		: 1;
		u32 filterd_auto_gating_e	: 1;
		u32 bus_auto_gating_e		: 1;
		u32 ctrl_auto_gating_e		: 1;
		u32 rcb_auto_gating_e		: 1;
		u32 err_prc_auto_gating_e	: 1;
		u32 reserve0			: 22;
	} reg010_block_gating_en;

	struct {
		u32 reserve0			: 9;
		u32 dec_timeout_dis		: 1;
		u32 reserve1			: 22;
	} reg011_cfg_para;

	struct {
		u32 reserve0			: 7;
		u32 cache_hash_mask		: 25;
	} reg012_cache_hash_mask;

	u32 reg013_core_timeout_threshold;

	struct {
		u32 dec_line_irq_step		: 16;
		u32 dec_line_offset_y_st	: 16;
	} reg014_line_irq_ctrl;

	struct {
		u32 rkvdec_frame_rdy_sta	: 1;
		u32 rkvdec_strm_error_sta	: 1;
		u32 rkvdec_core_timeout_sta	: 1;
		u32 rkvdec_ip_timeout_sta	: 1;
		u32 rkvdec_bus_error_sta	: 1;
		u32 rkvdec_buffer_empty_sta	: 1;
		u32 rkvdec_colmv_ref_error_sta	: 1;
		u32 rkvdec_error_spread_sta	: 1;
		u32 create_core_timeout_sta	: 1;
		u32 wlast_miss_match_sta	: 1;
		u32 rkvdec_core_rst_rdy_sta	: 1;
		u32 rkvdec_ip_rst_rdy_sta	: 1;
		u32 force_busidle_rdy_sta	: 1;
		u32 ltb_pause_rdy_sta		: 1;
		u32 ltb_end_flag		: 1;
		u32 unsupport_decmode_error_sta	: 1;
		u32 wmask_bits			: 15;
		u32 reserve0			: 1;
	} reg015_irq_sta;

	struct {
		u32 error_proc_disable		: 1;
		u32 reserve0			: 7;
		u32 error_spread_disable	: 1;
		u32 reserve1			: 15;
		u32 roi_error_ctu_cal_en	: 1;
		u32 reserve2			: 7;
	} reg016_error_ctrl_set;

	struct {
		u32 roi_x_ctu_offset_st		: 12;
		u32 reserve0			: 4;
		u32 roi_y_ctu_offset_st		: 12;
		u32 reserve1			: 4;
	} reg017_err_roi_ctu_offset_start;

	struct {

Annotation

Implementation Notes