/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | def.h | 32 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size() 37 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset() 42 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 47 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 52 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 57 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 194 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 205 *(__pdesc + 9) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 230 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_status_desc_eor() 235 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_rx_status_desc_own() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | trx.h | 29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc() 34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 199 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 205 *(__pdesc + 12) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 247 u8 __offset, u32 __val) in set_txbuffer_desc_len_with_offset() argument 254 u8 __offset, u32 __val) in set_txbuffer_desc_amsdu_with_offset() argument 261 u32 __val) in set_txbuffer_desc_add_low_with_offset() argument 306 *(__pdesc + 1) = cpu_to_le32(__val); in set_tx_buff_desc_addr_low_0() 360 *(__status + 1) = cpu_to_le32(__val); in set_rx_buffer_physical_low() [all …]
|
A D | fw.h | 114 *(u8 *)__ph2ccmd = __val; 120 *(u8 *)(__cmd + 2) = __val; 122 *(u8 *)(__cmd + 3) = __val; 124 *(u8 *)(__cmd + 4) = __val; 126 *(u8 *)(__cmd + 5) = __val; 129 *(u8 *)__ph2ccmd = __val; 131 *(u8 *)(__ph2ccmd + 1) = __val; 133 *(u8 *)(__ph2ccmd + 2) = __val; 135 *(u8 *)(__ph2ccmd + 3) = __val; 137 *(u8 *)(__ph2ccmd + 4) = __val; [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | trx.h | 31 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc() 36 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 41 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 46 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 51 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 56 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 216 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 226 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 276 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor() 281 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_rx_desc_own() [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | trx.h | 21 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size() 31 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 36 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 41 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 46 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 51 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 216 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 226 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 276 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor() 281 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_rx_desc_own() [all …]
|
A D | fw.h | 31 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 32 *(u8 *)__ph2ccmd = __val; 33 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument 34 *(u8 *)__ph2ccmd = __val; 35 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 36 *(u8 *)(__ph2ccmd + 1) = __val; 37 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument 38 *(u8 *)(__ph2ccmd + 2) = __val;
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | trx.h | 19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size() 29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc() 34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 44 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 49 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 54 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 215 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 225 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 275 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor() [all …]
|
A D | fw.h | 20 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 21 *(u8 *)__ph2ccmd = __val 22 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument 23 *(u8 *)(__ph2ccmd + 1) = __val 25 *(u8 *)(__ph2ccmd + 2) = __val 26 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 27 *(u8 *)__ph2ccmd = __val 29 *(u8 *)__ph2ccmd = __val 30 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 31 *(u8 *)(__ph2ccmd + 1) = __val [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | trx.h | 19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size() 29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc() 34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 44 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 49 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 54 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 244 *(__pdesc + 8) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 254 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 489 *(__pdesc + 6) = cpu_to_le32(__val); in set_rx_desc_buff_addr() [all …]
|
A D | fw.h | 172 static inline void set_h2ccmd_pwrmode_parm_mode(u8 *__ph2ccmd, u8 __val) in set_h2ccmd_pwrmode_parm_mode() argument 174 *(u8 *)(__ph2ccmd) = __val; in set_h2ccmd_pwrmode_parm_mode() 203 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 204 *(u8 *)(__ph2ccmd) = __val; 205 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument 206 *(u8 *)(__ph2ccmd) = __val; 207 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 208 *(u8 *)(__ph2ccmd + 1) = __val; 209 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument 210 *(u8 *)(__ph2ccmd + 2) = __val;
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | trx.h | 19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size() 29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc() 34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 44 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 49 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 54 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 214 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 224 *(__pdesc + 12) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 274 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor() [all …]
|
A D | fw.h | 174 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 175 *(u8 *)__ph2ccmd = __val 189 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 190 *(u8 *)(__ph2ccmd + 1) = __val 191 #define SET_H2CCMD_RSVDPAGE_LOC_NULL_DATA(__ph2ccmd, __val) \ argument 192 *(u8 *)(__ph2ccmd + 2) = __val 193 #define SET_H2CCMD_RSVDPAGE_LOC_QOS_NULL_DATA(__ph2ccmd, __val) \ argument 194 *(u8 *)(__ph2ccmd + 3) = __val 195 #define SET_H2CCMD_RSVDPAGE_LOC_BT_QOS_NULL_DATA(__ph2ccmd, __val) \ argument 196 *(u8 *)(__ph2ccmd + 4) = __val
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | trx.h | 19 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size() 29 le32p_replace_bits(__pdesc, __val, BIT(24)); in set_tx_desc_bmc() 34 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc() 39 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg() 44 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg() 49 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip() 54 le32p_replace_bits(__pdesc, __val, BIT(31)); in set_tx_desc_own() 209 *(__pdesc + 10) = cpu_to_le32(__val); in set_tx_desc_tx_buffer_address() 219 *(__pdesc + 12) = cpu_to_le32(__val); in set_tx_desc_next_desc_address() 269 le32p_replace_bits(__pdesc, __val, BIT(30)); in set_rx_desc_eor() [all …]
|
A D | fw.h | 86 *(u8 *)__ph2ccmd = __val 92 *(u8 *)(__ph2ccmd + 2) = __val 94 *(u8 *)(__ph2ccmd + 3) = __val 96 *(u8 *)(__ph2ccmd + 4) = __val 98 *(u8 *)(__ph2ccmd + 5) = __val 101 u8p_replace_bits(__ph2ccmd, __val, BIT(0)) 106 *(u8 *)(__ph2ccmd) = __val 108 *(u8 *)(__ph2ccmd + 1) = __val 110 *(u8 *)(__ph2ccmd + 2) = __val 112 *(u8 *)(__ph2ccmd + 3) = __val [all …]
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192c/ |
A D | fw_common.h | 48 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument 49 *(u8 *)(__ph2ccmd) = __val 50 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument 51 *(u8 *)(__ph2ccmd + 1) = __val 53 *(u8 *)(__ph2ccmd + 2) = __val 54 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument 55 *(u8 *)(__ph2ccmd) = __val 57 *(u8 *)(__ph2ccmd) = __val 58 #define SET_H2CCMD_RSVDPAGE_LOC_PSPOLL(__ph2ccmd, __val) \ argument 59 *(u8 *)(__ph2ccmd + 1) = __val [all …]
|
/linux/drivers/hwmon/ |
A D | ltc2947-core.c | 135 __be16 __val = 0; in __ltc2947_val_read16() local 150 __be32 __val = 0; in __ltc2947_val_read24() local 165 __be64 __val = 0; in __ltc2947_val_read64() local 181 u64 __val = 0; in ltc2947_val_read() local 224 __be64 __val; in __ltc2947_val_write64() local 233 __be16 __val; in __ltc2947_val_write16() local 344 s64 __val = 0; in ltc2947_read_temp() local 409 s64 __val = 0; in ltc2947_read_power() local 446 *val = __val * lsb; in ltc2947_read_power() 456 s64 __val = 0; in ltc2947_read_curr() local [all …]
|
/linux/arch/mips/include/asm/ |
A D | io.h | 234 type __val; \ 246 *__mem = __val; \ 263 : "0" (__val), "m" (*__mem)); \ 273 type __val; \ 281 __val = *__mem; \ 294 : "=r" (__val) \ 299 __val = 0; \ 314 type __val; \ 328 *__addr = __val; \ 334 type __val; \ [all …]
|
/linux/arch/arm/include/asm/ |
A D | cputype.h | 119 unsigned int __val; \ 121 : "=r" (__val) \ 124 __val; \ 134 unsigned int __val; \ 136 : "=r" (__val) \ 139 __val; \
|
A D | uaccess.h | 484 type __val; \ 487 case 1: __get_user_asm_byte(__val, __src, __err, ""); break; \ 488 case 2: __get_user_asm_half(__val, __src, __err, ""); break; \ 489 case 4: __get_user_asm_word(__val, __src, __err, ""); break; \ 491 u32 *__v32 = (u32*)&__val; \ 500 *(type *)(dst) = __val; \ 510 type __val = *(type *)src; \ 512 case 1: __put_user_asm_byte(__val, __dst, __err, ""); break; \ 513 case 2: __put_user_asm_half(__val, __dst, __err, ""); break; \ 514 case 4: __put_user_asm_word(__val, __dst, __err, ""); break; \ [all …]
|
/linux/tools/virtio/ringtest/ |
A 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/tools/arch/arm64/include/asm/ |
A 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/drivers/staging/rtl8723bs/include/ |
A D | basic_types.h | 154 #define SET_BITS_TO_LE_4BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 158 ((((u32)__val) & BIT_LEN_MASK_32(__bitlen)) << (__bitoffset)) \ 161 #define SET_BITS_TO_LE_2BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 165 ((((u16)__val) & BIT_LEN_MASK_16(__bitlen)) << (__bitoffset)) \ 168 #define SET_BITS_TO_LE_1BYTE(__pstart, __bitoffset, __bitlen, __val) \ argument 172 ((((u8)__val) & BIT_LEN_MASK_8(__bitlen)) << (__bitoffset)) \
|
/linux/samples/bpf/ |
A D | xdp_sample.bpf.h | 119 union { typeof(x) __val; char __c[1]; } __u = \ 122 __u.__val; \ 127 union { typeof(x) __val; char __c[1]; } __u = \ 128 { .__val = (val) }; \ 130 __u.__val; \
|
/linux/arch/parisc/include/asm/ |
A D | barrier.h | 36 union { typeof(*p) __val; char __c[1]; } __u = \ 37 { .__val = (__force typeof(*p)) (v) }; \ 66 union { typeof(*p) __val; char __c[1]; } __u; \ 92 __u.__val; \
|
/linux/arch/x86/include/asm/ |
A D | msr.h | 111 u64 __val = __rdmsr((msr)); \ 112 (void)((val1) = (u32)__val); \ 113 (void)((val2) = (u32)(__val >> 32)); \ 266 u64 __val = native_read_msr((msr)); \ 267 (void)((low) = (u32)__val); \ 268 (void)((high) = (u32)(__val >> 32)); \ 294 u64 __val = native_read_msr_safe((msr), &__err); \ 295 (*low) = (u32)__val; \ 296 (*high) = (u32)(__val >> 32); \
|