Lines Matching refs:__val
17 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
22 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
24 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
27 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
32 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
37 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
42 static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_first_seg() argument
44 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg()
47 static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) in set_tx_desc_linip() argument
49 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip()
52 static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) in set_tx_desc_own() argument
54 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own()
62 static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) in set_tx_desc_macid() argument
64 le32p_replace_bits((__pdesc + 1), __val, GENMASK(6, 0)); in set_tx_desc_macid()
67 static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) in set_tx_desc_queue_sel() argument
69 le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); in set_tx_desc_queue_sel()
72 static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) in set_tx_desc_rate_id() argument
74 le32p_replace_bits((__pdesc + 1), __val, GENMASK(20, 16)); in set_tx_desc_rate_id()
77 static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) in set_tx_desc_sec_type() argument
79 le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); in set_tx_desc_sec_type()
82 static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_offset() argument
84 le32p_replace_bits((__pdesc + 1), __val, GENMASK(28, 24)); in set_tx_desc_pkt_offset()
87 static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_agg_enable() argument
89 le32p_replace_bits((__pdesc + 2), __val, BIT(12)); in set_tx_desc_agg_enable()
92 static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rdg_enable() argument
94 le32p_replace_bits((__pdesc + 2), __val, BIT(13)); in set_tx_desc_rdg_enable()
97 static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) in set_tx_desc_more_frag() argument
99 le32p_replace_bits((__pdesc + 2), __val, BIT(17)); in set_tx_desc_more_frag()
102 static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) in set_tx_desc_ampdu_density() argument
104 le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); in set_tx_desc_ampdu_density()
107 static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_use_rate() argument
109 le32p_replace_bits((__pdesc + 3), __val, BIT(8)); in set_tx_desc_use_rate()
112 static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) in set_tx_desc_disable_fb() argument
114 le32p_replace_bits((__pdesc + 3), __val, BIT(10)); in set_tx_desc_disable_fb()
117 static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) in set_tx_desc_cts2self() argument
119 le32p_replace_bits((__pdesc + 3), __val, BIT(11)); in set_tx_desc_cts2self()
122 static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_enable() argument
124 le32p_replace_bits((__pdesc + 3), __val, BIT(12)); in set_tx_desc_rts_enable()
127 static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_hw_rts_enable() argument
129 le32p_replace_bits((__pdesc + 3), __val, BIT(13)); in set_tx_desc_hw_rts_enable()
132 static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) in set_tx_desc_nav_use_hdr() argument
134 le32p_replace_bits((__pdesc + 3), __val, BIT(15)); in set_tx_desc_nav_use_hdr()
137 static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) in set_tx_desc_max_agg_num() argument
139 le32p_replace_bits((__pdesc + 3), __val, GENMASK(21, 17)); in set_tx_desc_max_agg_num()
143 static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_rate() argument
145 le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 0)); in set_tx_desc_tx_rate()
148 static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_data_rate_fb_limit() argument
150 le32p_replace_bits((__pdesc + 4), __val, GENMASK(12, 8)); in set_tx_desc_data_rate_fb_limit()
153 static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate_fb_limit() argument
155 le32p_replace_bits((__pdesc + 4), __val, GENMASK(16, 13)); in set_tx_desc_rts_rate_fb_limit()
158 static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate() argument
160 le32p_replace_bits((__pdesc + 4), __val, GENMASK(28, 24)); in set_tx_desc_rts_rate()
164 static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_sub_carrier() argument
166 le32p_replace_bits((__pdesc + 5), __val, GENMASK(3, 0)); in set_tx_desc_tx_sub_carrier()
169 static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) in set_tx_desc_data_bw() argument
171 le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 5)); in set_tx_desc_data_bw()
174 static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_short() argument
176 le32p_replace_bits((__pdesc + 5), __val, BIT(12)); in set_tx_desc_rts_short()
179 static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_sc() argument
181 le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); in set_tx_desc_rts_sc()
185 static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_size() argument
187 le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); in set_tx_desc_tx_buffer_size()
191 static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) in set_tx_desc_seq() argument
193 le32p_replace_bits((__pdesc + 9), __val, GENMASK(23, 12)); in set_tx_desc_seq()
197 static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_address() argument
199 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address()
203 static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) in set_tx_desc_next_desc_address() argument
205 *(__pdesc + 12) = cpu_to_le32(__val); in set_tx_desc_next_desc_address()
208 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __val) in set_earlymode_pktnum() argument
210 le32p_replace_bits(__paddr, __val, GENMASK(3, 0)); in set_earlymode_pktnum()
213 static inline void set_earlymode_len0(__le32 *__paddr, u32 __val) in set_earlymode_len0() argument
215 le32p_replace_bits(__paddr, __val, GENMASK(18, 4)); in set_earlymode_len0()
218 static inline void set_earlymode_len1(__le32 *__paddr, u32 __val) in set_earlymode_len1() argument
220 le32p_replace_bits(__paddr, __val, GENMASK(17, 16)); in set_earlymode_len1()
223 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __val) in set_earlymode_len2_1() argument
225 le32p_replace_bits(__paddr, __val, GENMASK(5, 2)); in set_earlymode_len2_1()
228 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __val) in set_earlymode_len2_2() argument
230 le32p_replace_bits((__paddr + 1), __val, GENMASK(7, 0)); in set_earlymode_len2_2()
233 static inline void set_earlymode_len3(__le32 *__paddr, u32 __val) in set_earlymode_len3() argument
235 le32p_replace_bits((__paddr + 1), __val, GENMASK(31, 17)); in set_earlymode_len3()
238 static inline void set_earlymode_len4(__le32 *__paddr, u32 __val) in set_earlymode_len4() argument
240 le32p_replace_bits((__paddr + 1), __val, GENMASK(31, 20)); in set_earlymode_len4()
247 u8 __offset, u32 __val) in set_txbuffer_desc_len_with_offset() argument
249 le32p_replace_bits((__pdesc + 4 * __offset), __val, in set_txbuffer_desc_len_with_offset()
254 u8 __offset, u32 __val) in set_txbuffer_desc_amsdu_with_offset() argument
256 le32p_replace_bits((__pdesc + 4 * __offset), __val, BIT(31)); in set_txbuffer_desc_amsdu_with_offset()
261 u32 __val) in set_txbuffer_desc_add_low_with_offset() argument
263 *(__pdesc + 4 * __offset + 1) = cpu_to_le32(__val); in set_txbuffer_desc_add_low_with_offset()
288 static inline void set_tx_buff_desc_len_0(__le32 *__pdesc, u32 __val) in set_tx_buff_desc_len_0() argument
290 le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); in set_tx_buff_desc_len_0()
293 static inline void set_tx_buff_desc_psb(__le32 *__pdesc, u32 __val) in set_tx_buff_desc_psb() argument
295 le32p_replace_bits(__pdesc, __val, GENMASK(30, 16)); in set_tx_buff_desc_psb()
298 static inline void set_tx_buff_desc_own(__le32 *__pdesc, u32 __val) in set_tx_buff_desc_own() argument
300 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_buff_desc_own()
304 static inline void set_tx_buff_desc_addr_low_0(__le32 *__pdesc, u32 __val) in set_tx_buff_desc_addr_low_0() argument
306 *(__pdesc + 1) = cpu_to_le32(__val); in set_tx_buff_desc_addr_low_0()
322 static inline void set_rx_buffer_desc_data_length(__le32 *__status, u32 __val) in set_rx_buffer_desc_data_length() argument
324 le32p_replace_bits(__status, __val, GENMASK(13, 0)); in set_rx_buffer_desc_data_length()
327 static inline void set_rx_buffer_desc_ls(__le32 *__status, u32 __val) in set_rx_buffer_desc_ls() argument
329 le32p_replace_bits(__status, __val, BIT(15)); in set_rx_buffer_desc_ls()
332 static inline void set_rx_buffer_desc_fs(__le32 *__status, u32 __val) in set_rx_buffer_desc_fs() argument
334 le32p_replace_bits(__status, __val, BIT(16)); in set_rx_buffer_desc_fs()
337 static inline void set_rx_buffer_desc_total_length(__le32 *__status, u32 __val) in set_rx_buffer_desc_total_length() argument
339 le32p_replace_bits(__status, __val, GENMASK(30, 16)); in set_rx_buffer_desc_total_length()
358 static inline void set_rx_buffer_physical_low(__le32 *__status, u32 __val) in set_rx_buffer_physical_low() argument
360 *(__status + 1) = cpu_to_le32(__val); in set_rx_buffer_physical_low()
365 u32 __val, bool dma64) in set_rx_buffer_physical_high() argument
368 *(__rx_status_desc + 2) = cpu_to_le32(__val); in set_rx_buffer_physical_high()
413 static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) in set_rx_desc_eor() argument
415 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor()