Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/perf/
Driscv_pmu.c22 #define switchcase_csr_read(__csr_num, __val) {\ in csr_read_num() argument
24 __val = csr_read(__csr_num); \ in csr_read_num()
26 #define switchcase_csr_read_2(__csr_num, __val) {\ in csr_read_num() argument
27 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num()
28 switchcase_csr_read(__csr_num + 1, __val)} in csr_read_num()
29 #define switchcase_csr_read_4(__csr_num, __val) {\ in csr_read_num() argument
30 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num()
31 switchcase_csr_read_2(__csr_num + 2, __val)} in csr_read_num()
32 #define switchcase_csr_read_8(__csr_num, __val) {\ in csr_read_num() argument
33 switchcase_csr_read_4(__csr_num + 0, __val) \ in csr_read_num()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_reg_defs.h70 #define REG_FIELD_PREP(__mask, __val) \ argument
71 ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
75 …LD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__…
87 #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val)) argument
99 #define REG_FIELD_GET64(__mask, __val) ((u64)FIELD_GET(__mask, __val)) argument
/linux-6.1.9/arch/mips/include/asm/
Dio.h225 type __val; \
234 __val = pfx##ioswab##bwlq(__mem, val); \
237 *__mem = __val; \
254 : "0" (__val), "m" (*__mem)); \
264 type __val; \
272 __val = *__mem; \
285 : "=r" (__val) \
290 __val = 0; \
297 return pfx##ioswab##bwlq(__mem, __val); \
305 type __val; \
[all …]
/linux-6.1.9/arch/loongarch/include/asm/
Dbarrier.h64 union { typeof(*p) __val; char __c[1]; } __u; \
91 (typeof(*p))__u.__val; \
96 union { typeof(*p) __val; char __c[1]; } __u = \
97 { .__val = (__force typeof(*p)) (v) }; \
128 union { typeof(p) __val; char __c[1]; } __u = \
129 { .__val = (__force typeof(p)) (v) }; \
/linux-6.1.9/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-6.1.9/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-6.1.9/arch/arm/include/asm/
Dcputype.h119 unsigned int __val; \
121 : "=r" (__val) \
124 __val; \
134 unsigned int __val; \
136 : "=r" (__val) \
139 __val; \
/linux-6.1.9/drivers/staging/rtl8723bs/include/
Dbasic_types.h154 #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-6.1.9/samples/bpf/
Dxdp_sample.bpf.h119 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; \

1234