/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.h | 228 #define SET_TX_DESC_PKT_SIZE(__txdesc, __value) \ argument 229 SET_BITS_OFFSET_LE(__txdesc, 0, 16, __value) 230 #define SET_TX_DESC_OFFSET(__txdesc, __value) \ argument 231 SET_BITS_OFFSET_LE(__txdesc, 16, 8, __value) 232 #define SET_TX_DESC_BMC(__txdesc, __value) \ argument 233 SET_BITS_OFFSET_LE(__txdesc, 24, 1, __value) 234 #define SET_TX_DESC_HTC(__txdesc, __value) \ argument 235 SET_BITS_OFFSET_LE(__txdesc, 25, 1, __value) 236 #define SET_TX_DESC_LAST_SEG(__txdesc, __value) \ argument 237 SET_BITS_OFFSET_LE(__txdesc, 26, 1, __value) [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | fw.h | 188 #define SET_8812_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument 189 SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) 190 #define SET_8812_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument 191 SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) 192 #define SET_8812_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument 193 SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) 194 #define SET_8812_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument 195 SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) 196 #define SET_8812_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument 197 SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value) [all …]
|
D | trx.h | 339 #define SET_EARLYMODE_PKTNUM(__paddr, __value) \ argument 340 SET_BITS_TO_LE_4BYTE(__paddr, 0, 4, __value) 341 #define SET_EARLYMODE_LEN0(__paddr, __value) \ argument 342 SET_BITS_TO_LE_4BYTE(__paddr, 4, 12, __value) 343 #define SET_EARLYMODE_LEN1(__paddr, __value) \ argument 344 SET_BITS_TO_LE_4BYTE(__paddr, 16, 12, __value) 345 #define SET_EARLYMODE_LEN2_1(__paddr, __value) \ argument 346 SET_BITS_TO_LE_4BYTE(__paddr, 28, 4, __value) 347 #define SET_EARLYMODE_LEN2_2(__paddr, __value) \ argument 348 SET_BITS_TO_LE_4BYTE(__paddr+4, 0, 8, __value) [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | fw.h | 175 #define SET_88E_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument 176 SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value) 177 #define SET_88E_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument 178 SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value) 179 #define SET_88E_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument 180 SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value) 181 #define SET_88E_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument 182 SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value) 183 #define SET_88E_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument 184 SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value) [all …]
|
D | trx.h | 516 #define SET_EARLYMODE_PKTNUM(__paddr, __value) \ argument 517 SET_BITS_TO_LE_4BYTE(__paddr, 0, 4, __value) 518 #define SET_EARLYMODE_LEN0(__paddr, __value) \ argument 519 SET_BITS_TO_LE_4BYTE(__paddr, 4, 12, __value) 520 #define SET_EARLYMODE_LEN1(__paddr, __value) \ argument 521 SET_BITS_TO_LE_4BYTE(__paddr, 16, 12, __value) 522 #define SET_EARLYMODE_LEN2_1(__paddr, __value) \ argument 523 SET_BITS_TO_LE_4BYTE(__paddr, 28, 4, __value) 524 #define SET_EARLYMODE_LEN2_2(__paddr, __value) \ argument 525 SET_BITS_TO_LE_4BYTE(__paddr+4, 0, 8, __value) [all …]
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00reg.h | 246 #define SET_FIELD(__reg, __type, __field, __value)\ argument 250 *(__reg) |= ((__value) << \ 262 #define rt2x00_set_field32(__reg, __field, __value) \ argument 263 SET_FIELD(__reg, struct rt2x00_field32, __field, __value) 267 #define rt2x00_set_field16(__reg, __field, __value) \ argument 268 SET_FIELD(__reg, struct rt2x00_field16, __field, __value) 272 #define rt2x00_set_field8(__reg, __field, __value) \ argument 273 SET_FIELD(__reg, struct rt2x00_field8, __field, __value)
|
/drivers/mmc/host/ |
D | dw_mmc.h | 194 #define mci_fifo_writew(__value, __reg) __raw_writew(__reg, __value) argument 195 #define mci_fifo_writel(__value, __reg) __raw_writel(__reg, __value) argument 196 #define mci_fifo_writeq(__value, __reg) __raw_writeq(__reg, __value) argument 230 #define __raw_writeq(__value, __reg) \ argument 231 (*(volatile u64 __force *)(__reg) = (__value))
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.h | 350 #define SET_EARLYMODE_PKTNUM(__paddr, __value) \ argument 351 SET_BITS_TO_LE_4BYTE(__paddr, 0, 4, __value) 352 #define SET_EARLYMODE_LEN0(__paddr, __value) \ argument 353 SET_BITS_TO_LE_4BYTE(__paddr, 4, 12, __value) 354 #define SET_EARLYMODE_LEN1(__paddr, __value) \ argument 355 SET_BITS_TO_LE_4BYTE(__paddr, 16, 12, __value) 356 #define SET_EARLYMODE_LEN2_1(__paddr, __value) \ argument 357 SET_BITS_TO_LE_4BYTE(__paddr, 28, 4, __value) 358 #define SET_EARLYMODE_LEN2_2(__paddr, __value) \ argument 359 SET_BITS_TO_LE_4BYTE(__paddr+4, 0, 8, __value) [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | trx.h | 537 #define SET_EARLYMODE_PKTNUM(__paddr, __value) \ argument 538 SET_BITS_OFFSET_LE(__paddr, 0, 3, __value) 539 #define SET_EARLYMODE_LEN0(__paddr, __value) \ argument 540 SET_BITS_OFFSET_LE(__paddr, 4, 12, __value) 541 #define SET_EARLYMODE_LEN1(__paddr, __value) \ argument 542 SET_BITS_OFFSET_LE(__paddr, 16, 12, __value) 543 #define SET_EARLYMODE_LEN2_1(__paddr, __value) \ argument 544 SET_BITS_OFFSET_LE(__paddr, 28, 4, __value) 545 #define SET_EARLYMODE_LEN2_2(__paddr, __value) \ argument 546 SET_BITS_OFFSET_LE(__paddr+4, 0, 8, __value) [all …]
|
/drivers/net/ethernet/cadence/ |
D | macb.h | 457 #define macb_or_gem_writel(__bp, __reg, __value) \ argument 460 gem_writel((__bp), __reg, __value); \ 462 macb_writel((__bp), __reg, __value); \
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.h | 208 #define SET_TX_DESC_HWSEQ_SEL_8723(__txdesc, __value) \ argument 209 SET_BITS_TO_LE_4BYTE(__txdesc+16, 6, 2, __value)
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | wifi.h | 2832 #define N_BYTE_ALIGMENT(__value, __aligment) ((__aligment == 1) ? \ argument 2833 (__value) : (((__value + __aligment - 1) / __aligment) * __aligment))
|