drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_5_0_0_sh_mask.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_5_0_0_sh_mask.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/include/asic_reg/vcn/vcn_5_0_0_sh_mask.h- Extension
.h- Size
- 820537 bytes
- Lines
- 7667
- Domain
- Driver Families
- Bucket
- drivers/gpu
- 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.
- 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.
- Uses kernel synchronization; read lock ordering, sleepability, and interrupt context assumptions before translating.
Dependency Surface
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _vcn_5_0_0_SH_MASK_HEADER
#define _vcn_5_0_0_SH_MASK_HEADER
// addressBlock: uvd_uvddec
//UVD_TOP_CTRL
#define UVD_TOP_CTRL__STANDARD__SHIFT 0x0
#define UVD_TOP_CTRL__STD_VERSION__SHIFT 0x4
#define UVD_TOP_CTRL__STANDARD_MASK 0x0000000FL
#define UVD_TOP_CTRL__STD_VERSION_MASK 0x00000010L
//UVD_CGC_GATE
#define UVD_CGC_GATE__SYS__SHIFT 0x0
#define UVD_CGC_GATE__UDEC__SHIFT 0x1
#define UVD_CGC_GATE__MPEG2__SHIFT 0x2
#define UVD_CGC_GATE__REGS__SHIFT 0x3
#define UVD_CGC_GATE__RBC__SHIFT 0x4
#define UVD_CGC_GATE__LMI_MC__SHIFT 0x5
#define UVD_CGC_GATE__LMI_UMC__SHIFT 0x6
#define UVD_CGC_GATE__IDCT__SHIFT 0x7
#define UVD_CGC_GATE__MPRD__SHIFT 0x8
#define UVD_CGC_GATE__MPC__SHIFT 0x9
#define UVD_CGC_GATE__LBSI__SHIFT 0xa
#define UVD_CGC_GATE__LRBBM__SHIFT 0xb
#define UVD_CGC_GATE__UDEC_RE__SHIFT 0xc
#define UVD_CGC_GATE__UDEC_CM__SHIFT 0xd
#define UVD_CGC_GATE__UDEC_IT__SHIFT 0xe
#define UVD_CGC_GATE__UDEC_DB__SHIFT 0xf
#define UVD_CGC_GATE__UDEC_MP__SHIFT 0x10
#define UVD_CGC_GATE__WCB__SHIFT 0x11
#define UVD_CGC_GATE__VCPU__SHIFT 0x12
#define UVD_CGC_GATE__MMSCH__SHIFT 0x14
#define UVD_CGC_GATE__LCM0__SHIFT 0x15
#define UVD_CGC_GATE__LCM1__SHIFT 0x16
#define UVD_CGC_GATE__MIF__SHIFT 0x17
#define UVD_CGC_GATE__VREG__SHIFT 0x18
#define UVD_CGC_GATE__PE__SHIFT 0x19
#define UVD_CGC_GATE__PPU__SHIFT 0x1a
#define UVD_CGC_GATE__SYS_MASK 0x00000001L
#define UVD_CGC_GATE__UDEC_MASK 0x00000002L
#define UVD_CGC_GATE__MPEG2_MASK 0x00000004L
#define UVD_CGC_GATE__REGS_MASK 0x00000008L
#define UVD_CGC_GATE__RBC_MASK 0x00000010L
#define UVD_CGC_GATE__LMI_MC_MASK 0x00000020L
#define UVD_CGC_GATE__LMI_UMC_MASK 0x00000040L
#define UVD_CGC_GATE__IDCT_MASK 0x00000080L
#define UVD_CGC_GATE__MPRD_MASK 0x00000100L
#define UVD_CGC_GATE__MPC_MASK 0x00000200L
#define UVD_CGC_GATE__LBSI_MASK 0x00000400L
#define UVD_CGC_GATE__LRBBM_MASK 0x00000800L
#define UVD_CGC_GATE__UDEC_RE_MASK 0x00001000L
#define UVD_CGC_GATE__UDEC_CM_MASK 0x00002000L
#define UVD_CGC_GATE__UDEC_IT_MASK 0x00004000L
#define UVD_CGC_GATE__UDEC_DB_MASK 0x00008000L
#define UVD_CGC_GATE__UDEC_MP_MASK 0x00010000L
#define UVD_CGC_GATE__WCB_MASK 0x00020000L
#define UVD_CGC_GATE__VCPU_MASK 0x00040000L
#define UVD_CGC_GATE__MMSCH_MASK 0x00100000L
#define UVD_CGC_GATE__LCM0_MASK 0x00200000L
#define UVD_CGC_GATE__LCM1_MASK 0x00400000L
#define UVD_CGC_GATE__MIF_MASK 0x00800000L
#define UVD_CGC_GATE__VREG_MASK 0x01000000L
#define UVD_CGC_GATE__PE_MASK 0x02000000L
#define UVD_CGC_GATE__PPU_MASK 0x04000000L
//UVD_CGC_CTRL
#define UVD_CGC_CTRL__DYN_CLOCK_MODE__SHIFT 0x0
#define UVD_CGC_CTRL__CLK_GATE_DLY_TIMER__SHIFT 0x2
#define UVD_CGC_CTRL__CLK_OFF_DELAY__SHIFT 0x6
#define UVD_CGC_CTRL__UDEC_RE_MODE__SHIFT 0xb
#define UVD_CGC_CTRL__UDEC_CM_MODE__SHIFT 0xc
#define UVD_CGC_CTRL__UDEC_IT_MODE__SHIFT 0xd
#define UVD_CGC_CTRL__UDEC_DB_MODE__SHIFT 0xe
#define UVD_CGC_CTRL__UDEC_MP_MODE__SHIFT 0xf
#define UVD_CGC_CTRL__SYS_MODE__SHIFT 0x10
#define UVD_CGC_CTRL__UDEC_MODE__SHIFT 0x11
#define UVD_CGC_CTRL__MPEG2_MODE__SHIFT 0x12
#define UVD_CGC_CTRL__REGS_MODE__SHIFT 0x13
#define UVD_CGC_CTRL__RBC_MODE__SHIFT 0x14
#define UVD_CGC_CTRL__LMI_MC_MODE__SHIFT 0x15
#define UVD_CGC_CTRL__LMI_UMC_MODE__SHIFT 0x16
#define UVD_CGC_CTRL__IDCT_MODE__SHIFT 0x17
#define UVD_CGC_CTRL__MPRD_MODE__SHIFT 0x18
#define UVD_CGC_CTRL__MPC_MODE__SHIFT 0x19
#define UVD_CGC_CTRL__LBSI_MODE__SHIFT 0x1a
#define UVD_CGC_CTRL__LRBBM_MODE__SHIFT 0x1b
#define UVD_CGC_CTRL__WCB_MODE__SHIFT 0x1c
#define UVD_CGC_CTRL__VCPU_MODE__SHIFT 0x1d
#define UVD_CGC_CTRL__MMSCH_MODE__SHIFT 0x1f
#define UVD_CGC_CTRL__DYN_CLOCK_MODE_MASK 0x00000001L
#define UVD_CGC_CTRL__CLK_GATE_DLY_TIMER_MASK 0x0000003CL
#define UVD_CGC_CTRL__CLK_OFF_DELAY_MASK 0x000007C0L
Annotation
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
- Synchronization appears in or near this file; preserve lock ordering, sleepability, and interrupt-context constraints.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.