Home
last modified time | relevance | path

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

1234

/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/gpu/drm/i915/
Di915_reg_defs.h98 #define REG_FIELD_PREP(__mask, __val) \ argument
99 ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
103 …LD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__…
115 #define REG_FIELD_PREP8(__mask, __val) \ argument
116 ((u8)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
120 …LD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__…
132 #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val)) argument
144 #define REG_FIELD_GET64(__mask, __val) ((u64)FIELD_GET(__mask, __val)) argument
187 #define REG_FIELD_PREP16(__mask, __val) \ argument
188 ((u16)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \
[all …]
/Linux-v6.6/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-v6.6/tools/lib/perf/
Dmmap.c300 u64 __val; \
301 asm volatile("mrs %0, " __stringify(r) : "=r" (__val)); \
302 __val; \
414 #define switchcase_csr_read(__csr_num, __val) {\ in csr_read_num() argument
416 __val = csr_read(__csr_num); \ in csr_read_num()
418 #define switchcase_csr_read_2(__csr_num, __val) {\ in csr_read_num() argument
419 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num()
420 switchcase_csr_read(__csr_num + 1, __val)} in csr_read_num()
421 #define switchcase_csr_read_4(__csr_num, __val) {\ in csr_read_num() argument
422 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num()
[all …]
/Linux-v6.6/drivers/perf/
Driscv_pmu.c95 #define switchcase_csr_read(__csr_num, __val) {\ in csr_read_num() argument
97 __val = csr_read(__csr_num); \ in csr_read_num()
99 #define switchcase_csr_read_2(__csr_num, __val) {\ in csr_read_num() argument
100 switchcase_csr_read(__csr_num + 0, __val) \ in csr_read_num()
101 switchcase_csr_read(__csr_num + 1, __val)} in csr_read_num()
102 #define switchcase_csr_read_4(__csr_num, __val) {\ in csr_read_num() argument
103 switchcase_csr_read_2(__csr_num + 0, __val) \ in csr_read_num()
104 switchcase_csr_read_2(__csr_num + 2, __val)} in csr_read_num()
105 #define switchcase_csr_read_8(__csr_num, __val) {\ in csr_read_num() argument
106 switchcase_csr_read_4(__csr_num + 0, __val) \ in csr_read_num()
[all …]
/Linux-v6.6/arch/mips/include/asm/
Dio.h224 type __val; \
233 __val = pfx##ioswab##bwlq(__mem, val); \
236 *__mem = __val; \
253 : "0" (__val), "m" (*__mem)); \
263 type __val; \
271 __val = *__mem; \
284 : "=r" (__val) \
289 __val = 0; \
296 return pfx##ioswab##bwlq(__mem, __val); \
304 type __val; \
[all …]
/Linux-v6.6/tools/virtio/ringtest/
Dmain.h186 union { typeof(x) __val; char __c[1]; } __u; \
189 __u.__val; \
194 union { typeof(x) __val; char __c[1]; } __u; \
196 __u.__val; \
202 union { typeof(x) __val; char __c[1]; } __u = \
203 { .__val = (typeof(x)) (val) }; \
205 __u.__val; \
/Linux-v6.6/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-v6.6/samples/bpf/
Dxdp_sample.bpf.h99 union { typeof(x) __val; char __c[1]; } __u = \
102 __u.__val; \
107 union { typeof(x) __val; char __c[1]; } __u = \
108 { .__val = (val) }; \
110 __u.__val; \
/Linux-v6.6/arch/arm/include/asm/
Dcputype.h123 unsigned int __val; \
125 : "=r" (__val) \
128 __val; \
138 unsigned int __val; \
140 : "=r" (__val) \
143 __val; \
/Linux-v6.6/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)) \

1234