1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 #ifndef VCE_3_0_SH_MASK_H
25 #define VCE_3_0_SH_MASK_H
26
27 #define VCE_STATUS__JOB_BUSY_MASK 0x1
28 #define VCE_STATUS__JOB_BUSY__SHIFT 0x0
29 #define VCE_STATUS__VCPU_REPORT_MASK 0xfe
30 #define VCE_STATUS__VCPU_REPORT__SHIFT 0x1
31 #define VCE_STATUS__UENC_BUSY_MASK 0x100
32 #define VCE_STATUS__UENC_BUSY__SHIFT 0x8
33 #define VCE_STATUS__VCE_CONFIGURATION_MASK 0xc00000
34 #define VCE_STATUS__VCE_CONFIGURATION__SHIFT 0x16
35 #define VCE_STATUS__VCE_INSTANCE_ID_MASK 0x3000000
36 #define VCE_STATUS__VCE_INSTANCE_ID__SHIFT 0x18
37 #define VCE_VCPU_CNTL__CLK_EN_MASK 0x1
38 #define VCE_VCPU_CNTL__CLK_EN__SHIFT 0x0
39 #define VCE_VCPU_CNTL__RBBM_SOFT_RESET_MASK 0x40000
40 #define VCE_VCPU_CNTL__RBBM_SOFT_RESET__SHIFT 0x12
41 #define VCE_VCPU_CACHE_OFFSET0__OFFSET_MASK 0xfffffff
42 #define VCE_VCPU_CACHE_OFFSET0__OFFSET__SHIFT 0x0
43 #define VCE_VCPU_CACHE_SIZE0__SIZE_MASK 0xffffff
44 #define VCE_VCPU_CACHE_SIZE0__SIZE__SHIFT 0x0
45 #define VCE_VCPU_CACHE_OFFSET1__OFFSET_MASK 0xfffffff
46 #define VCE_VCPU_CACHE_OFFSET1__OFFSET__SHIFT 0x0
47 #define VCE_VCPU_CACHE_SIZE1__SIZE_MASK 0xffffff
48 #define VCE_VCPU_CACHE_SIZE1__SIZE__SHIFT 0x0
49 #define VCE_VCPU_CACHE_OFFSET2__OFFSET_MASK 0xfffffff
50 #define VCE_VCPU_CACHE_OFFSET2__OFFSET__SHIFT 0x0
51 #define VCE_VCPU_CACHE_SIZE2__SIZE_MASK 0xffffff
52 #define VCE_VCPU_CACHE_SIZE2__SIZE__SHIFT 0x0
53 #define VCE_SOFT_RESET__ECPU_SOFT_RESET_MASK 0x1
54 #define VCE_SOFT_RESET__ECPU_SOFT_RESET__SHIFT 0x0
55 #define VCE_RB_BASE_LO2__RB_BASE_LO_MASK 0xffffffc0
56 #define VCE_RB_BASE_LO2__RB_BASE_LO__SHIFT 0x6
57 #define VCE_RB_BASE_HI2__RB_BASE_HI_MASK 0xffffffff
58 #define VCE_RB_BASE_HI2__RB_BASE_HI__SHIFT 0x0
59 #define VCE_RB_SIZE2__RB_SIZE_MASK 0x7ffff0
60 #define VCE_RB_SIZE2__RB_SIZE__SHIFT 0x4
61 #define VCE_RB_RPTR2__RB_RPTR_MASK 0x7ffff0
62 #define VCE_RB_RPTR2__RB_RPTR__SHIFT 0x4
63 #define VCE_RB_WPTR2__RB_WPTR_MASK 0x7ffff0
64 #define VCE_RB_WPTR2__RB_WPTR__SHIFT 0x4
65 #define VCE_RB_BASE_LO__RB_BASE_LO_MASK 0xffffffc0
66 #define VCE_RB_BASE_LO__RB_BASE_LO__SHIFT 0x6
67 #define VCE_RB_BASE_HI__RB_BASE_HI_MASK 0xffffffff
68 #define VCE_RB_BASE_HI__RB_BASE_HI__SHIFT 0x0
69 #define VCE_RB_SIZE__RB_SIZE_MASK 0x7ffff0
70 #define VCE_RB_SIZE__RB_SIZE__SHIFT 0x4
71 #define VCE_RB_RPTR__RB_RPTR_MASK 0x7ffff0
72 #define VCE_RB_RPTR__RB_RPTR__SHIFT 0x4
73 #define VCE_RB_WPTR__RB_WPTR_MASK 0x7ffff0
74 #define VCE_RB_WPTR__RB_WPTR__SHIFT 0x4
75 #define VCE_RB_ARB_CTRL__VCE_CGTT_OVERRIDE_MASK 0x10000
76 #define VCE_RB_ARB_CTRL__VCE_CGTT_OVERRIDE__SHIFT 0x10
77 #define VCE_RB_BASE_LO3__RB_BASE_LO_MASK 0xffffffc0
78 #define VCE_RB_BASE_LO3__RB_BASE_LO__SHIFT 0x6
79 #define VCE_RB_BASE_HI3__RB_BASE_HI_MASK 0xffffffff
80 #define VCE_RB_BASE_HI3__RB_BASE_HI__SHIFT 0x0
81 #define VCE_RB_SIZE3__RB_SIZE_MASK 0x7ffff0
82 #define VCE_RB_SIZE3__RB_SIZE__SHIFT 0x4
83 #define VCE_RB_RPTR3__RB_RPTR_MASK 0x7ffff0
84 #define VCE_RB_RPTR3__RB_RPTR__SHIFT 0x4
85 #define VCE_RB_WPTR3__RB_WPTR_MASK 0x7ffff0
86 #define VCE_RB_WPTR3__RB_WPTR__SHIFT 0x4
87 #define VCE_UENC_DMA_DCLK_CTRL__WRDMCLK_FORCEON_MASK 0x1
88 #define VCE_UENC_DMA_DCLK_CTRL__WRDMCLK_FORCEON__SHIFT 0x0
89 #define VCE_UENC_DMA_DCLK_CTRL__RDDMCLK_FORCEON_MASK 0x2
90 #define VCE_UENC_DMA_DCLK_CTRL__RDDMCLK_FORCEON__SHIFT 0x1
91 #define VCE_UENC_DMA_DCLK_CTRL__REGCLK_FORCEON_MASK 0x4
92 #define VCE_UENC_DMA_DCLK_CTRL__REGCLK_FORCEON__SHIFT 0x2
93 #define VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN_MASK 0x8
94 #define VCE_SYS_INT_EN__VCE_SYS_INT_TRAP_INTERRUPT_EN__SHIFT 0x3
95 #define VCE_SYS_INT_STATUS__VCE_SYS_INT_TRAP_INTERRUPT_INT_MASK 0x8
96 #define VCE_SYS_INT_STATUS__VCE_SYS_INT_TRAP_INTERRUPT_INT__SHIFT 0x3
97 #define VCE_SYS_INT_ACK__VCE_SYS_INT_TRAP_INTERRUPT_ACK_MASK 0x8
98 #define VCE_SYS_INT_ACK__VCE_SYS_INT_TRAP_INTERRUPT_ACK__SHIFT 0x3
99 #define VCE_LMI_VCPU_CACHE_40BIT_BAR__BAR_MASK 0xffffffff
100 #define VCE_LMI_VCPU_CACHE_40BIT_BAR__BAR__SHIFT 0x0
101 #define VCE_LMI_CTRL2__STALL_ARB_UMC_MASK 0x100
102 #define VCE_LMI_CTRL2__STALL_ARB_UMC__SHIFT 0x8
103 #define VCE_LMI_SWAP_CNTL3__RD_MC_CID_SWAP_MASK 0x3
104 #define VCE_LMI_SWAP_CNTL3__RD_MC_CID_SWAP__SHIFT 0x0
105 #define VCE_LMI_CTRL__VCPU_DATA_COHERENCY_EN_MASK 0x200000
106 #define VCE_LMI_CTRL__VCPU_DATA_COHERENCY_EN__SHIFT 0x15
107 #define VCE_LMI_SWAP_CNTL__VCPU_W_MC_SWAP_MASK 0x3
108 #define VCE_LMI_SWAP_CNTL__VCPU_W_MC_SWAP__SHIFT 0x0
109 #define VCE_LMI_SWAP_CNTL__WR_MC_CID_SWAP_MASK 0x3ffc
110 #define VCE_LMI_SWAP_CNTL__WR_MC_CID_SWAP__SHIFT 0x2
111 #define VCE_LMI_SWAP_CNTL1__VCPU_R_MC_SWAP_MASK 0x3
112 #define VCE_LMI_SWAP_CNTL1__VCPU_R_MC_SWAP__SHIFT 0x0
113 #define VCE_LMI_SWAP_CNTL1__RD_MC_CID_SWAP_MASK 0x3ffc
114 #define VCE_LMI_SWAP_CNTL1__RD_MC_CID_SWAP__SHIFT 0x2
115 #define VCE_LMI_SWAP_CNTL2__WR_MC_CID_SWAP_MASK 0xff
116 #define VCE_LMI_SWAP_CNTL2__WR_MC_CID_SWAP__SHIFT 0x0
117 #define VCE_LMI_CACHE_CTRL__VCPU_EN_MASK 0x1
118 #define VCE_LMI_CACHE_CTRL__VCPU_EN__SHIFT 0x0
119
120 #endif