/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | fw.h | 153 #define SET_8812_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument 154 u8p_replace_bits(__cmd, __value, BIT(0)) 155 #define SET_8812_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument 156 u8p_replace_bits(__cmd, __value, BIT(1)) 157 #define SET_8812_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument 158 u8p_replace_bits(__cmd, __value, BIT(2)) 159 #define SET_8812_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument 160 u8p_replace_bits(__cmd, __value, BIT(3)) 161 #define SET_8812_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument 162 u8p_replace_bits(__cmd, __value, BIT(4)) [all …]
|
D | trx.h | 354 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument 356 le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); in set_earlymode_pktnum() 359 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument 361 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0() 364 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument 366 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1() 369 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument 371 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1() 374 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument 376 le32p_replace_bits(__paddr, __value, GENMASK(7, 0)); in set_earlymode_len2_2() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.h | 158 static inline void set_tx_desc_pkt_size(__le32 *__txdesc, u32 __value) in set_tx_desc_pkt_size() argument 160 le32p_replace_bits(__txdesc, __value, GENMASK(15, 0)); in set_tx_desc_pkt_size() 163 static inline void set_tx_desc_offset(__le32 *__txdesc, u32 __value) in set_tx_desc_offset() argument 165 le32p_replace_bits(__txdesc, __value, GENMASK(23, 16)); in set_tx_desc_offset() 168 static inline void set_tx_desc_bmc(__le32 *__txdesc, u32 __value) in set_tx_desc_bmc() argument 170 le32p_replace_bits(__txdesc, __value, BIT(24)); in set_tx_desc_bmc() 173 static inline void set_tx_desc_htc(__le32 *__txdesc, u32 __value) in set_tx_desc_htc() argument 175 le32p_replace_bits(__txdesc, __value, BIT(25)); in set_tx_desc_htc() 178 static inline void set_tx_desc_last_seg(__le32 *__txdesc, u32 __value) in set_tx_desc_last_seg() argument 180 le32p_replace_bits(__txdesc, __value, BIT(26)); in set_tx_desc_last_seg() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | fw.h | 150 #define SET_88E_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument 151 SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) 152 #define SET_88E_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument 153 SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) 154 #define SET_88E_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument 155 SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) 156 #define SET_88E_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument 157 SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) 158 #define SET_88E_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument 159 SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value) [all …]
|
D | trx.h | 514 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument 516 le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); in set_earlymode_pktnum() 519 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument 521 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0() 524 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument 526 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1() 529 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument 531 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1() 534 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument 536 le32p_replace_bits(__paddr + 1, __value, GENMASK(7, 0)); in set_earlymode_len2_2() [all …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00reg.h | 235 #define SET_FIELD(__reg, __type, __field, __value)\ argument 239 *(__reg) |= ((__value) << \ 251 #define rt2x00_set_field32(__reg, __field, __value) \ argument 252 SET_FIELD(__reg, struct rt2x00_field32, __field, __value) 256 #define rt2x00_set_field16(__reg, __field, __value) \ argument 257 SET_FIELD(__reg, struct rt2x00_field16, __field, __value) 261 #define rt2x00_set_field8(__reg, __field, __value) \ argument 262 SET_FIELD(__reg, struct rt2x00_field8, __field, __value)
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | trx.h | 336 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument 338 le32p_replace_bits(__paddr, __value, GENMASK(2, 0)); in set_earlymode_pktnum() 341 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument 343 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0() 346 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument 348 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1() 351 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument 353 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1() 356 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument 358 le32p_replace_bits((__paddr + 1), __value, GENMASK(7, 0)); in set_earlymode_len2_2() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.h | 354 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument 356 le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); in set_earlymode_pktnum() 359 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument 361 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0() 364 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument 366 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1() 369 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument 371 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1() 374 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument 376 le32p_replace_bits((__paddr + 1), __value, GENMASK(7, 0)); in set_earlymode_len2_2() [all …]
|
/drivers/mmc/host/ |
D | dw_mmc.h | 456 #define mci_fifo_writew(__value, __reg) __raw_writew(__reg, __value) argument 457 #define mci_fifo_writel(__value, __reg) __raw_writel(__reg, __value) argument 458 #define mci_fifo_writeq(__value, __reg) __raw_writeq(__reg, __value) argument 492 #define __raw_writeq(__value, __reg) \ argument 493 (*(volatile u64 __force *)(__reg) = (__value))
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.h | 118 static inline void set_tx_desc_hwseq_sel_8723(__le32 *__txdesc, u32 __value) in set_tx_desc_hwseq_sel_8723() argument 120 le32p_replace_bits((__txdesc + 4), __value, GENMASK(7, 6)); in set_tx_desc_hwseq_sel_8723()
|
/drivers/net/ethernet/cadence/ |
D | macb.h | 715 #define macb_or_gem_writel(__bp, __reg, __value) \ argument 718 gem_writel((__bp), __reg, __value); \ 720 macb_writel((__bp), __reg, __value); \
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 2901 #define N_BYTE_ALIGMENT(__value, __aligment) ((__aligment == 1) ? \ argument 2902 (__value) : (((__value + __aligment - 1) / __aligment) * __aligment))
|