Home
last modified time | relevance | path

Searched refs:__val (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Ddef.h30 static inline void set_tx_desc_pkt_size(__le32 *__pdesc, u32 __val) in set_tx_desc_pkt_size() argument
32 le32p_replace_bits(__pdesc, __val, GENMASK(15, 0)); in set_tx_desc_pkt_size()
35 static inline void set_tx_desc_offset(__le32 *__pdesc, u32 __val) in set_tx_desc_offset() argument
37 le32p_replace_bits(__pdesc, __val, GENMASK(23, 16)); in set_tx_desc_offset()
40 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
42 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
45 static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_first_seg() argument
47 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg()
50 static inline void set_tx_desc_linip(__le32 *__pdesc, u32 __val) in set_tx_desc_linip() argument
52 le32p_replace_bits(__pdesc, __val, BIT(28)); in set_tx_desc_linip()
[all …]
/Linux-v5.10/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 …]
/Linux-v5.10/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 …]
Dfw.h113 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
114 *(u8 *)__ph2ccmd = __val;
115 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__cmd, __val) \ argument
116 u8p_replace_bits(__cmd + 1, __val, GENMASK(3, 0))
117 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__cmd, __val) \ argument
118 u8p_replace_bits(__cmd + 1, __val, GENMASK(7, 4))
119 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__cmd, __val) \ argument
120 *(u8 *)(__cmd + 2) = __val;
121 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__cmd, __val) \ argument
122 *(u8 *)(__cmd + 3) = __val;
[all …]
/Linux-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
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_htc(__le32 *__pdesc, u32 __val) in set_tx_desc_htc() argument
31 le32p_replace_bits(__pdesc, __val, BIT(25)); in set_tx_desc_htc()
34 static inline void set_tx_desc_last_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_last_seg() argument
36 le32p_replace_bits(__pdesc, __val, BIT(26)); in set_tx_desc_last_seg()
39 static inline void set_tx_desc_first_seg(__le32 *__pdesc, u32 __val) in set_tx_desc_first_seg() argument
41 le32p_replace_bits(__pdesc, __val, BIT(27)); in set_tx_desc_first_seg()
[all …]
Dfw.h31 #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-v5.10/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 …]
Dfw.h20 #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
24 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
25 *(u8 *)(__ph2ccmd + 2) = __val
26 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
27 *(u8 *)__ph2ccmd = __val
28 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
29 *(u8 *)__ph2ccmd = __val
[all …]
/Linux-v5.10/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 …]
Dfw.h172 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-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dfw.h85 #define SET_H2CCMD_PWRMODE_PARM_MODE(__ph2ccmd, __val) \ argument
86 *(u8 *)__ph2ccmd = __val
87 #define SET_H2CCMD_PWRMODE_PARM_RLBM(__ph2ccmd, __val) \ argument
88 u8p_replace_bits(__ph2ccmd + 1, __val, GENMASK(3, 0))
89 #define SET_H2CCMD_PWRMODE_PARM_SMART_PS(__ph2ccmd, __val) \ argument
90 u8p_replace_bits(__ph2ccmd + 1, __val, GENMASK(7, 4))
91 #define SET_H2CCMD_PWRMODE_PARM_AWAKE_INTERVAL(__ph2ccmd, __val) \ argument
92 *(u8 *)(__ph2ccmd + 2) = __val
93 #define SET_H2CCMD_PWRMODE_PARM_ALL_QUEUE_UAPSD(__ph2ccmd, __val) \ argument
94 *(u8 *)(__ph2ccmd + 3) = __val
[all …]
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 …]
/Linux-v5.10/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 …]
Dfw.h174 #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-v5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192c/
Dfw_common.h48 #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
52 #define SET_H2CCMD_PWRMODE_PARM_BCN_PASS_TIME(__ph2ccmd, __val) \ argument
53 *(u8 *)(__ph2ccmd + 2) = __val
54 #define SET_H2CCMD_JOINBSSRPT_PARM_OPMODE(__ph2ccmd, __val) \ argument
55 *(u8 *)(__ph2ccmd) = __val
56 #define SET_H2CCMD_RSVDPAGE_LOC_PROBE_RSP(__ph2ccmd, __val) \ argument
57 *(u8 *)(__ph2ccmd) = __val
[all …]
/Linux-v5.10/drivers/hwmon/
Dltc2947-core.c135 __be16 __val = 0; in __ltc2947_val_read16() local
138 ret = regmap_bulk_read(st->map, reg, &__val, 2); in __ltc2947_val_read16()
142 *val = be16_to_cpu(__val); in __ltc2947_val_read16()
150 __be32 __val = 0; in __ltc2947_val_read24() local
153 ret = regmap_bulk_read(st->map, reg, &__val, 3); in __ltc2947_val_read24()
157 *val = be32_to_cpu(__val) >> 8; in __ltc2947_val_read24()
165 __be64 __val = 0; in __ltc2947_val_read64() local
168 ret = regmap_bulk_read(st->map, reg, &__val, 6); in __ltc2947_val_read64()
172 *val = be64_to_cpu(__val) >> 16; in __ltc2947_val_read64()
181 u64 __val = 0; in ltc2947_val_read() local
[all …]
/Linux-v5.10/arch/mips/include/asm/
Dio.h222 type __val; \
231 __val = pfx##ioswab##bwlq(__mem, val); \
234 *__mem = __val; \
251 : "0" (__val), "m" (*__mem)); \
261 type __val; \
269 __val = *__mem; \
282 : "=r" (__val) \
287 __val = 0; \
294 return pfx##ioswab##bwlq(__mem, __val); \
302 type __val; \
[all …]
/Linux-v5.10/drivers/staging/rtl8188eu/include/
Dbasic_types.h113 #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.10/tools/arch/arm64/include/asm/
Dbarrier.h29 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.10/tools/virtio/ringtest/
Dmain.h180 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.10/arch/arm/include/asm/
Dcputype.h119 unsigned int __val; \
121 : "=r" (__val) \
124 __val; \
134 unsigned int __val; \
136 : "=r" (__val) \
139 __val; \
/Linux-v5.10/arch/parisc/include/asm/
Dbarrier.h36 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-v5.10/drivers/staging/rtl8723bs/include/
Dbasic_types.h156 #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.10/tools/include/linux/
Dcompiler.h180 union { typeof(x) __val; char __c[1]; } __u = \
183 __u.__val; \
188 union { typeof(x) __val; char __c[1]; } __u = \
189 { .__val = (val) }; \
191 __u.__val; \
/Linux-v5.10/arch/x86/include/asm/
Dmsr.h111 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); \

123