Home
last modified time | relevance | path

Searched refs:__pdesc (Results 1 – 11 of 11) sorted by relevance

/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dtrx.h22 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
23 ((le32_to_cpu(*(((__le32 *)(__pdesc)))) >> (__shift)) & \
33 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
34 (*(__le32 *)(__pdesc) = \
35 (cpu_to_le32((le32_to_cpu(*((__le32 *)(__pdesc))) & \
41 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
42 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
43 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
44 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
45 #define SET_TX_DESC_BMC(__pdesc, __val) \ argument
[all …]
Dfw.h24 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
25 ((le32_to_cpu(*(((__le32 *)(__pdesc)))) >> (__shift)) & \
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddef.h32 #define SHIFT_AND_MASK_LE(__pdesc, __shift, __mask) \ argument
33 ((le32_to_cpu(*(((__le32 *)(__pdesc)))) >> (__shift)) & \
43 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument
44 (*(__le32 *)(__pdesc) = \
45 (cpu_to_le32((le32_to_cpu(*((__le32 *)(__pdesc))) & \
52 #define SET_TX_DESC_PKT_SIZE(__pdesc, __val) \ argument
53 SET_BITS_OFFSET_LE(__pdesc, 0, 16, __val)
54 #define SET_TX_DESC_OFFSET(__pdesc, __val) \ argument
55 SET_BITS_OFFSET_LE(__pdesc, 16, 8, __val)
56 #define SET_TX_DESC_TYPE(__pdesc, __val) \ argument
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dtrx.h17 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
22 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
24 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
27 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
32 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
37 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dtrx.h19 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
21 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
24 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
26 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
29 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
31 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
34 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
36 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
39 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
41 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h17 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
22 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
24 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
27 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
32 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
37 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dtrx.h17 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
22 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
24 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
27 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
32 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
37 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h17 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
22 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
24 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
27 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
32 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
37 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.h17 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
22 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
24 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
27 static inline void set_tx_desc_bmc(__le32 *__pdesc, u32 __val) in set_tx_desc_bmc() argument
29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc()
32 static inline void set_tx_desc_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
37 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
[all …]
/drivers/net/wireless/realtek/rtlwifi/
Dbase.h63 #define SET_TX_DESC_SPE_RPT(__pdesc, __val) \ argument
64 SET_BITS_TO_LE_4BYTE((__pdesc) + 8, 19, 1, __val)
65 #define SET_TX_DESC_SW_DEFINE(__pdesc, __val) \ argument
66 SET_BITS_TO_LE_4BYTE((__pdesc) + 24, 0, 12, __val)
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.h343 static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_rate() argument
345 le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); in set_tx_desc_tx_rate()
348 static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) in set_tx_desc_data_shortgi() argument
350 le32p_replace_bits((__pdesc + 5), __val, BIT(6)); in set_tx_desc_data_shortgi()