__pdesc 63 drivers/net/wireless/realtek/rtlwifi/base.h #define SET_TX_DESC_SPE_RPT(__pdesc, __val) \ __pdesc 64 drivers/net/wireless/realtek/rtlwifi/base.h SET_BITS_TO_LE_4BYTE((__pdesc) + 8, 19, 1, __val) __pdesc 65 drivers/net/wireless/realtek/rtlwifi/base.h #define SET_TX_DESC_SW_DEFINE(__pdesc, __val) \ __pdesc 66 drivers/net/wireless/realtek/rtlwifi/base.h SET_BITS_TO_LE_4BYTE((__pdesc) + 24, 0, 12, __val) __pdesc 17 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __pdesc 19 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __pdesc 22 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __pdesc 27 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __pdesc 29 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __pdesc 32 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __pdesc 37 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __pdesc 39 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __pdesc 42 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __pdesc 47 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_tx_desc_own(__le32 *__pdesc) __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(5, 0)); __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(12, 8)); __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(19, 16)); __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, BIT(20)); __pdesc 82 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(23, 22)); __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(30, 26)); __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(12)); __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(13)); __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(17)); __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __pdesc 109 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, GENMASK(22, 20)); __pdesc 112 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_antsel_a(__le32 *__pdesc, u32 __val) __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(24)); __pdesc 117 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_antsel_b(__le32 *__pdesc, u32 __val) __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(25)); __pdesc 122 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 3, __val, GENMASK(27, 16)); __pdesc 127 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __pdesc 129 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(31)); __pdesc 132 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(4, 0)); __pdesc 137 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_qos(__le32 *__pdesc, u32 __val) __pdesc 139 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(6)); __pdesc 142 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __pdesc 144 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(8)); __pdesc 147 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __pdesc 149 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(10)); __pdesc 152 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __pdesc 154 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(11)); __pdesc 157 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 159 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(12)); __pdesc 162 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(13)); __pdesc 167 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(21, 20)); __pdesc 172 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_stbc(__le32 *__pdesc, u32 __val) __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(23, 22)); __pdesc 177 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(25)); __pdesc 182 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __pdesc 184 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(26)); __pdesc 187 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) __pdesc 189 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, BIT(27)); __pdesc 192 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __pdesc 194 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(29, 28)); __pdesc 197 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(31, 30)); __pdesc 202 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 204 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(5, 0)); __pdesc 207 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __pdesc 209 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, BIT(6)); __pdesc 212 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 214 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(12, 8)); __pdesc 217 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 219 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(16, 13)); __pdesc 222 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __pdesc 224 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 6, __val, GENMASK(15, 11)); __pdesc 227 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_antsel_c(__le32 *__pdesc, u32 __val) __pdesc 229 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 7, __val, BIT(29)); __pdesc 232 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __pdesc 234 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc + 7, __val, GENMASK(15, 0)); __pdesc 237 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_tx_desc_tx_buffer_size(__le32 *__pdesc) __pdesc 239 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 7), GENMASK(15, 0)); __pdesc 242 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __pdesc 244 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 8) = cpu_to_le32(__val); __pdesc 247 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline u32 get_tx_desc_tx_buffer_address(__le32 *__pdesc) __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_to_cpu(*(__pdesc + 8)); __pdesc 252 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __pdesc 254 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __pdesc 257 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_pkt_len(__le32 *__pdesc) __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), GENMASK(13, 0)); __pdesc 262 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_crc32(__le32 *__pdesc) __pdesc 264 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(14)); __pdesc 267 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_icv(__le32 *__pdesc) __pdesc 269 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(15)); __pdesc 272 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_drv_info_size(__le32 *__pdesc) __pdesc 274 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), GENMASK(19, 16)); __pdesc 277 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_security(__le32 *__pdesc) __pdesc 279 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), GENMASK(22, 20)); __pdesc 282 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_qos(__le32 *__pdesc) __pdesc 284 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(23)); __pdesc 287 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_shift(__le32 *__pdesc) __pdesc 289 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), GENMASK(25, 24)); __pdesc 292 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_physt(__le32 *__pdesc) __pdesc 294 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(26)); __pdesc 297 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_swdec(__le32 *__pdesc) __pdesc 299 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(27)); __pdesc 302 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_ls(__le32 *__pdesc) __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(28)); __pdesc 307 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_fs(__le32 *__pdesc) __pdesc 309 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(29)); __pdesc 312 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_eor(__le32 *__pdesc) __pdesc 314 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(30)); __pdesc 317 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_own(__le32 *__pdesc) __pdesc 319 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 322 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __pdesc 324 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __pdesc 327 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __pdesc 329 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __pdesc 332 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 334 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 337 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_macid(__le32 *__pdesc) __pdesc 339 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(5, 0)); __pdesc 342 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_paggr(__le32 *__pdesc) __pdesc 344 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(14)); __pdesc 347 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_faggr(__le32 *__pdesc) __pdesc 349 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(15)); __pdesc 352 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_a1_fit(__le32 *__pdesc) __pdesc 354 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(19, 16)); __pdesc 357 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_a2_fit(__le32 *__pdesc) __pdesc 359 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(23, 20)); __pdesc 362 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_pam(__le32 *__pdesc) __pdesc 364 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(24)); __pdesc 367 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_pwr(__le32 *__pdesc) __pdesc 369 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(25)); __pdesc 372 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_md(__le32 *__pdesc) __pdesc 374 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(26)); __pdesc 377 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_mf(__le32 *__pdesc) __pdesc 379 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(27)); __pdesc 382 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_type(__le32 *__pdesc) __pdesc 384 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(29, 28)); __pdesc 387 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_mc(__le32 *__pdesc) __pdesc 389 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(30)); __pdesc 392 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_bc(__le32 *__pdesc) __pdesc 394 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(31)); __pdesc 397 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_seq(__le32 *__pdesc) __pdesc 399 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 2), GENMASK(11, 0)); __pdesc 402 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_frag(__le32 *__pdesc) __pdesc 404 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 2), GENMASK(15, 12)); __pdesc 407 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_rxmcs(__le32 *__pdesc) __pdesc 409 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(5, 0)); __pdesc 412 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_rxht(__le32 *__pdesc) __pdesc 414 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(6)); __pdesc 417 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_rx_gf(__le32 *__pdesc) __pdesc 419 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(7)); __pdesc 422 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_splcp(__le32 *__pdesc) __pdesc 424 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(8)); __pdesc 427 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_bw(__le32 *__pdesc) __pdesc 429 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(9)); __pdesc 432 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_desc_htc(__le32 *__pdesc) __pdesc 434 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(10)); __pdesc 437 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_eosp(__le32 *__pdesc) __pdesc 439 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(11)); __pdesc 442 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_bssid_fit(__le32 *__pdesc) __pdesc 444 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(13, 12)); __pdesc 447 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_rpt_sel(__le32 *__pdesc) __pdesc 449 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(15, 14)); __pdesc 452 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_pattern_match(__le32 *__pdesc) __pdesc 454 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(29)); __pdesc 457 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_unicast_match(__le32 *__pdesc) __pdesc 459 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(30)); __pdesc 462 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline int get_rx_status_desc_magic_match(__le32 *__pdesc) __pdesc 464 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(31)); __pdesc 467 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline u32 get_rx_desc_iv1(__le32 *__pdesc) __pdesc 469 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_to_cpu(*(__pdesc + 4)); __pdesc 472 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline u32 get_rx_desc_tsfl(__le32 *__pdesc) __pdesc 474 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_to_cpu(*(__pdesc + 5)); __pdesc 477 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline u32 get_rx_desc_buff_addr(__le32 *__pdesc) __pdesc 479 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_to_cpu(*(__pdesc + 6)); __pdesc 482 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline u32 get_rx_desc_buff_addr64(__le32 *__pdesc) __pdesc 484 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h return le32_to_cpu(*(__pdesc + 7)); __pdesc 487 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __pdesc 489 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __pdesc 492 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void set_rx_desc_buff_addr64(__le32 *__pdesc, u32 __val) __pdesc 494 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h *(__pdesc + 7) = cpu_to_le32(__val); __pdesc 549 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) __pdesc 552 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h memset(__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); __pdesc 554 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/trx.h memset(__pdesc, 0, _size); __pdesc 19 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __pdesc 21 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __pdesc 26 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __pdesc 29 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __pdesc 31 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __pdesc 36 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __pdesc 39 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __pdesc 41 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __pdesc 46 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __pdesc 51 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 56 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_tx_desc_own(__le32 *__pdesc) __pdesc 61 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __pdesc 66 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(4, 0)); __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_agg_break(__le32 *__pdesc, u32 __val) __pdesc 71 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(5)); __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __pdesc 76 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(7)); __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __pdesc 81 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __pdesc 86 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(19, 16)); __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __pdesc 91 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __pdesc 96 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __pdesc 101 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __pdesc 106 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); __pdesc 109 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_pkt_id(__le32 *__pdesc, u32 __val) __pdesc 111 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(31, 28)); __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __pdesc 116 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(4, 0)); __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_qos(__le32 *__pdesc, u32 __val) __pdesc 121 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(6)); __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __pdesc 126 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(7)); __pdesc 129 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __pdesc 131 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(8)); __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __pdesc 136 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(10)); __pdesc 139 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __pdesc 141 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(11)); __pdesc 144 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 146 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(12)); __pdesc 149 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 151 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(13)); __pdesc 154 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __pdesc 156 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(21, 20)); __pdesc 159 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __pdesc 161 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(25)); __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __pdesc 166 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(26)); __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) __pdesc 171 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(27)); __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __pdesc 176 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(29, 28)); __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) __pdesc 181 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(31, 30)); __pdesc 184 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 186 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); __pdesc 189 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __pdesc 191 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(6)); __pdesc 194 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 196 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(12, 8)); __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 201 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __pdesc 204 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __pdesc 206 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 6), __val, GENMASK(15, 11)); __pdesc 209 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __pdesc 211 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __pdesc 214 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __pdesc 216 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h *(__pdesc + 8) = cpu_to_le32(__val); __pdesc 219 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline u32 get_tx_desc_tx_buffer_address(__le32 *__pdesc) __pdesc 221 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_to_cpu(*((__pdesc + 8))); __pdesc 224 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __pdesc 226 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __pdesc 229 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_pkt_len(__le32 *__pdesc) __pdesc 231 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), GENMASK(13, 0)); __pdesc 234 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_crc32(__le32 *__pdesc) __pdesc 236 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), BIT(14)); __pdesc 239 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_icv(__le32 *__pdesc) __pdesc 241 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), BIT(15)); __pdesc 244 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_drv_info_size(__le32 *__pdesc) __pdesc 246 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), GENMASK(19, 16)); __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_shift(__le32 *__pdesc) __pdesc 251 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), GENMASK(25, 24)); __pdesc 254 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_physt(__le32 *__pdesc) __pdesc 256 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), BIT(26)); __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_swdec(__le32 *__pdesc) __pdesc 261 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), BIT(27)); __pdesc 264 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_own(__le32 *__pdesc) __pdesc 266 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 269 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __pdesc 271 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __pdesc 274 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __pdesc 276 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __pdesc 279 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 281 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 284 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_paggr(__le32 *__pdesc) __pdesc 286 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*((__pdesc + 1)), BIT(14)); __pdesc 289 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_faggr(__le32 *__pdesc) __pdesc 291 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*((__pdesc + 1)), BIT(15)); __pdesc 294 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_rxmcs(__le32 *__pdesc) __pdesc 296 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*((__pdesc + 3)), GENMASK(5, 0)); __pdesc 299 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_rxht(__le32 *__pdesc) __pdesc 301 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*((__pdesc + 3)), BIT(6)); __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_splcp(__le32 *__pdesc) __pdesc 306 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*((__pdesc + 3)), BIT(8)); __pdesc 309 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline int get_rx_desc_bw(__le32 *__pdesc) __pdesc 311 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_get_bits(*((__pdesc + 3)), BIT(9)); __pdesc 314 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline u32 get_rx_desc_tsfl(__le32 *__pdesc) __pdesc 316 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_to_cpu(*((__pdesc + 5))); __pdesc 319 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline u32 get_rx_desc_buff_addr(__le32 *__pdesc) __pdesc 321 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h return le32_to_cpu(*((__pdesc + 6))); __pdesc 324 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __pdesc 326 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __pdesc 329 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) __pdesc 331 drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h memset(__pdesc, 0, min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET)); __pdesc 343 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 345 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); __pdesc 348 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __pdesc 350 drivers/net/wireless/realtek/rtlwifi/rtl8192cu/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(6)); __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ __pdesc 25 drivers/net/wireless/realtek/rtlwifi/rtl8192de/fw.h ((le32_to_cpu(*(((__le32 *)(__pdesc)))) >> (__shift)) & \ __pdesc 22 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ __pdesc 23 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h ((le32_to_cpu(*(((__le32 *)(__pdesc)))) >> (__shift)) & \ __pdesc 33 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h (*(__le32 *)(__pdesc) = \ __pdesc 35 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h (cpu_to_le32((le32_to_cpu(*((__le32 *)(__pdesc))) & \ __pdesc 41 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ __pdesc 42 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val) __pdesc 43 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_OFFSET(__pdesc, __val) \ __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val) __pdesc 45 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_BMC(__pdesc, __val) \ __pdesc 46 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val) __pdesc 47 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_HTC(__pdesc, __val) \ __pdesc 48 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val) __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ __pdesc 50 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) __pdesc 51 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_FIRST_SEG(__pdesc, __val) \ __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 27, 1, __val) __pdesc 53 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_LINIP(__pdesc, __val) \ __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 28, 1, __val) __pdesc 55 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NO_ACM(__pdesc, __val) \ __pdesc 56 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 29, 1, __val) __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_GF(__pdesc, __val) \ __pdesc 58 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_OWN(__pdesc, __val) \ __pdesc 60 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_PKT_SIZE(__pdesc) \ __pdesc 63 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 0, 16) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_OFFSET(__pdesc) \ __pdesc 65 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 16, 8) __pdesc 66 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_BMC(__pdesc) \ __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 24, 1) __pdesc 68 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_HTC(__pdesc) \ __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 25, 1) __pdesc 70 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_LAST_SEG(__pdesc) \ __pdesc 71 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 26, 1) __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_FIRST_SEG(__pdesc) \ __pdesc 73 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 27, 1) __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_LINIP(__pdesc) \ __pdesc 75 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 28, 1) __pdesc 76 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_NO_ACM(__pdesc) \ __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 29, 1) __pdesc 78 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_GF(__pdesc) \ __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 30, 1) __pdesc 80 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_OWN(__pdesc) \ __pdesc 81 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 31, 1) __pdesc 83 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MACID(__pdesc, __val) \ __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 0, 5, __val) __pdesc 85 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_AGG_ENABLE(__pdesc, __val) \ __pdesc 86 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 5, 1, __val) __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_BK(__pdesc, __val) \ __pdesc 88 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 6, 1, __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RDG_ENABLE(__pdesc, __val) \ __pdesc 90 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 7, 1, __val) __pdesc 91 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_QUEUE_SEL(__pdesc, __val) \ __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 8, 5, __val) __pdesc 93 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RDG_NAV_EXT(__pdesc, __val) \ __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 13, 1, __val) __pdesc 95 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_LSIG_TXOP_EN(__pdesc, __val) \ __pdesc 96 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 14, 1, __val) __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PIFS(__pdesc, __val) \ __pdesc 98 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 15, 1, __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RATE_ID(__pdesc, __val) \ __pdesc 100 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 16, 4, __val) __pdesc 101 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NAV_USE_HDR(__pdesc, __val) \ __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 20, 1, __val) __pdesc 103 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_EN_DESC_ID(__pdesc, __val) \ __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 21, 1, __val) __pdesc 105 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_SEC_TYPE(__pdesc, __val) \ __pdesc 106 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 22, 2, __val) __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PKT_OFFSET(__pdesc, __val) \ __pdesc 108 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+4, 26, 8, __val) __pdesc 110 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MACID(__pdesc) \ __pdesc 111 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 0, 5) __pdesc 112 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_AGG_ENABLE(__pdesc) \ __pdesc 113 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 5, 1) __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_AGG_BREAK(__pdesc) \ __pdesc 115 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 6, 1) __pdesc 116 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RDG_ENABLE(__pdesc) \ __pdesc 117 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 7, 1) __pdesc 118 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_QUEUE_SEL(__pdesc) \ __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 8, 5) __pdesc 120 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RDG_NAV_EXT(__pdesc) \ __pdesc 121 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 13, 1) __pdesc 122 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_LSIG_TXOP_EN(__pdesc) \ __pdesc 123 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 14, 1) __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_PIFS(__pdesc) \ __pdesc 125 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 15, 1) __pdesc 126 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RATE_ID(__pdesc) \ __pdesc 127 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 16, 4) __pdesc 128 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_NAV_USE_HDR(__pdesc) \ __pdesc 129 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 20, 1) __pdesc 130 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_EN_DESC_ID(__pdesc) \ __pdesc 131 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 21, 1) __pdesc 132 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_SEC_TYPE(__pdesc) \ __pdesc 133 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 22, 2) __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_PKT_OFFSET(__pdesc) \ __pdesc 135 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 24, 8) __pdesc 137 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_RC(__pdesc, __val) \ __pdesc 138 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 0, 6, __val) __pdesc 139 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_RC(__pdesc, __val) \ __pdesc 140 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 6, 6, __val) __pdesc 141 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_BAR_RTY_TH(__pdesc, __val) \ __pdesc 142 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 14, 2, __val) __pdesc 143 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MORE_FRAG(__pdesc, __val) \ __pdesc 144 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 17, 1, __val) __pdesc 145 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RAW(__pdesc, __val) \ __pdesc 146 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 18, 1, __val) __pdesc 147 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CCX(__pdesc, __val) \ __pdesc 148 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 19, 1, __val) __pdesc 149 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_AMPDU_DENSITY(__pdesc, __val) \ __pdesc 150 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 20, 3, __val) __pdesc 151 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_ANTSEL_A(__pdesc, __val) \ __pdesc 152 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 24, 1, __val) __pdesc 153 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_ANTSEL_B(__pdesc, __val) \ __pdesc 154 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 25, 1, __val) __pdesc 155 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_ANT_CCK(__pdesc, __val) \ __pdesc 156 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 26, 2, __val) __pdesc 157 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_ANTL(__pdesc, __val) \ __pdesc 158 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 28, 2, __val) __pdesc 159 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_ANT_HT(__pdesc, __val) \ __pdesc 160 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+8, 30, 2, __val) __pdesc 162 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_RC(__pdesc) \ __pdesc 163 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 0, 6) __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DATA_RC(__pdesc) \ __pdesc 165 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 6, 6) __pdesc 166 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_BAR_RTY_TH(__pdesc) \ __pdesc 167 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 14, 2) __pdesc 168 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MORE_FRAG(__pdesc) \ __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 17, 1) __pdesc 170 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RAW(__pdesc) \ __pdesc 171 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 18, 1) __pdesc 172 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_CCX(__pdesc) \ __pdesc 173 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 19, 1) __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_AMPDU_DENSITY(__pdesc) \ __pdesc 175 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 20, 3) __pdesc 176 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_ANTSEL_A(__pdesc) \ __pdesc 177 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 24, 1) __pdesc 178 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_ANTSEL_B(__pdesc) \ __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 25, 1) __pdesc 180 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_ANT_CCK(__pdesc) \ __pdesc 181 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 26, 2) __pdesc 182 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_ANTL(__pdesc) \ __pdesc 183 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 28, 2) __pdesc 184 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_ANT_HT(__pdesc) \ __pdesc 185 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 30, 2) __pdesc 187 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NEXT_HEAP_PAGE(__pdesc, __val) \ __pdesc 188 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 0, 8, __val) __pdesc 189 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TAIL_PAGE(__pdesc, __val) \ __pdesc 190 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 8, 8, __val) __pdesc 191 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_SEQ(__pdesc, __val) \ __pdesc 192 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 16, 12, __val) __pdesc 193 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PKT_ID(__pdesc, __val) \ __pdesc 194 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+12, 28, 4, __val) __pdesc 196 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_NEXT_HEAP_PAGE(__pdesc) \ __pdesc 197 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 0, 8) __pdesc 198 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TAIL_PAGE(__pdesc) \ __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 8, 8) __pdesc 200 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_SEQ(__pdesc) \ __pdesc 201 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 16, 12) __pdesc 202 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_PKT_ID(__pdesc) \ __pdesc 203 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 28, 4) __pdesc 205 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_RATE(__pdesc, __val) \ __pdesc 206 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 0, 5, __val) __pdesc 207 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_AP_DCFE(__pdesc, __val) \ __pdesc 208 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 5, 1, __val) __pdesc 209 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_QOS(__pdesc, __val) \ __pdesc 210 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 6, 1, __val) __pdesc 211 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_HWSEQ_EN(__pdesc, __val) \ __pdesc 212 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 7, 1, __val) __pdesc 213 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_USE_RATE(__pdesc, __val) \ __pdesc 214 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 8, 1, __val) __pdesc 215 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DISABLE_RTS_FB(__pdesc, __val) \ __pdesc 216 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 9, 1, __val) __pdesc 217 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DISABLE_FB(__pdesc, __val) \ __pdesc 218 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 10, 1, __val) __pdesc 219 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CTS2SELF(__pdesc, __val) \ __pdesc 220 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 11, 1, __val) __pdesc 221 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_ENABLE(__pdesc, __val) \ __pdesc 222 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 12, 1, __val) __pdesc 223 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_HW_RTS_ENABLE(__pdesc, __val) \ __pdesc 224 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 13, 1, __val) __pdesc 225 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_PORT_ID(__pdesc, __val) \ __pdesc 226 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 14, 1, __val) __pdesc 227 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_WAIT_DCTS(__pdesc, __val) \ __pdesc 228 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 18, 1, __val) __pdesc 229 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CTS2AP_EN(__pdesc, __val) \ __pdesc 230 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 19, 1, __val) __pdesc 231 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_SUB_CARRIER(__pdesc, __val) \ __pdesc 232 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 20, 2, __val) __pdesc 233 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_STBC(__pdesc, __val) \ __pdesc 234 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 22, 2, __val) __pdesc 235 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_SHORT(__pdesc, __val) \ __pdesc 236 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 24, 1, __val) __pdesc 237 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_BW(__pdesc, __val) \ __pdesc 238 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 25, 1, __val) __pdesc 239 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_SHORT(__pdesc, __val) \ __pdesc 240 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 26, 1, __val) __pdesc 241 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_BW(__pdesc, __val) \ __pdesc 242 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 27, 1, __val) __pdesc 243 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_SC(__pdesc, __val) \ __pdesc 244 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 28, 2, __val) __pdesc 245 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_STBC(__pdesc, __val) \ __pdesc 246 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+16, 30, 2, __val) __pdesc 248 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_RATE(__pdesc) \ __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 0, 5) __pdesc 250 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_AP_DCFE(__pdesc) \ __pdesc 251 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 5, 1) __pdesc 252 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_QOS(__pdesc) \ __pdesc 253 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 6, 1) __pdesc 254 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_HWSEQ_EN(__pdesc) \ __pdesc 255 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 7, 1) __pdesc 256 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_USE_RATE(__pdesc) \ __pdesc 257 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 8, 1) __pdesc 258 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DISABLE_RTS_FB(__pdesc) \ __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 9, 1) __pdesc 260 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DISABLE_FB(__pdesc) \ __pdesc 261 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 10, 1) __pdesc 262 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_CTS2SELF(__pdesc) \ __pdesc 263 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 11, 1) __pdesc 264 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_ENABLE(__pdesc) \ __pdesc 265 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 12, 1) __pdesc 266 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_HW_RTS_ENABLE(__pdesc) \ __pdesc 267 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 13, 1) __pdesc 268 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_PORT_ID(__pdesc) \ __pdesc 269 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 14, 1) __pdesc 270 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_WAIT_DCTS(__pdesc) \ __pdesc 271 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 18, 1) __pdesc 272 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_CTS2AP_EN(__pdesc) \ __pdesc 273 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 19, 1) __pdesc 274 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_SUB_CARRIER(__pdesc) \ __pdesc 275 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 20, 2) __pdesc 276 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_STBC(__pdesc) \ __pdesc 277 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 22, 2) __pdesc 278 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DATA_SHORT(__pdesc) \ __pdesc 279 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 24, 1) __pdesc 280 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DATA_BW(__pdesc) \ __pdesc 281 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 25, 1) __pdesc 282 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_SHORT(__pdesc) \ __pdesc 283 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 26, 1) __pdesc 284 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_BW(__pdesc) \ __pdesc 285 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 27, 1) __pdesc 286 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_SC(__pdesc) \ __pdesc 287 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 28, 2) __pdesc 288 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_STBC(__pdesc) \ __pdesc 289 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 30, 2) __pdesc 291 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_RATE(__pdesc, __val) \ __pdesc 292 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 0, 6, __val) __pdesc 293 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_SHORTGI(__pdesc, __val) \ __pdesc 294 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 6, 1, __val) __pdesc 295 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_CCX_TAG(__pdesc, __val) \ __pdesc 296 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 7, 1, __val) __pdesc 297 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_RATE_FB_LIMIT(__pdesc, __val) \ __pdesc 298 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 8, 5, __val) __pdesc 299 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RTS_RATE_FB_LIMIT(__pdesc, __val) \ __pdesc 300 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 13, 4, __val) __pdesc 301 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_RETRY_LIMIT_ENABLE(__pdesc, __val) \ __pdesc 302 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 17, 1, __val) __pdesc 303 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_DATA_RETRY_LIMIT(__pdesc, __val) \ __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 18, 6, __val) __pdesc 305 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_USB_TXAGG_NUM(__pdesc, __val) \ __pdesc 306 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+20, 24, 8, __val) __pdesc 308 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_RATE(__pdesc) \ __pdesc 309 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 0, 6) __pdesc 310 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DATA_SHORTGI(__pdesc) \ __pdesc 311 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 6, 1) __pdesc 312 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_CCX_TAG(__pdesc) \ __pdesc 313 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 7, 1) __pdesc 314 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DATA_RATE_FB_LIMIT(__pdesc) \ __pdesc 315 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 8, 5) __pdesc 316 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RTS_RATE_FB_LIMIT(__pdesc) \ __pdesc 317 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 13, 4) __pdesc 318 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_RETRY_LIMIT_ENABLE(__pdesc) \ __pdesc 319 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 17, 1) __pdesc 320 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_DATA_RETRY_LIMIT(__pdesc) \ __pdesc 321 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 18, 6) __pdesc 322 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_USB_TXAGG_NUM(__pdesc) \ __pdesc 323 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 24, 8) __pdesc 325 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TXAGC_A(__pdesc, __val) \ __pdesc 326 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 0, 5, __val) __pdesc 327 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TXAGC_B(__pdesc, __val) \ __pdesc 328 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 5, 5, __val) __pdesc 329 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_USE_MAX_LEN(__pdesc, __val) \ __pdesc 330 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 10, 1, __val) __pdesc 331 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MAX_AGG_NUM(__pdesc, __val) \ __pdesc 332 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 11, 5, __val) __pdesc 333 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG1_MAX_LEN(__pdesc, __val) \ __pdesc 334 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 16, 4, __val) __pdesc 335 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG2_MAX_LEN(__pdesc, __val) \ __pdesc 336 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 20, 4, __val) __pdesc 337 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG3_MAX_LEN(__pdesc, __val) \ __pdesc 338 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 24, 4, __val) __pdesc 339 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCS7_SGI_MAX_LEN(__pdesc, __val) \ __pdesc 340 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 28, 4, __val) __pdesc 342 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TXAGC_A(__pdesc) \ __pdesc 343 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 0, 5) __pdesc 344 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TXAGC_B(__pdesc) \ __pdesc 345 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 5, 5) __pdesc 346 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_USE_MAX_LEN(__pdesc) \ __pdesc 347 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 10, 1) __pdesc 348 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MAX_AGG_NUM(__pdesc) \ __pdesc 349 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 11, 5) __pdesc 350 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCSG1_MAX_LEN(__pdesc) \ __pdesc 351 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 16, 4) __pdesc 352 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCSG2_MAX_LEN(__pdesc) \ __pdesc 353 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 20, 4) __pdesc 354 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCSG3_MAX_LEN(__pdesc) \ __pdesc 355 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 24, 4) __pdesc 356 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCS7_SGI_MAX_LEN(__pdesc) \ __pdesc 357 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 28, 4) __pdesc 359 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_BUFFER_SIZE(__pdesc, __val) \ __pdesc 360 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 0, 16, __val) __pdesc 361 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG4_MAX_LEN(__pdesc, __val) \ __pdesc 362 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 16, 4, __val) __pdesc 363 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG5_MAX_LEN(__pdesc, __val) \ __pdesc 364 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 20, 4, __val) __pdesc 365 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCSG6_MAX_LEN(__pdesc, __val) \ __pdesc 366 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 24, 4, __val) __pdesc 367 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_MCS15_SGI_MAX_LEN(__pdesc, __val) \ __pdesc 368 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 28, 4, __val) __pdesc 370 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_BUFFER_SIZE(__pdesc) \ __pdesc 371 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+28, 0, 16) __pdesc 372 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCSG4_MAX_LEN(__pdesc) \ __pdesc 373 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+28, 16, 4) __pdesc 374 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCSG5_MAX_LEN(__pdesc) \ __pdesc 375 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+28, 20, 4) __pdesc 376 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCSG6_MAX_LEN(__pdesc) \ __pdesc 377 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+28, 24, 4) __pdesc 378 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_MCS15_SGI_MAX_LEN(__pdesc) \ __pdesc 379 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+28, 28, 4) __pdesc 381 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_BUFFER_ADDRESS(__pdesc, __val) \ __pdesc 382 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+32, 0, 32, __val) __pdesc 383 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_TX_BUFFER_ADDRESS64(__pdesc, __val) \ __pdesc 384 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+36, 0, 32, __val) __pdesc 386 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_BUFFER_ADDRESS(__pdesc) \ __pdesc 387 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+32, 0, 32) __pdesc 388 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_TX_BUFFER_ADDRESS64(__pdesc) \ __pdesc 389 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+36, 0, 32) __pdesc 391 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NEXT_DESC_ADDRESS(__pdesc, __val) \ __pdesc 392 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+40, 0, 32, __val) __pdesc 393 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_TX_DESC_NEXT_DESC_ADDRESS64(__pdesc, __val) \ __pdesc 394 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+44, 0, 32, __val) __pdesc 396 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_NEXT_DESC_ADDRESS(__pdesc) \ __pdesc 397 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+40, 0, 32) __pdesc 398 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_TX_DESC_NEXT_DESC_ADDRESS64(__pdesc) \ __pdesc 399 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+44, 0, 32) __pdesc 401 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_PKT_LEN(__pdesc) \ __pdesc 402 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 0, 14) __pdesc 403 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_CRC32(__pdesc) \ __pdesc 404 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 14, 1) __pdesc 405 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_ICV(__pdesc) \ __pdesc 406 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 15, 1) __pdesc 407 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_DRV_INFO_SIZE(__pdesc) \ __pdesc 408 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 16, 4) __pdesc 409 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_SECURITY(__pdesc) \ __pdesc 410 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 20, 3) __pdesc 411 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_QOS(__pdesc) \ __pdesc 412 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 23, 1) __pdesc 413 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_SHIFT(__pdesc) \ __pdesc 414 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 24, 2) __pdesc 415 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_PHYST(__pdesc) \ __pdesc 416 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 26, 1) __pdesc 417 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_SWDEC(__pdesc) \ __pdesc 418 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 27, 1) __pdesc 419 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_LS(__pdesc) \ __pdesc 420 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 28, 1) __pdesc 421 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_FS(__pdesc) \ __pdesc 422 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 29, 1) __pdesc 423 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_EOR(__pdesc) \ __pdesc 424 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 30, 1) __pdesc 425 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_OWN(__pdesc) \ __pdesc 426 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc, 31, 1) __pdesc 428 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_PKT_LEN(__pdesc, __val) \ __pdesc 429 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 0, 14, __val) __pdesc 430 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_EOR(__pdesc, __val) \ __pdesc 431 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __pdesc 432 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_OWN(__pdesc, __val) \ __pdesc 433 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __pdesc 435 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_MACID(__pdesc) \ __pdesc 436 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 0, 5) __pdesc 437 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_TID(__pdesc) \ __pdesc 438 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 5, 4) __pdesc 439 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_HWRSVD(__pdesc) \ __pdesc 440 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 9, 5) __pdesc 441 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_PAGGR(__pdesc) \ __pdesc 442 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 14, 1) __pdesc 443 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_FAGGR(__pdesc) \ __pdesc 444 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 15, 1) __pdesc 445 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_A1_FIT(__pdesc) \ __pdesc 446 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 16, 4) __pdesc 447 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_A2_FIT(__pdesc) \ __pdesc 448 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 20, 4) __pdesc 449 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_PAM(__pdesc) \ __pdesc 450 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 24, 1) __pdesc 451 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_PWR(__pdesc) \ __pdesc 452 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 25, 1) __pdesc 453 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_MD(__pdesc) \ __pdesc 454 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 26, 1) __pdesc 455 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_MF(__pdesc) \ __pdesc 456 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 27, 1) __pdesc 457 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_TYPE(__pdesc) \ __pdesc 458 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 28, 2) __pdesc 459 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_MC(__pdesc) \ __pdesc 460 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 30, 1) __pdesc 461 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_BC(__pdesc) \ __pdesc 462 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+4, 31, 1) __pdesc 463 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_SEQ(__pdesc) \ __pdesc 464 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 0, 12) __pdesc 465 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_FRAG(__pdesc) \ __pdesc 466 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 12, 4) __pdesc 467 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_NEXT_PKT_LEN(__pdesc) \ __pdesc 468 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 16, 14) __pdesc 469 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_NEXT_IND(__pdesc) \ __pdesc 470 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 30, 1) __pdesc 471 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_RSVD(__pdesc) \ __pdesc 472 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+8, 31, 1) __pdesc 474 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_RXMCS(__pdesc) \ __pdesc 475 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 0, 6) __pdesc 476 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_RXHT(__pdesc) \ __pdesc 477 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 6, 1) __pdesc 478 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_SPLCP(__pdesc) \ __pdesc 479 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 8, 1) __pdesc 480 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_BW(__pdesc) \ __pdesc 481 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 9, 1) __pdesc 482 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_HTC(__pdesc) \ __pdesc 483 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 10, 1) __pdesc 484 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_HWPC_ERR(__pdesc) \ __pdesc 485 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 14, 1) __pdesc 486 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_HWPC_IND(__pdesc) \ __pdesc 487 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 15, 1) __pdesc 488 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_IV0(__pdesc) \ __pdesc 489 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+12, 16, 16) __pdesc 491 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_IV1(__pdesc) \ __pdesc 492 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+16, 0, 32) __pdesc 493 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_TSFL(__pdesc) \ __pdesc 494 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+20, 0, 32) __pdesc 496 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_BUFF_ADDR(__pdesc) \ __pdesc 497 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+24, 0, 32) __pdesc 498 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define GET_RX_DESC_BUFF_ADDR64(__pdesc) \ __pdesc 499 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SHIFT_AND_MASK_LE(__pdesc+28, 0, 32) __pdesc 501 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_BUFF_ADDR(__pdesc, __val) \ __pdesc 502 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+24, 0, 32, __val) __pdesc 503 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define SET_RX_DESC_BUFF_ADDR64(__pdesc, __val) \ __pdesc 504 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h SET_BITS_OFFSET_LE(__pdesc+28, 0, 32, __val) __pdesc 506 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ __pdesc 507 drivers/net/wireless/realtek/rtlwifi/rtl8192de/trx.h memset((void *)__pdesc, 0, \ __pdesc 17 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __pdesc 19 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __pdesc 22 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __pdesc 27 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __pdesc 29 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __pdesc 32 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __pdesc 37 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __pdesc 39 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __pdesc 42 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __pdesc 47 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_tx_desc_own(__le32 *__pdesc) __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(6, 0)); __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(20, 16)); __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __pdesc 82 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(28, 24)); __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(12)); __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(13)); __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __pdesc 109 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(8)); __pdesc 112 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(10)); __pdesc 117 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(11)); __pdesc 122 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(12)); __pdesc 127 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 129 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(13)); __pdesc 132 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(15)); __pdesc 137 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __pdesc 139 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(21, 17)); __pdesc 143 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 145 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 0)); __pdesc 148 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 150 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(12, 8)); __pdesc 153 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 155 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(16, 13)); __pdesc 158 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __pdesc 160 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(28, 24)); __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __pdesc 166 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(3, 0)); __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __pdesc 171 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 5)); __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __pdesc 176 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(12)); __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __pdesc 181 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __pdesc 185 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __pdesc 187 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __pdesc 191 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __pdesc 193 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 9), __val, GENMASK(23, 12)); __pdesc 197 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __pdesc 203 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __pdesc 205 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 12) = cpu_to_le32(__val); __pdesc 246 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_txbuffer_desc_len_with_offset(__le32 *__pdesc, __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4 * __offset), __val, __pdesc 253 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_txbuffer_desc_amsdu_with_offset(__le32 *__pdesc, __pdesc 256 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits((__pdesc + 4 * __offset), __val, BIT(31)); __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_txbuffer_desc_add_low_with_offset(__le32 *__pdesc, __pdesc 263 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 4 * __offset + 1) = cpu_to_le32(__val); __pdesc 275 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline u32 get_txbuffer_desc_addr_low(__le32 *__pdesc, u8 __offset) __pdesc 277 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_to_cpu(*((__pdesc + 4 * __offset + 1))); __pdesc 288 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_len_0(__le32 *__pdesc, u32 __val) __pdesc 290 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __pdesc 293 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_psb(__le32 *__pdesc, u32 __val) __pdesc 295 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(30, 16)); __pdesc 298 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_own(__le32 *__pdesc, u32 __val) __pdesc 300 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_tx_buff_desc_addr_low_0(__le32 *__pdesc, u32 __val) __pdesc 306 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h *(__pdesc + 1) = cpu_to_le32(__val); __pdesc 373 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_pkt_len(__le32 *__pdesc) __pdesc 375 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, GENMASK(13, 0)); __pdesc 378 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_crc32(__le32 *__pdesc) __pdesc 380 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, BIT(14)); __pdesc 383 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_icv(__le32 *__pdesc) __pdesc 385 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, BIT(15)); __pdesc 388 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_drv_info_size(__le32 *__pdesc) __pdesc 390 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, GENMASK(19, 16)); __pdesc 393 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_shift(__le32 *__pdesc) __pdesc 395 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, GENMASK(25, 24)); __pdesc 398 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_physt(__le32 *__pdesc) __pdesc 400 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, BIT(26)); __pdesc 403 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_swdec(__le32 *__pdesc) __pdesc 405 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, BIT(27)); __pdesc 408 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_own(__le32 *__pdesc) __pdesc 410 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*__pdesc, BIT(31)); __pdesc 413 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __pdesc 415 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __pdesc 418 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_macid(__le32 *__pdesc) __pdesc 420 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(6, 0)); __pdesc 423 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_paggr(__le32 *__pdesc) __pdesc 425 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 1), BIT(15)); __pdesc 428 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_status_desc_rpt_sel(__le32 *__pdesc) __pdesc 430 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 2), BIT(28)); __pdesc 433 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_desc_rxmcs(__le32 *__pdesc) __pdesc 435 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(6, 0)); __pdesc 438 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_status_desc_pattern_match(__le32 *__pdesc) __pdesc 440 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(29)); __pdesc 443 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_status_desc_unicast_match(__le32 *__pdesc) __pdesc 445 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(30)); __pdesc 448 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline int get_rx_status_desc_magic_match(__le32 *__pdesc) __pdesc 450 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_get_bits(*(__pdesc + 3), BIT(31)); __pdesc 453 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline u32 get_rx_desc_tsfl(__le32 *__pdesc) __pdesc 455 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_to_cpu(*((__pdesc + 5))); __pdesc 458 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline u32 get_rx_desc_buff_addr(__le32 *__pdesc) __pdesc 460 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h return le32_to_cpu(*((__pdesc + 6))); __pdesc 475 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) __pdesc 478 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h memset(__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); __pdesc 480 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/trx.h memset(__pdesc, 0, _size); __pdesc 32 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ __pdesc 33 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h ((le32_to_cpu(*(((__le32 *)(__pdesc)))) >> (__shift)) & \ __pdesc 43 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h (*(__le32 *)(__pdesc) = \ __pdesc 45 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h (cpu_to_le32((le32_to_cpu(*((__le32 *)(__pdesc))) & \ __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ __pdesc 53 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val) __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OFFSET(__pdesc, __val) \ __pdesc 55 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val) __pdesc 56 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TYPE(__pdesc, __val) \ __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val) __pdesc 58 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) __pdesc 60 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_FIRST_SEG(__pdesc, __val) \ __pdesc 61 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 27, 1, __val) __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_LINIP(__pdesc, __val) \ __pdesc 63 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 28, 1, __val) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_AMSDU(__pdesc, __val) \ __pdesc 65 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 29, 1, __val) __pdesc 66 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_GREEN_FIELD(__pdesc, __val) \ __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __pdesc 68 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OWN(__pdesc, __val) \ __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __pdesc 71 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_TX_DESC_OWN(__pdesc) \ __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 31, 1) __pdesc 75 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_MACID(__pdesc, __val) \ __pdesc 76 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 0, 5, __val) __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_MORE_DATA(__pdesc, __val) \ __pdesc 78 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 5, 1, __val) __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_MORE_FRAG(__pdesc, __val) \ __pdesc 80 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 6, 1, __val) __pdesc 81 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PIFS(__pdesc, __val) \ __pdesc 82 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 7, 1, __val) __pdesc 83 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_QUEUE_SEL(__pdesc, __val) \ __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 8, 5, __val) __pdesc 85 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_ACK_POLICY(__pdesc, __val) \ __pdesc 86 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 13, 2, __val) __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NO_ACM(__pdesc, __val) \ __pdesc 88 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 15, 1, __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NON_QOS(__pdesc, __val) \ __pdesc 90 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 16, 1, __val) __pdesc 91 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_KEY_ID(__pdesc, __val) \ __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 17, 2, __val) __pdesc 93 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OUI(__pdesc, __val) \ __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 19, 1, __val) __pdesc 95 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PKT_TYPE(__pdesc, __val) \ __pdesc 96 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 20, 1, __val) __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_EN_DESC_ID(__pdesc, __val) \ __pdesc 98 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 21, 1, __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_SEC_TYPE(__pdesc, __val) \ __pdesc 100 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 22, 2, __val) __pdesc 101 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_WDS(__pdesc, __val) \ __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 24, 1, __val) __pdesc 103 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_HTC(__pdesc, __val) \ __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 25, 1, __val) __pdesc 105 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PKT_OFFSET(__pdesc, __val) \ __pdesc 106 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 26, 5, __val) __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_HWPC(__pdesc, __val) \ __pdesc 108 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 27, 1, __val) __pdesc 111 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DATA_RETRY_LIMIT(__pdesc, __val) \ __pdesc 112 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 0, 6, __val) __pdesc 113 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RETRY_LIMIT_ENABLE(__pdesc, __val) \ __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 6, 1, __val) __pdesc 115 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TSFL(__pdesc, __val) \ __pdesc 116 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 7, 5, __val) __pdesc 117 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_RETRY_COUNT(__pdesc, __val) \ __pdesc 118 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 12, 6, __val) __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DATA_RETRY_COUNT(__pdesc, __val) \ __pdesc 120 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 18, 6, __val) __pdesc 121 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RSVD_MACID(__pdesc, __val) \ __pdesc 122 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(((__pdesc) + 8), 24, 5, __val) __pdesc 123 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_AGG_ENABLE(__pdesc, __val) \ __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 29, 1, __val) __pdesc 125 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_AGG_BREAK(__pdesc, __val) \ __pdesc 126 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 30, 1, __val) __pdesc 127 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_OWN_MAC(__pdesc, __val) \ __pdesc 128 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 31, 1, __val) __pdesc 131 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NEXT_HEAP_PAGE(__pdesc, __val) \ __pdesc 132 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 0, 8, __val) __pdesc 133 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TAIL_PAGE(__pdesc, __val) \ __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 8, 8, __val) __pdesc 135 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_SEQ(__pdesc, __val) \ __pdesc 136 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 16, 12, __val) __pdesc 137 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_FRAG(__pdesc, __val) \ __pdesc 138 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 28, 4, __val) __pdesc 141 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_RATE(__pdesc, __val) \ __pdesc 142 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 0, 6, __val) __pdesc 143 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DISABLE_RTS_FB(__pdesc, __val) \ __pdesc 144 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 6, 1, __val) __pdesc 145 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_RATE_FB_LIMIT(__pdesc, __val) \ __pdesc 146 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 7, 4, __val) __pdesc 147 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_CTS_ENABLE(__pdesc, __val) \ __pdesc 148 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 11, 1, __val) __pdesc 149 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_ENABLE(__pdesc, __val) \ __pdesc 150 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 12, 1, __val) __pdesc 151 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RA_BRSR_ID(__pdesc, __val) \ __pdesc 152 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 13, 3, __val) __pdesc 153 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TXHT(__pdesc, __val) \ __pdesc 154 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 16, 1, __val) __pdesc 155 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_SHORT(__pdesc, __val) \ __pdesc 156 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 17, 1, __val) __pdesc 157 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_BANDWIDTH(__pdesc, __val) \ __pdesc 158 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 18, 1, __val) __pdesc 159 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_SUB_CARRIER(__pdesc, __val) \ __pdesc 160 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 19, 2, __val) __pdesc 161 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_STBC(__pdesc, __val) \ __pdesc 162 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 21, 2, __val) __pdesc 163 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_REVERSE_DIRECTION(__pdesc, __val) \ __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 23, 1, __val) __pdesc 165 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_HT(__pdesc, __val) \ __pdesc 166 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 24, 1, __val) __pdesc 167 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_SHORT(__pdesc, __val) \ __pdesc 168 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 25, 1, __val) __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_BANDWIDTH(__pdesc, __val) \ __pdesc 170 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 26, 1, __val) __pdesc 171 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_SUB_CARRIER(__pdesc, __val) \ __pdesc 172 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 27, 2, __val) __pdesc 173 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_RTS_STBC(__pdesc, __val) \ __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 29, 2, __val) __pdesc 175 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_USER_RATE(__pdesc, __val) \ __pdesc 176 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 31, 1, __val) __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_PACKET_ID(__pdesc, __val) \ __pdesc 180 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 0, 9, __val) __pdesc 181 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_RATE(__pdesc, __val) \ __pdesc 182 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 9, 6, __val) __pdesc 183 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DISABLE_FB(__pdesc, __val) \ __pdesc 184 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 15, 1, __val) __pdesc 185 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_DATA_RATE_FB_LIMIT(__pdesc, __val) \ __pdesc 186 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 16, 5, __val) __pdesc 187 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_AGC(__pdesc, __val) \ __pdesc 188 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 21, 11, __val) __pdesc 191 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_IP_CHECK_SUM(__pdesc, __val) \ __pdesc 192 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 24, 0, 16, __val) __pdesc 193 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TCP_CHECK_SUM(__pdesc, __val) \ __pdesc 194 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 24, 16, 16, __val) __pdesc 197 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_BUFFER_SIZE(__pdesc, __val) \ __pdesc 198 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 28, 0, 16, __val) __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_IP_HEADER_OFFSET(__pdesc, __val) \ __pdesc 200 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 28, 16, 8, __val) __pdesc 201 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TCP_ENABLE(__pdesc, __val) \ __pdesc 202 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 28, 31, 1, __val) __pdesc 205 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_TX_BUFFER_ADDRESS(__pdesc, __val) \ __pdesc 206 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 32, 0, 32, __val) __pdesc 207 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_TX_DESC_TX_BUFFER_ADDRESS(__pdesc) \ __pdesc 208 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 32, 0, 32) __pdesc 211 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_TX_DESC_NEXT_DESC_ADDRESS(__pdesc, __val) \ __pdesc 212 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 36, 0, 32, __val) __pdesc 221 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define CLEAR_PCI_TX_DESC_CONTENT(__pdesc, _size) \ __pdesc 222 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h memset(__pdesc, 0, min_t(size_t, _size, TX_DESC_NEXT_DESC_OFFSET)) __pdesc 229 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PKT_LEN(__pdesc, __val) \ __pdesc 230 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 0, 14, __val) __pdesc 231 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_CRC32(__pdesc, __val) \ __pdesc 232 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 14, 1, __val) __pdesc 233 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_ICV(__pdesc, __val) \ __pdesc 234 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 15, 1, __val) __pdesc 235 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_DRVINFO_SIZE(__pdesc, __val) \ __pdesc 236 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 16, 4, __val) __pdesc 237 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SECURITY(__pdesc, __val) \ __pdesc 238 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 20, 3, __val) __pdesc 239 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_QOS(__pdesc, __val) \ __pdesc 240 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 23, 1, __val) __pdesc 241 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SHIFT(__pdesc, __val) \ __pdesc 242 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val) __pdesc 243 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PHY_STATUS(__pdesc, __val) \ __pdesc 244 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) __pdesc 245 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SWDEC(__pdesc, __val) \ __pdesc 246 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 27, 1, __val) __pdesc 247 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_LAST_SEG(__pdesc, __val) \ __pdesc 248 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 28, 1, __val) __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_FIRST_SEG(__pdesc, __val) \ __pdesc 250 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 29, 1, __val) __pdesc 251 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_EOR(__pdesc, __val) \ __pdesc 252 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 30, 1, __val) __pdesc 253 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_OWN(__pdesc, __val) \ __pdesc 254 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc, 31, 1, __val) __pdesc 256 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_PKT_LEN(__pdesc) \ __pdesc 257 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 0, 14) __pdesc 258 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_CRC32(__pdesc) \ __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 14, 1) __pdesc 260 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_ICV(__pdesc) \ __pdesc 261 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 15, 1) __pdesc 262 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_DRVINFO_SIZE(__pdesc) \ __pdesc 263 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 16, 4) __pdesc 264 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_SECURITY(__pdesc) \ __pdesc 265 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 20, 3) __pdesc 266 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_QOS(__pdesc) \ __pdesc 267 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 23, 1) __pdesc 268 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_SHIFT(__pdesc) \ __pdesc 269 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 24, 2) __pdesc 270 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_PHY_STATUS(__pdesc) \ __pdesc 271 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 26, 1) __pdesc 272 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_SWDEC(__pdesc) \ __pdesc 273 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 27, 1) __pdesc 274 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_LAST_SEG(__pdesc) \ __pdesc 275 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 28, 1) __pdesc 276 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_FIRST_SEG(__pdesc) \ __pdesc 277 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 29, 1) __pdesc 278 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_EOR(__pdesc) \ __pdesc 279 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 30, 1) __pdesc 280 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_OWN(__pdesc) \ __pdesc 281 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc, 31, 1) __pdesc 284 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MACID(__pdesc, __val) \ __pdesc 285 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 0, 5, __val) __pdesc 286 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TID(__pdesc, __val) \ __pdesc 287 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 5, 4, __val) __pdesc 288 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PAGGR(__pdesc, __val) \ __pdesc 289 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 14, 1, __val) __pdesc 290 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_FAGGR(__pdesc, __val) \ __pdesc 291 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 15, 1, __val) __pdesc 292 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_A1_FIT(__pdesc, __val) \ __pdesc 293 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 16, 4, __val) __pdesc 294 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_A2_FIT(__pdesc, __val) \ __pdesc 295 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 20, 4, __val) __pdesc 296 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PAM(__pdesc, __val) \ __pdesc 297 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 24, 1, __val) __pdesc 298 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_PWR(__pdesc, __val) \ __pdesc 299 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 25, 1, __val) __pdesc 300 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MOREDATA(__pdesc, __val) \ __pdesc 301 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 26, 1, __val) __pdesc 302 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MOREFRAG(__pdesc, __val) \ __pdesc 303 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 27, 1, __val) __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TYPE(__pdesc, __val) \ __pdesc 305 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 28, 2, __val) __pdesc 306 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_MC(__pdesc, __val) \ __pdesc 307 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 30, 1, __val) __pdesc 308 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_BC(__pdesc, __val) \ __pdesc 309 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 4, 31, 1, __val) __pdesc 311 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DEC_MACID(__pdesc) \ __pdesc 312 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 0, 5) __pdesc 313 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_TID(__pdesc) \ __pdesc 314 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 5, 4) __pdesc 315 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_PAGGR(__pdesc) \ __pdesc 316 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 14, 1) __pdesc 317 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_FAGGR(__pdesc) \ __pdesc 318 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 15, 1) __pdesc 319 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_A1_FIT(__pdesc) \ __pdesc 320 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 16, 4) __pdesc 321 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_A2_FIT(__pdesc) \ __pdesc 322 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 20, 4) __pdesc 323 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_PAM(__pdesc) \ __pdesc 324 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 24, 1) __pdesc 325 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_PWR(__pdesc) \ __pdesc 326 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 25, 1) __pdesc 327 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_MORE_DATA(__pdesc) \ __pdesc 328 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 26, 1) __pdesc 329 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_MORE_FRAG(__pdesc) \ __pdesc 330 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 27, 1) __pdesc 331 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_TYPE(__pdesc) \ __pdesc 332 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 28, 2) __pdesc 333 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_MC(__pdesc) \ __pdesc 334 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 30, 1) __pdesc 335 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_BC(__pdesc) \ __pdesc 336 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 4, 31, 1) __pdesc 339 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SEQ(__pdesc, __val) \ __pdesc 340 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 0, 12, __val) __pdesc 341 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_FRAG(__pdesc, __val) \ __pdesc 342 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 12, 4, __val) __pdesc 343 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_NEXT_PKTLEN(__pdesc, __val) \ __pdesc 344 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 16, 8, __val) __pdesc 345 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_NEXT_IND(__pdesc, __val) \ __pdesc 346 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 8, 30, 1, __val) __pdesc 348 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_SEQ(__pdesc) \ __pdesc 349 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 8, 0, 12) __pdesc 350 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_FRAG(__pdesc) \ __pdesc 351 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 8, 12, 4) __pdesc 352 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_NEXT_PKTLEN(__pdesc) \ __pdesc 353 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 8, 16, 8) __pdesc 354 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_NEXT_IND(__pdesc) \ __pdesc 355 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 8, 30, 1) __pdesc 358 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_RX_MCS(__pdesc, __val) \ __pdesc 359 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 0, 6, __val) __pdesc 360 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_RX_HT(__pdesc, __val) \ __pdesc 361 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 6, 1, __val) __pdesc 362 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_AMSDU(__pdesc, __val) \ __pdesc 363 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 7, 1, __val) __pdesc 364 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_SPLCP(__pdesc, __val) \ __pdesc 365 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 8, 1, __val) __pdesc 366 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_BW(__pdesc, __val) \ __pdesc 367 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 9, 1, __val) __pdesc 368 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_HTC(__pdesc, __val) \ __pdesc 369 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 10, 1, __val) __pdesc 370 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TCP_CHK_RPT(__pdesc, __val) \ __pdesc 371 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 11, 1, __val) __pdesc 372 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_IP_CHK_RPT(__pdesc, __val) \ __pdesc 373 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 12, 1, __val) __pdesc 374 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TCP_CHK_VALID(__pdesc, __val) \ __pdesc 375 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 13, 1, __val) __pdesc 376 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_HWPC_ERR(__pdesc, __val) \ __pdesc 377 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 14, 1, __val) __pdesc 378 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_HWPC_IND(__pdesc, __val) \ __pdesc 379 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 15, 1, __val) __pdesc 380 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_IV0(__pdesc, __val) \ __pdesc 381 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 12, 16, 16, __val) __pdesc 383 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_RX_MCS(__pdesc) \ __pdesc 384 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 0, 6) __pdesc 385 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_RX_HT(__pdesc) \ __pdesc 386 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 6, 1) __pdesc 387 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_AMSDU(__pdesc) \ __pdesc 388 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 7, 1) __pdesc 389 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_SPLCP(__pdesc) \ __pdesc 390 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 8, 1) __pdesc 391 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_BW(__pdesc) \ __pdesc 392 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 9, 1) __pdesc 393 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_HTC(__pdesc) \ __pdesc 394 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 10, 1) __pdesc 395 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_TCP_CHK_RPT(__pdesc) \ __pdesc 396 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 11, 1) __pdesc 397 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_IP_CHK_RPT(__pdesc) \ __pdesc 398 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 12, 1) __pdesc 399 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_TCP_CHK_VALID(__pdesc) \ __pdesc 400 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 13, 1) __pdesc 401 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_HWPC_ERR(__pdesc) \ __pdesc 402 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 14, 1) __pdesc 403 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_HWPC_IND(__pdesc) \ __pdesc 404 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 15, 1) __pdesc 405 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_IV0(__pdesc) \ __pdesc 406 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 12, 16, 16) __pdesc 409 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_IV1(__pdesc, __val) \ __pdesc 410 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 16, 0, 32, __val) __pdesc 411 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_IV1(__pdesc) \ __pdesc 412 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 16, 0, 32) __pdesc 415 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS_DESC_TSFL(__pdesc, __val) \ __pdesc 416 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 20, 0, 32, __val) __pdesc 417 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_TSFL(__pdesc) \ __pdesc 418 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 20, 0, 32) __pdesc 421 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define SET_RX_STATUS__DESC_BUFF_ADDR(__pdesc, __val) \ __pdesc 422 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SET_BITS_OFFSET_LE(__pdesc + 24, 0, 32, __val) __pdesc 423 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h #define GET_RX_STATUS_DESC_BUFF_ADDR(__pdesc) \ __pdesc 424 drivers/net/wireless/realtek/rtlwifi/rtl8192se/def.h SHIFT_AND_MASK_LE(__pdesc + 24, 0, 32) __pdesc 17 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __pdesc 19 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __pdesc 22 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __pdesc 27 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __pdesc 29 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __pdesc 32 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __pdesc 37 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __pdesc 39 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __pdesc 42 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __pdesc 47 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_tx_desc_own(__le32 *__pdesc) __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, BIT(31)); __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(4, 0)); __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_agg_break(__le32 *__pdesc, u32 __val) __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(5)); __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, BIT(7)); __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __pdesc 82 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(19, 16)); __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(27, 16)); __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_pkt_id(__le32 *__pdesc, u32 __val) __pdesc 109 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(31, 28)); __pdesc 113 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_hwseq_en_8723(__le32 *__pdesc, u32 __val) __pdesc 115 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(31)); __pdesc 123 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __pdesc 125 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(4, 0)); __pdesc 128 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __pdesc 130 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(8)); __pdesc 133 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __pdesc 135 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(10)); __pdesc 138 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __pdesc 140 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(11)); __pdesc 143 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 145 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(12)); __pdesc 148 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 150 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(13)); __pdesc 153 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __pdesc 155 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(21, 20)); __pdesc 158 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __pdesc 160 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(25)); __pdesc 163 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __pdesc 165 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(26)); __pdesc 168 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_bw(__le32 *__pdesc, u32 __val) __pdesc 170 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, BIT(27)); __pdesc 173 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __pdesc 175 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(29, 28)); __pdesc 178 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_stbc(__le32 *__pdesc, u32 __val) __pdesc 180 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(31, 30)); __pdesc 183 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 185 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); __pdesc 188 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __pdesc 190 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(6)); __pdesc 193 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 195 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(12, 8)); __pdesc 198 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 200 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __pdesc 203 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __pdesc 205 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 6), __val, GENMASK(15, 11)); __pdesc 208 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __pdesc 210 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __pdesc 213 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __pdesc 215 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h *(__pdesc + 8) = cpu_to_le32(__val); __pdesc 218 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_tx_desc_tx_buffer_address(__le32 *__pdesc) __pdesc 220 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_to_cpu(*(__pdesc + 8)); __pdesc 223 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __pdesc 225 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __pdesc 228 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_pkt_len(__le32 *__pdesc) __pdesc 230 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, GENMASK(13, 0)); __pdesc 233 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_crc32(__le32 *__pdesc) __pdesc 235 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, BIT(14)); __pdesc 238 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_icv(__le32 *__pdesc) __pdesc 240 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, BIT(15)); __pdesc 243 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_drv_info_size(__le32 *__pdesc) __pdesc 245 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, GENMASK(19, 16)); __pdesc 248 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_shift(__le32 *__pdesc) __pdesc 250 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, GENMASK(25, 24)); __pdesc 253 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_physt(__le32 *__pdesc) __pdesc 255 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, BIT(26)); __pdesc 258 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_swdec(__le32 *__pdesc) __pdesc 260 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, BIT(27)); __pdesc 263 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_own(__le32 *__pdesc) __pdesc 265 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*__pdesc, BIT(31)); __pdesc 268 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __pdesc 270 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __pdesc 273 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __pdesc 275 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __pdesc 278 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 280 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 283 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_paggr(__le32 *__pdesc) __pdesc 285 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*(__pdesc + 1), BIT(14)); __pdesc 288 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_faggr(__le32 *__pdesc) __pdesc 290 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*(__pdesc + 1), BIT(15)); __pdesc 293 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_rxmcs(__le32 *__pdesc) __pdesc 295 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(5, 0)); __pdesc 298 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_rxht(__le32 *__pdesc) __pdesc 300 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*(__pdesc + 3), BIT(6)); __pdesc 303 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_splcp(__le32 *__pdesc) __pdesc 305 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*(__pdesc + 3), BIT(8)); __pdesc 308 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_bw(__le32 *__pdesc) __pdesc 310 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_get_bits(*(__pdesc + 3), BIT(9)); __pdesc 313 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_tsfl(__le32 *__pdesc) __pdesc 315 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_to_cpu(*(__pdesc + 5)); __pdesc 318 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline u32 get_rx_desc_buff_addr(__le32 *__pdesc) __pdesc 320 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h return le32_to_cpu(*(__pdesc + 6)); __pdesc 323 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __pdesc 325 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __pdesc 328 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h static inline void clear_pci_tx_desc_content(__le32 *__pdesc, u32 _size) __pdesc 331 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h memset(__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); __pdesc 333 drivers/net/wireless/realtek/rtlwifi/rtl8723ae/trx.h memset(__pdesc, 0, _size); __pdesc 17 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __pdesc 19 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __pdesc 22 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __pdesc 27 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __pdesc 29 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __pdesc 32 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __pdesc 37 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __pdesc 39 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __pdesc 42 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __pdesc 47 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_tx_desc_own(__le32 *__pdesc) __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, BIT(31)); __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(6, 0)); __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(12, 8)); __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(20, 16)); __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(23, 22)); __pdesc 82 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 1), __val, GENMASK(28, 24)); __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(12)); __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(13)); __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, BIT(17)); __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 2), __val, GENMASK(22, 20)); __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_hwseq_sel(__le32 *__pdesc, u32 __val) __pdesc 109 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(7, 6)); __pdesc 112 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(8)); __pdesc 117 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(10)); __pdesc 122 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(11)); __pdesc 127 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 129 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(12)); __pdesc 132 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(13)); __pdesc 137 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __pdesc 139 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, BIT(15)); __pdesc 142 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __pdesc 144 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 3), __val, GENMASK(21, 17)); __pdesc 147 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 149 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(6, 0)); __pdesc 152 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 154 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(12, 8)); __pdesc 157 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 159 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(16, 13)); __pdesc 162 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 4), __val, GENMASK(28, 24)); __pdesc 167 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(3, 0)); __pdesc 172 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(4)); __pdesc 177 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(6, 5)); __pdesc 182 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __pdesc 184 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, BIT(12)); __pdesc 187 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __pdesc 189 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 5), __val, GENMASK(16, 13)); __pdesc 192 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __pdesc 194 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 7), __val, GENMASK(15, 0)); __pdesc 197 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 8), __val, BIT(15)); __pdesc 202 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __pdesc 204 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits((__pdesc + 9), __val, GENMASK(23, 12)); __pdesc 207 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __pdesc 209 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __pdesc 212 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_tx_desc_tx_buffer_address(__le32 *__pdesc) __pdesc 214 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_to_cpu(*((__pdesc + 10))); __pdesc 217 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __pdesc 219 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h *(__pdesc + 12) = cpu_to_le32(__val); __pdesc 222 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_pkt_len(__le32 *__pdesc) __pdesc 224 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, GENMASK(13, 0)); __pdesc 227 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_crc32(__le32 *__pdesc) __pdesc 229 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, BIT(14)); __pdesc 232 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_icv(__le32 *__pdesc) __pdesc 234 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, BIT(15)); __pdesc 237 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_drv_info_size(__le32 *__pdesc) __pdesc 239 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, GENMASK(19, 16)); __pdesc 242 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_shift(__le32 *__pdesc) __pdesc 244 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, GENMASK(25, 24)); __pdesc 247 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_physt(__le32 *__pdesc) __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, BIT(26)); __pdesc 252 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_swdec(__le32 *__pdesc) __pdesc 254 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, BIT(27)); __pdesc 257 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_own(__le32 *__pdesc) __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*__pdesc, BIT(31)); __pdesc 262 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __pdesc 264 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __pdesc 267 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __pdesc 269 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __pdesc 272 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 274 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 277 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_macid(__le32 *__pdesc) __pdesc 279 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(6, 0)); __pdesc 282 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_paggr(__le32 *__pdesc) __pdesc 284 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 1), BIT(15)); __pdesc 287 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_status_desc_rpt_sel(__le32 *__pdesc) __pdesc 289 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 2), BIT(28)); __pdesc 292 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_rxmcs(__le32 *__pdesc) __pdesc 294 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(6, 0)); __pdesc 297 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_rxht(__le32 *__pdesc) __pdesc 299 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 3), BIT(6)); __pdesc 302 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_status_desc_pattern_match(__le32 *__pdesc) __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 3), BIT(29)); __pdesc 307 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_status_desc_unicast_match(__le32 *__pdesc) __pdesc 309 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 3), BIT(30)); __pdesc 312 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_status_desc_magic_match(__le32 *__pdesc) __pdesc 314 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 3), BIT(31)); __pdesc 317 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_splcp(__le32 *__pdesc) __pdesc 319 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 4), BIT(0)); __pdesc 322 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_bw(__le32 *__pdesc) __pdesc 324 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_get_bits(*(__pdesc + 4), GENMASK(5, 4)); __pdesc 327 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_tsfl(__le32 *__pdesc) __pdesc 329 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_to_cpu(*((__pdesc + 5))); __pdesc 332 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline u32 get_rx_desc_buff_addr(__le32 *__pdesc) __pdesc 334 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h return le32_to_cpu(*((__pdesc + 6))); __pdesc 337 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __pdesc 339 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __pdesc 389 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h static inline void clear_pci_tx_desc_content(__le32 *__pdesc, u32 _size) __pdesc 392 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h memset(__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); __pdesc 394 drivers/net/wireless/realtek/rtlwifi/rtl8723be/trx.h memset(__pdesc, 0, _size); __pdesc 17 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) __pdesc 19 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); __pdesc 22 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) __pdesc 24 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); __pdesc 27 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) __pdesc 29 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(24)); __pdesc 32 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) __pdesc 34 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(25)); __pdesc 37 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) __pdesc 39 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(26)); __pdesc 42 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) __pdesc 44 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(27)); __pdesc 47 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) __pdesc 49 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(28)); __pdesc 52 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 54 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 57 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_tx_desc_own(__le32 *__pdesc) __pdesc 59 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 62 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_macid(__le32 *__pdesc, u32 __val) __pdesc 64 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(6, 0)); __pdesc 67 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_queue_sel(__le32 *__pdesc, u32 __val) __pdesc 69 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(12, 8)); __pdesc 72 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rate_id(__le32 *__pdesc, u32 __val) __pdesc 74 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(20, 16)); __pdesc 77 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_sec_type(__le32 *__pdesc, u32 __val) __pdesc 79 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(23, 22)); __pdesc 82 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_pkt_offset(__le32 *__pdesc, u32 __val) __pdesc 84 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 1, __val, GENMASK(28, 24)); __pdesc 87 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_agg_enable(__le32 *__pdesc, u32 __val) __pdesc 89 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(12)); __pdesc 92 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rdg_enable(__le32 *__pdesc, u32 __val) __pdesc 94 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(13)); __pdesc 97 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_more_frag(__le32 *__pdesc, u32 __val) __pdesc 99 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, BIT(17)); __pdesc 102 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_ampdu_density(__le32 *__pdesc, u32 __val) __pdesc 104 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 2, __val, GENMASK(22, 20)); __pdesc 107 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_hwseq_sel(__le32 *__pdesc, u32 __val) __pdesc 109 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, GENMASK(7, 6)); __pdesc 112 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_use_rate(__le32 *__pdesc, u32 __val) __pdesc 114 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(8)); __pdesc 117 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_disable_fb(__le32 *__pdesc, u32 __val) __pdesc 119 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(10)); __pdesc 122 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_cts2self(__le32 *__pdesc, u32 __val) __pdesc 124 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(11)); __pdesc 127 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 129 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(12)); __pdesc 132 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_hw_rts_enable(__le32 *__pdesc, u32 __val) __pdesc 134 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(13)); __pdesc 137 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_nav_use_hdr(__le32 *__pdesc, u32 __val) __pdesc 139 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, BIT(15)); __pdesc 142 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_max_agg_num(__le32 *__pdesc, u32 __val) __pdesc 144 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 3, __val, GENMASK(21, 17)); __pdesc 147 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_ant(__le32 *__pdesc, u32 __val) __pdesc 149 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(27, 24)); __pdesc 152 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) __pdesc 154 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(6, 0)); __pdesc 157 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_data_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 159 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(12, 8)); __pdesc 162 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_rate_fb_limit(__le32 *__pdesc, u32 __val) __pdesc 164 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(16, 13)); __pdesc 167 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_rate(__le32 *__pdesc, u32 __val) __pdesc 169 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 4, __val, GENMASK(28, 24)); __pdesc 172 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_sub_carrier(__le32 *__pdesc, u32 __val) __pdesc 174 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(3, 0)); __pdesc 177 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) __pdesc 179 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, BIT(4)); __pdesc 182 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_data_bw(__le32 *__pdesc, u32 __val) __pdesc 184 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(6, 5)); __pdesc 187 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_short(__le32 *__pdesc, u32 __val) __pdesc 189 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, BIT(12)); __pdesc 192 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_rts_sc(__le32 *__pdesc, u32 __val) __pdesc 194 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 5, __val, GENMASK(16, 13)); __pdesc 197 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_buffer_size(__le32 *__pdesc, u32 __val) __pdesc 199 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 7, __val, GENMASK(15, 0)); __pdesc 202 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_hwseq_en(__le32 *__pdesc, u32 __val) __pdesc 204 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 8, __val, BIT(15)); __pdesc 207 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_seq(__le32 *__pdesc, u32 __val) __pdesc 209 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc + 9, __val, GENMASK(23, 12)); __pdesc 212 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_tx_buffer_address(__le32 *__pdesc, u32 __val) __pdesc 214 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h *(__pdesc + 10) = cpu_to_le32(__val); __pdesc 217 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline u32 get_tx_desc_tx_buffer_address(__le32 *__pdesc) __pdesc 219 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_to_cpu(*(__pdesc + 10)); __pdesc 222 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_tx_desc_next_desc_address(__le32 *__pdesc, u32 __val) __pdesc 224 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h *(__pdesc + 12) = cpu_to_le32(__val); __pdesc 227 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_pkt_len(__le32 *__pdesc) __pdesc 229 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), GENMASK(13, 0)); __pdesc 232 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_crc32(__le32 *__pdesc) __pdesc 234 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), BIT(14)); __pdesc 237 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_icv(__le32 *__pdesc) __pdesc 239 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), BIT(15)); __pdesc 242 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_drv_info_size(__le32 *__pdesc) __pdesc 244 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), GENMASK(19, 16)); __pdesc 247 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_shift(__le32 *__pdesc) __pdesc 249 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), GENMASK(25, 24)); __pdesc 252 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_physt(__le32 *__pdesc) __pdesc 254 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), BIT(26)); __pdesc 257 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_swdec(__le32 *__pdesc) __pdesc 259 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), BIT(27)); __pdesc 262 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_own(__le32 *__pdesc) __pdesc 264 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc), BIT(31)); __pdesc 267 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_pkt_len(__le32 *__pdesc, u32 __val) __pdesc 269 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, GENMASK(13, 0)); __pdesc 272 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_eor(__le32 *__pdesc, u32 __val) __pdesc 274 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(30)); __pdesc 277 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_own(__le32 *__pdesc, u32 __val) __pdesc 279 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h le32p_replace_bits(__pdesc, __val, BIT(31)); __pdesc 282 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_macid(__le32 *__pdesc) __pdesc 284 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 1), GENMASK(6, 0)); __pdesc 287 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_paggr(__le32 *__pdesc) __pdesc 289 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 1), BIT(15)); __pdesc 292 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_status_desc_rpt_sel(__le32 *__pdesc) __pdesc 294 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 1), BIT(28)); __pdesc 297 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_rxmcs(__le32 *__pdesc) __pdesc 299 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 3), GENMASK(6, 0)); __pdesc 302 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_status_desc_pattern_match(__le32 *__pdesc) __pdesc 304 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 3), BIT(29)); __pdesc 307 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_status_desc_unicast_match(__le32 *__pdesc) __pdesc 309 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 3), BIT(30)); __pdesc 312 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_status_desc_magic_match(__le32 *__pdesc) __pdesc 314 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 3), BIT(31)); __pdesc 317 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_splcp(__le32 *__pdesc) __pdesc 319 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 4), BIT(0)); __pdesc 322 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline int get_rx_desc_bw(__le32 *__pdesc) __pdesc 324 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_get_bits(*(__pdesc + 4), GENMASK(5, 4)); __pdesc 327 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline u32 get_rx_desc_tsfl(__le32 *__pdesc) __pdesc 329 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_to_cpu(*(__pdesc + 5)); __pdesc 332 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline u32 get_rx_desc_buff_addr(__le32 *__pdesc) __pdesc 334 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h return le32_to_cpu(*(__pdesc + 6)); __pdesc 337 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void set_rx_desc_buff_addr(__le32 *__pdesc, u32 __val) __pdesc 339 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h *(__pdesc + 6) = cpu_to_le32(__val); __pdesc 389 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h static inline void clear_pci_tx_desc_content(__le32 *__pdesc, int _size) __pdesc 392 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h memset(__pdesc, 0, TX_DESC_NEXT_DESC_OFFSET); __pdesc 394 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h memset(__pdesc, 0, _size);