| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
| D | def.h | 43 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument 47 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift))))); 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 57 SET_BITS_OFFSET_LE(__pdesc, 24, 2, __val) 58 #define SET_TX_DESC_LAST_SEG(__pdesc, __val) \ argument 59 SET_BITS_OFFSET_LE(__pdesc, 26, 1, __val) [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
| D | trx.h | 33 #define SET_BITS_OFFSET_LE(__pdesc, __shift, __len, __val) \ argument 37 (((u32)(__val) & BIT_LEN_MASK_32(__len)) << (__shift))))); 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 46 SET_BITS_OFFSET_LE(__pdesc, 24, 1, __val) 47 #define SET_TX_DESC_HTC(__pdesc, __val) \ argument 48 SET_BITS_OFFSET_LE(__pdesc, 25, 1, __val) [all …]
|
| D | fw.h | 72 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 73 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 74 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument 75 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 1, 0, 8, __val) 76 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument 77 SET_BITS_TO_LE_1BYTE((__ph2ccmd) + 2, 0, 8, __val) 78 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 79 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 80 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument 81 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
| D | trx.h | 19 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 …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
| D | trx.h | 17 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 …]
|
| D | fw.h | 113 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 114 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 115 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __val) \ argument 116 SET_BITS_TO_LE_1BYTE((__cmd)+1, 0, 4, __val) 117 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __val) \ argument 118 SET_BITS_TO_LE_1BYTE((__cmd)+1, 4, 4, __val) 119 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __val) \ argument 120 SET_BITS_TO_LE_1BYTE((__cmd)+2, 0, 8, __val) 121 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __val) \ argument 122 SET_BITS_TO_LE_1BYTE((__cmd)+3, 0, 8, __val) [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
| D | trx.h | 17 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 …]
|
| D | fw.h | 20 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 21 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 22 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument 23 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) 24 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument 25 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) 26 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 27 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 28 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument 29 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
| D | trx.h | 17 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 …]
|
| D | fw.h | 172 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 173 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 187 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 188 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 189 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument 190 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 191 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 192 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) 193 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument 194 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val)
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| D | fw.h | 85 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 86 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 87 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__ph2ccmd, __val) \ argument 88 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 4, __val) 89 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument 90 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 4, 4, __val) 91 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__ph2ccmd, __val) \ argument 92 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) 93 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__ph2ccmd, __val) \ argument 94 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 0, 8, __val) [all …]
|
| D | trx.h | 17 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 …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| D | trx.h | 17 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 …]
|
| D | fw.h | 174 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 175 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 191 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 192 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 193 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 194 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) 195 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument 196 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) 197 #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ argument 198 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+3, 0, 8, __val) [all …]
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
| D | fw_common.h | 48 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 49 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 50 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument 51 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+1, 0, 8, __val) 52 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument 53 SET_BITS_TO_LE_1BYTE((__ph2ccmd)+2, 0, 8, __val) 54 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 55 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) 56 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument 57 SET_BITS_TO_LE_1BYTE(__ph2ccmd, 0, 8, __val) [all …]
|
| /Linux-v5.4/arch/arm64/include/asm/ |
| D | pgtable-prot.h | 61 u64 __val; \ 63 __val = PTE_S2_MEMATTR(MT_S2_FWB_ ## attr); \ 65 __val = PTE_S2_MEMATTR(MT_S2_ ## attr); \ 66 __val; \ 71 u64 __val; \ 73 __val = 0; \ 75 __val = PTE_S2_XN; \ 76 __val; \
|
| /Linux-v5.4/drivers/staging/rtl8188eu/include/ |
| D | basic_types.h | 113 #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 117 ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \ 120 #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 124 ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \ 127 #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 131 ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
|
| /Linux-v5.4/arch/mips/include/asm/ |
| D | io.h | 321 type __val; \ 330 __val = pfx##ioswab##bwlq(__mem, val); \ 333 *__mem = __val; \ 350 : "0" (__val), "m" (*__mem)); \ 360 type __val; \ 368 __val = *__mem; \ 381 : "=r" (__val) \ 386 __val = 0; \ 393 return pfx##ioswab##bwlq(__mem, __val); \ 401 type __val; \ [all …]
|
| /Linux-v5.4/tools/arch/arm64/include/asm/ |
| D | barrier.h | 29 union { typeof(*p) __val; char __c[1]; } __u = \ 30 { .__val = (v) }; \ 66 union { typeof(*p) __val; char __c[1]; } __u = \ 95 __u.__val; \
|
| /Linux-v5.4/tools/virtio/ringtest/ |
| D | main.h | 180 union { typeof(x) __val; char __c[1]; } __u; \ 183 __u.__val; \ 188 union { typeof(x) __val; char __c[1]; } __u = \ 189 { .__val = (typeof(x)) (val) }; \ 191 __u.__val; \
|
| /Linux-v5.4/arch/arm/include/asm/ |
| D | cputype.h | 119 unsigned int __val; \ 121 : "=r" (__val) \ 124 __val; \ 134 unsigned int __val; \ 136 : "=r" (__val) \ 139 __val; \
|
| /Linux-v5.4/tools/include/linux/ |
| D | compiler.h | 156 union { typeof(x) __val; char __c[1]; } __u = \ 159 __u.__val; \ 164 union { typeof(x) __val; char __c[1]; } __u = \ 165 { .__val = (val) }; \ 167 __u.__val; \
|
| /Linux-v5.4/arch/unicore32/include/asm/ |
| D | cputype.h | 19 unsigned int __val; \ 21 : "=r" (__val) \ 24 __val; \
|
| /Linux-v5.4/drivers/staging/rtl8723bs/include/ |
| D | basic_types.h | 156 #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 160 ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \ 163 #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 167 ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \ 170 #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 174 ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
|
| /Linux-v5.4/arch/x86/include/asm/ |
| D | msr.h | 113 u64 __val = __rdmsr((msr)); \ 114 (void)((val1) = (u32)__val); \ 115 (void)((val2) = (u32)(__val >> 32)); \ 268 u64 __val = native_read_msr((msr)); \ 269 (void)((low) = (u32)__val); \ 270 (void)((high) = (u32)(__val >> 32)); \ 296 u64 __val = native_read_msr_safe((msr), &__err); \ 297 (*low) = (u32)__val; \ 298 (*high) = (u32)(__val >> 32); \
|