Lines Matching refs:__val
19 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
21 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
24 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
26 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
29 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
31 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
34 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
36 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
39 static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_first_seg() argument
41 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg()
44 static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) in set_tx_desc_linip() argument
46 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip()
49 static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) in set_tx_desc_own() argument
51 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own()
59 static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) in set_tx_desc_macid() argument
61 le32p_replace_bits((__pdesc + 1), __val, GENMASK(4, 0)); in set_tx_desc_macid()
64 static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_agg_enable() argument
66 le32p_replace_bits((__pdesc + 1), __val, BIT(5)); in set_tx_desc_agg_enable()
69 static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rdg_enable() argument
71 le32p_replace_bits((__pdesc + 1), __val, BIT(7)); in set_tx_desc_rdg_enable()
74 static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) in set_tx_desc_queue_sel() argument
76 le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); in set_tx_desc_queue_sel()
79 static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) in set_tx_desc_rate_id() argument
81 le32p_replace_bits((__pdesc + 1), __val, GENMASK(19, 16)); in set_tx_desc_rate_id()
84 static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) in set_tx_desc_sec_type() argument
86 le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); in set_tx_desc_sec_type()
89 static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_offset() argument
91 le32p_replace_bits((__pdesc + 1), __val, GENMASK(30, 26)); in set_tx_desc_pkt_offset()
94 static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) in set_tx_desc_more_frag() argument
96 le32p_replace_bits((__pdesc + 2), __val, BIT(17)); in set_tx_desc_more_frag()
99 static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) in set_tx_desc_ampdu_density() argument
101 le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); in set_tx_desc_ampdu_density()
104 static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) in set_tx_desc_seq() argument
106 le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); in set_tx_desc_seq()
109 static inline void set_tx_desc_pkt_id(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_id() argument
111 le32p_replace_bits((__pdesc + 3), __val, GENMASK(31, 28)); in set_tx_desc_pkt_id()
114 static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate() argument
116 le32p_replace_bits((__pdesc + 4), __val, GENMASK(4, 0)); in set_tx_desc_rts_rate()
119 static inline void set_tx_desc_qos(__le32 *__pdesc, u32 __val) in set_tx_desc_qos() argument
121 le32p_replace_bits((__pdesc + 4), __val, BIT(6)); in set_tx_desc_qos()
124 static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) in set_tx_desc_hwseq_en() argument
126 le32p_replace_bits((__pdesc + 4), __val, BIT(7)); in set_tx_desc_hwseq_en()
129 static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_use_rate() argument
131 le32p_replace_bits((__pdesc + 4), __val, BIT(8)); in set_tx_desc_use_rate()
134 static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) in set_tx_desc_disable_fb() argument
136 le32p_replace_bits((__pdesc + 4), __val, BIT(10)); in set_tx_desc_disable_fb()
139 static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) in set_tx_desc_cts2self() argument
141 le32p_replace_bits((__pdesc + 4), __val, BIT(11)); in set_tx_desc_cts2self()
144 static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_enable() argument
146 le32p_replace_bits((__pdesc + 4), __val, BIT(12)); in set_tx_desc_rts_enable()
149 static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_hw_rts_enable() argument
151 le32p_replace_bits((__pdesc + 4), __val, BIT(13)); in set_tx_desc_hw_rts_enable()
154 static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_sub_carrier() argument
156 le32p_replace_bits((__pdesc + 4), __val, GENMASK(21, 20)); in set_tx_desc_tx_sub_carrier()
159 static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) in set_tx_desc_data_bw() argument
161 le32p_replace_bits((__pdesc + 4), __val, BIT(25)); in set_tx_desc_data_bw()
164 static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_short() argument
166 le32p_replace_bits((__pdesc + 4), __val, BIT(26)); in set_tx_desc_rts_short()
169 static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_bw() argument
171 le32p_replace_bits((__pdesc + 4), __val, BIT(27)); in set_tx_desc_rts_bw()
174 static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_sc() argument
176 le32p_replace_bits((__pdesc + 4), __val, GENMASK(29, 28)); in set_tx_desc_rts_sc()
179 static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_stbc() argument
181 le32p_replace_bits((__pdesc + 4), __val, GENMASK(31, 30)); in set_tx_desc_rts_stbc()
184 static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_rate() argument
186 le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); in set_tx_desc_tx_rate()
189 static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) in set_tx_desc_data_shortgi() argument
191 le32p_replace_bits((__pdesc + 5), __val, BIT(6)); in set_tx_desc_data_shortgi()
194 static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_data_rate_fb_limit() argument
196 le32p_replace_bits((__pdesc + 5), __val, GENMASK(12, 8)); in set_tx_desc_data_rate_fb_limit()
199 static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate_fb_limit() argument
201 le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); in set_tx_desc_rts_rate_fb_limit()
204 static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) in set_tx_desc_max_agg_num() argument
206 le32p_replace_bits((__pdesc + 6), __val, GENMASK(15, 11)); in set_tx_desc_max_agg_num()
209 static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_size() argument
211 le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); in set_tx_desc_tx_buffer_size()
214 static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_address() argument
216 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address()
224 static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) in set_tx_desc_next_desc_address() argument
226 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_next_desc_address()
269 static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) in set_rx_desc_pkt_len() argument
271 le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); in set_rx_desc_pkt_len()
274 static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) in set_rx_desc_eor() argument
276 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor()
279 static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) in set_rx_desc_own() argument
281 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_rx_desc_own()
324 static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) in set_rx_desc_buff_addr() argument
326 *(__pdesc + 6) = cpu_to_le32(__val); in set_rx_desc_buff_addr()