Home
last modified time | relevance | path

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

12

/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 …]
/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 …]
/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 …]
/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;
/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 …]
/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;
/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
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
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.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 …]
/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 …]
/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 …]
/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)) \
/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)) \
/drivers/net/wireless/realtek/rtlwifi/
Dbase.h63 #define SET_TX_DESC_SPE_RPT(__pdesc, __val) \ argument
64 le32p_replace_bits((__le32 *)(__pdesc + 8), __val, BIT(19))
65 #define SET_TX_DESC_SW_DEFINE(__pdesc, __val) \ argument
66 le32p_replace_bits((__le32 *)(__pdesc + 24), __val, GENMASK(11, 0))
/drivers/gpu/drm/i915/gt/
Dintel_engine.h87 u32 __val; \
89 __val = intel_uncore_read((engine__)->uncore, \
91 __val &= ~(clear__); \
92 __val |= (set__); \
94 __val); \
/drivers/hwtracing/coresight/
Dcoresight-etm4x.h418 u64 __val; \
421 __val = read_etm4x_sysreg_const_offset((offset)); \
423 __val = etm4x_sysreg_read((offset), true, (_64bit)); \
424 __val; \
450 u32 __val = etm4x_relaxed_read32((csa), (offset)); \
451 __iormb(__val); \
452 __val; \
457 u64 __val = etm4x_relaxed_read64((csa), (offset)); \
458 __iormb(__val); \
459 __val; \
/drivers/iio/imu/
Dadis.c240 u32 __val; in __adis_update_bits_base() local
242 ret = __adis_read_reg(adis, reg, &__val, size); in __adis_update_bits_base()
246 __val = (__val & ~mask) | (val & mask); in __adis_update_bits_base()
248 return __adis_write_reg(adis, reg, __val, size); in __adis_update_bits_base()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.h343 static inline void set_tx_desc_tx_rate(__le32 *__pdesc, u32 __val) in set_tx_desc_tx_rate() argument
345 le32p_replace_bits((__pdesc + 5), __val, GENMASK(5, 0)); in set_tx_desc_tx_rate()
348 static inline void set_tx_desc_data_shortgi(__le32 *__pdesc, u32 __val) in set_tx_desc_data_shortgi() argument
350 le32p_replace_bits((__pdesc + 5), __val, BIT(6)); in set_tx_desc_data_shortgi()
/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.h118 typeof(intf_type) __val = (intf_type); \
119 (__val) >= INTF_VIRTUAL ? true : false; })
/drivers/net/ethernet/brocade/bna/
Dbfa_ioc_ct.c20 #define bfa_ioc_ct_get_sync_ackd(__val) (__val & 0x0000ffff) argument
21 #define bfa_ioc_ct_clear_sync_ackd(__val) (__val & 0xffff0000) argument
22 #define bfa_ioc_ct_get_sync_reqd(__val) (__val >> BFA_IOC_SYNC_REQD_SH) argument

12