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(4, 0)); in set_tx_desc_macid()
67 static inline void set_tx_desc_agg_break(__le32 *__pdesc, u32 __val) in set_tx_desc_agg_break() argument
69 le32p_replace_bits((__pdesc + 1), __val, BIT(5)); in set_tx_desc_agg_break()
72 static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rdg_enable() argument
74 le32p_replace_bits((__pdesc + 1), __val, BIT(7)); in set_tx_desc_rdg_enable()
77 static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) in set_tx_desc_queue_sel() argument
79 le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); in set_tx_desc_queue_sel()
82 static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) in set_tx_desc_rate_id() argument
84 le32p_replace_bits((__pdesc + 1), __val, GENMASK(19, 16)); in set_tx_desc_rate_id()
87 static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) in set_tx_desc_sec_type() argument
89 le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); in set_tx_desc_sec_type()
92 static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) in set_tx_desc_more_frag() argument
94 le32p_replace_bits((__pdesc + 2), __val, BIT(17)); in set_tx_desc_more_frag()
97 static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) in set_tx_desc_ampdu_density() argument
99 le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); in set_tx_desc_ampdu_density()
102 static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) in set_tx_desc_seq() argument
104 le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); in set_tx_desc_seq()
107 static inline void set_tx_desc_pkt_id(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_id() argument
109 le32p_replace_bits((__pdesc + 3), __val, GENMASK(31, 28)); in set_tx_desc_pkt_id()
113 static inline void set_tx_desc_hwseq_en_8723(__le32 *__pdesc, u32 __val) in set_tx_desc_hwseq_en_8723() argument
115 le32p_replace_bits((__pdesc + 3), __val, BIT(31)); in set_tx_desc_hwseq_en_8723()
123 static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate() argument
125 le32p_replace_bits((__pdesc + 4), __val, GENMASK(4, 0)); in set_tx_desc_rts_rate()
128 static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_use_rate() argument
130 le32p_replace_bits((__pdesc + 4), __val, BIT(8)); in set_tx_desc_use_rate()
133 static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) in set_tx_desc_disable_fb() argument
135 le32p_replace_bits((__pdesc + 4), __val, BIT(10)); in set_tx_desc_disable_fb()
138 static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) in set_tx_desc_cts2self() argument
140 le32p_replace_bits((__pdesc + 4), __val, BIT(11)); in set_tx_desc_cts2self()
143 static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_enable() argument
145 le32p_replace_bits((__pdesc + 4), __val, BIT(12)); in set_tx_desc_rts_enable()
148 static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_hw_rts_enable() argument
150 le32p_replace_bits((__pdesc + 4), __val, BIT(13)); in set_tx_desc_hw_rts_enable()
153 static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_sub_carrier() argument
155 le32p_replace_bits((__pdesc + 4), __val, GENMASK(21, 20)); in set_tx_desc_tx_sub_carrier()
158 static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) in set_tx_desc_data_bw() argument
160 le32p_replace_bits((__pdesc + 4), __val, BIT(25)); in set_tx_desc_data_bw()
163 static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_short() argument
165 le32p_replace_bits((__pdesc + 4), __val, BIT(26)); in set_tx_desc_rts_short()
168 static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_bw() argument
170 le32p_replace_bits((__pdesc + 4), __val, BIT(27)); in set_tx_desc_rts_bw()
173 static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_sc() argument
175 le32p_replace_bits((__pdesc + 4), __val, GENMASK(29, 28)); in set_tx_desc_rts_sc()
178 static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_stbc() argument
180 le32p_replace_bits((__pdesc + 4), __val, GENMASK(31, 30)); in set_tx_desc_rts_stbc()
183 static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_rate() argument
185 le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); in set_tx_desc_tx_rate()
188 static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) in set_tx_desc_data_shortgi() argument
190 le32p_replace_bits((__pdesc + 5), __val, BIT(6)); in set_tx_desc_data_shortgi()
193 static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_data_rate_fb_limit() argument
195 le32p_replace_bits((__pdesc + 5), __val, GENMASK(12, 8)); in set_tx_desc_data_rate_fb_limit()
198 static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate_fb_limit() argument
200 le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); in set_tx_desc_rts_rate_fb_limit()
203 static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) in set_tx_desc_max_agg_num() argument
205 le32p_replace_bits((__pdesc + 6), __val, GENMASK(15, 11)); in set_tx_desc_max_agg_num()
208 static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_size() argument
210 le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); in set_tx_desc_tx_buffer_size()
213 static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_address() argument
215 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address()
223 static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) in set_tx_desc_next_desc_address() argument
225 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_next_desc_address()
268 static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) in set_rx_desc_pkt_len() argument
270 le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); in set_rx_desc_pkt_len()
273 static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) in set_rx_desc_eor() argument
275 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor()
278 static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) in set_rx_desc_own() argument
280 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_rx_desc_own()
323 static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) in set_rx_desc_buff_addr() argument
325 *(__pdesc + 6) = cpu_to_le32(__val); in set_rx_desc_buff_addr()