Lines Matching refs:__val
30 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
32 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
35 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
37 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
40 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
42 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
45 static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_first_seg() argument
47 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg()
50 static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) in set_tx_desc_linip() argument
52 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip()
55 static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) in set_tx_desc_own() argument
57 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own()
66 static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) in set_tx_desc_macid() argument
68 le32p_replace_bits((__pdesc + 1), __val, GENMASK(4, 0)); in set_tx_desc_macid()
71 static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) in set_tx_desc_queue_sel() argument
73 le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); in set_tx_desc_queue_sel()
76 static inline void set_tx_desc_non_qos(__le32 *__pdesc, u32 __val) in set_tx_desc_non_qos() argument
78 le32p_replace_bits((__pdesc + 1), __val, BIT(16)); in set_tx_desc_non_qos()
81 static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) in set_tx_desc_sec_type() argument
83 le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); in set_tx_desc_sec_type()
87 static inline void set_tx_desc_rsvd_macid(__le32 *__pdesc, u32 __val) in set_tx_desc_rsvd_macid() argument
89 le32p_replace_bits((__pdesc + 2), __val, GENMASK(28, 24)); in set_tx_desc_rsvd_macid()
92 static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_agg_enable() argument
94 le32p_replace_bits((__pdesc + 2), __val, BIT(29)); in set_tx_desc_agg_enable()
98 static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) in set_tx_desc_seq() argument
100 le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); in set_tx_desc_seq()
104 static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_rate() argument
106 le32p_replace_bits((__pdesc + 4), __val, GENMASK(5, 0)); in set_tx_desc_rts_rate()
109 static inline void set_tx_desc_cts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_cts_enable() argument
111 le32p_replace_bits((__pdesc + 4), __val, BIT(11)); in set_tx_desc_cts_enable()
114 static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_enable() argument
116 le32p_replace_bits((__pdesc + 4), __val, BIT(12)); in set_tx_desc_rts_enable()
119 static inline void set_tx_desc_ra_brsr_id(__le32 *__pdesc, u32 __val) in set_tx_desc_ra_brsr_id() argument
121 le32p_replace_bits((__pdesc + 4), __val, GENMASK(15, 13)); in set_tx_desc_ra_brsr_id()
124 static inline void set_tx_desc_txht(__le32 *__pdesc, u32 __val) in set_tx_desc_txht() argument
126 le32p_replace_bits((__pdesc + 4), __val, BIT(16)); in set_tx_desc_txht()
129 static inline void set_tx_desc_tx_short(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_short() argument
131 le32p_replace_bits((__pdesc + 4), __val, BIT(17)); in set_tx_desc_tx_short()
134 static inline void set_tx_desc_tx_bandwidth(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_bandwidth() argument
136 le32p_replace_bits((__pdesc + 4), __val, BIT(18)); in set_tx_desc_tx_bandwidth()
139 static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_sub_carrier() argument
141 le32p_replace_bits((__pdesc + 4), __val, GENMASK(20, 19)); in set_tx_desc_tx_sub_carrier()
144 static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_short() argument
146 le32p_replace_bits((__pdesc + 4), __val, BIT(25)); in set_tx_desc_rts_short()
149 static inline void set_tx_desc_rts_bandwidth(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_bandwidth() argument
151 le32p_replace_bits((__pdesc + 4), __val, BIT(26)); in set_tx_desc_rts_bandwidth()
154 static inline void set_tx_desc_rts_sub_carrier(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_sub_carrier() argument
156 le32p_replace_bits((__pdesc + 4), __val, GENMASK(28, 27)); in set_tx_desc_rts_sub_carrier()
159 static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) in set_tx_desc_rts_stbc() argument
161 le32p_replace_bits((__pdesc + 4), __val, GENMASK(30, 29)); in set_tx_desc_rts_stbc()
164 static inline void set_tx_desc_user_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_user_rate() argument
166 le32p_replace_bits((__pdesc + 4), __val, BIT(31)); in set_tx_desc_user_rate()
170 static inline void set_tx_desc_packet_id(__le32 *__pdesc, u32 __val) in set_tx_desc_packet_id() argument
172 le32p_replace_bits((__pdesc + 5), __val, GENMASK(8, 0)); in set_tx_desc_packet_id()
175 static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_rate() argument
177 le32p_replace_bits((__pdesc + 5), __val, GENMASK(14, 9)); in set_tx_desc_tx_rate()
180 static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) in set_tx_desc_data_rate_fb_limit() argument
182 le32p_replace_bits((__pdesc + 5), __val, GENMASK(20, 16)); in set_tx_desc_data_rate_fb_limit()
186 static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_size() argument
188 le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); in set_tx_desc_tx_buffer_size()
192 static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_buffer_address() argument
194 *(__pdesc + 8) = 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 + 9) = cpu_to_le32(__val); in set_tx_desc_next_desc_address()
223 static inline void set_rx_status_desc_pkt_len(__le32 *__pdesc, u32 __val) in set_rx_status_desc_pkt_len() argument
225 le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); in set_rx_status_desc_pkt_len()
228 static inline void set_rx_status_desc_eor(__le32 *__pdesc, u32 __val) in set_rx_status_desc_eor() argument
230 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_status_desc_eor()
233 static inline void set_rx_status_desc_own(__le32 *__pdesc, u32 __val) in set_rx_status_desc_own() argument
235 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_rx_status_desc_own()
317 static inline void set_rx_status__desc_buff_addr(__le32 *__pdesc, u32 __val) in set_rx_status__desc_buff_addr() argument
319 *(__pdesc + 6) = cpu_to_le32(__val); in set_rx_status__desc_buff_addr()