This source file includes following definitions.
- host1x_channel_fifostat_r
- host1x_channel_fifostat_cfempty_v
- host1x_channel_dmastart_r
- host1x_channel_dmaput_r
- host1x_channel_dmaget_r
- host1x_channel_dmaend_r
- host1x_channel_dmactrl_r
- host1x_channel_dmactrl_dmastop
- host1x_channel_dmactrl_dmastop_v
- host1x_channel_dmactrl_dmagetrst
- host1x_channel_dmactrl_dmainitget
- host1x_channel_channelctrl_r
- host1x_channel_channelctrl_kernel_filter_gbuffer_f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 #ifndef HOST1X_HW_HOST1X05_CHANNEL_H
40 #define HOST1X_HW_HOST1X05_CHANNEL_H
41
42 static inline u32 host1x_channel_fifostat_r(void)
43 {
44 return 0x0;
45 }
46 #define HOST1X_CHANNEL_FIFOSTAT \
47 host1x_channel_fifostat_r()
48 static inline u32 host1x_channel_fifostat_cfempty_v(u32 r)
49 {
50 return (r >> 11) & 0x1;
51 }
52 #define HOST1X_CHANNEL_FIFOSTAT_CFEMPTY_V(r) \
53 host1x_channel_fifostat_cfempty_v(r)
54 static inline u32 host1x_channel_dmastart_r(void)
55 {
56 return 0x14;
57 }
58 #define HOST1X_CHANNEL_DMASTART \
59 host1x_channel_dmastart_r()
60 static inline u32 host1x_channel_dmaput_r(void)
61 {
62 return 0x18;
63 }
64 #define HOST1X_CHANNEL_DMAPUT \
65 host1x_channel_dmaput_r()
66 static inline u32 host1x_channel_dmaget_r(void)
67 {
68 return 0x1c;
69 }
70 #define HOST1X_CHANNEL_DMAGET \
71 host1x_channel_dmaget_r()
72 static inline u32 host1x_channel_dmaend_r(void)
73 {
74 return 0x20;
75 }
76 #define HOST1X_CHANNEL_DMAEND \
77 host1x_channel_dmaend_r()
78 static inline u32 host1x_channel_dmactrl_r(void)
79 {
80 return 0x24;
81 }
82 #define HOST1X_CHANNEL_DMACTRL \
83 host1x_channel_dmactrl_r()
84 static inline u32 host1x_channel_dmactrl_dmastop(void)
85 {
86 return 1 << 0;
87 }
88 #define HOST1X_CHANNEL_DMACTRL_DMASTOP \
89 host1x_channel_dmactrl_dmastop()
90 static inline u32 host1x_channel_dmactrl_dmastop_v(u32 r)
91 {
92 return (r >> 0) & 0x1;
93 }
94 #define HOST1X_CHANNEL_DMACTRL_DMASTOP_V(r) \
95 host1x_channel_dmactrl_dmastop_v(r)
96 static inline u32 host1x_channel_dmactrl_dmagetrst(void)
97 {
98 return 1 << 1;
99 }
100 #define HOST1X_CHANNEL_DMACTRL_DMAGETRST \
101 host1x_channel_dmactrl_dmagetrst()
102 static inline u32 host1x_channel_dmactrl_dmainitget(void)
103 {
104 return 1 << 2;
105 }
106 #define HOST1X_CHANNEL_DMACTRL_DMAINITGET \
107 host1x_channel_dmactrl_dmainitget()
108 static inline u32 host1x_channel_channelctrl_r(void)
109 {
110 return 0x98;
111 }
112 #define HOST1X_CHANNEL_CHANNELCTRL \
113 host1x_channel_channelctrl_r()
114 static inline u32 host1x_channel_channelctrl_kernel_filter_gbuffer_f(u32 v)
115 {
116 return (v & 0x1) << 2;
117 }
118 #define HOST1X_CHANNEL_CHANNELCTRL_KERNEL_FILTER_GBUFFER(v) \
119 host1x_channel_channelctrl_kernel_filter_gbuffer_f(v)
120
121 #endif