Home
last modified time | relevance | path

Searched refs:__value (Results 1 – 18 of 18) sorted by relevance

/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dfw.h153 #define SET_8812_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument
154 u8p_replace_bits(__cmd, __value, BIT(0))
155 #define SET_8812_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument
156 u8p_replace_bits(__cmd, __value, BIT(1))
157 #define SET_8812_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument
158 u8p_replace_bits(__cmd, __value, BIT(2))
159 #define SET_8812_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument
160 u8p_replace_bits(__cmd, __value, BIT(3))
161 #define SET_8812_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument
162 u8p_replace_bits(__cmd, __value, BIT(4))
[all …]
Dtrx.h354 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument
356 le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); in set_earlymode_pktnum()
359 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument
361 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0()
364 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument
366 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1()
369 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument
371 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1()
374 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument
376 le32p_replace_bits(__paddr, __value, GENMASK(7, 0)); in set_earlymode_len2_2()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dtrx.h155 static inline void set_tx_desc_pkt_size(__le32 *__txdesc, u32 __value) in set_tx_desc_pkt_size() argument
157 le32p_replace_bits(__txdesc, __value, GENMASK(15, 0)); in set_tx_desc_pkt_size()
160 static inline void set_tx_desc_offset(__le32 *__txdesc, u32 __value) in set_tx_desc_offset() argument
162 le32p_replace_bits(__txdesc, __value, GENMASK(23, 16)); in set_tx_desc_offset()
165 static inline void set_tx_desc_bmc(__le32 *__txdesc, u32 __value) in set_tx_desc_bmc() argument
167 le32p_replace_bits(__txdesc, __value, BIT(24)); in set_tx_desc_bmc()
170 static inline void set_tx_desc_htc(__le32 *__txdesc, u32 __value) in set_tx_desc_htc() argument
172 le32p_replace_bits(__txdesc, __value, BIT(25)); in set_tx_desc_htc()
175 static inline void set_tx_desc_last_seg(__le32 *__txdesc, u32 __value) in set_tx_desc_last_seg() argument
177 le32p_replace_bits(__txdesc, __value, BIT(26)); in set_tx_desc_last_seg()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dfw.h150 #define SET_88E_H2CCMD_WOWLAN_FUNC_ENABLE(__cmd, __value) \ argument
151 SET_BITS_TO_LE_1BYTE(__cmd, 0, 1, __value)
152 #define SET_88E_H2CCMD_WOWLAN_PATTERN_MATCH_ENABLE(__cmd, __value) \ argument
153 SET_BITS_TO_LE_1BYTE(__cmd, 1, 1, __value)
154 #define SET_88E_H2CCMD_WOWLAN_MAGIC_PKT_ENABLE(__cmd, __value) \ argument
155 SET_BITS_TO_LE_1BYTE(__cmd, 2, 1, __value)
156 #define SET_88E_H2CCMD_WOWLAN_UNICAST_PKT_ENABLE(__cmd, __value) \ argument
157 SET_BITS_TO_LE_1BYTE(__cmd, 3, 1, __value)
158 #define SET_88E_H2CCMD_WOWLAN_ALL_PKT_DROP(__cmd, __value) \ argument
159 SET_BITS_TO_LE_1BYTE(__cmd, 4, 1, __value)
[all …]
Dtrx.h514 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument
516 le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); in set_earlymode_pktnum()
519 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument
521 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0()
524 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument
526 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1()
529 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument
531 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1()
534 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument
536 le32p_replace_bits(__paddr + 1, __value, GENMASK(7, 0)); in set_earlymode_len2_2()
[all …]
/linux-6.12.1/arch/loongarch/kernel/
Dunaligned.c32 #define READ_FPR(idx, __value) \ in read_fpr() argument
33 __asm__ __volatile__("movfr2gr.d %0, $f"#idx"\n\t" : "=r"(__value)); in read_fpr()
35 unsigned long __value; in read_fpr() local
39 READ_FPR(0, __value); in read_fpr()
42 READ_FPR(1, __value); in read_fpr()
45 READ_FPR(2, __value); in read_fpr()
48 READ_FPR(3, __value); in read_fpr()
51 READ_FPR(4, __value); in read_fpr()
54 READ_FPR(5, __value); in read_fpr()
57 READ_FPR(6, __value); in read_fpr()
[all …]
/linux-6.12.1/arch/arm/include/asm/
Dbug.h16 #define BUG_INSTR(__value) __inst_thumb16(__value) argument
19 #define BUG_INSTR(__value) __inst_arm(__value) argument
35 #define __BUG(__file, __line, __value) \ argument
37 asm volatile("1:\t" BUG_INSTR(__value) "\n" \
51 #define __BUG(__file, __line, __value) \ argument
53 asm volatile(BUG_INSTR(__value) "\n"); \
/linux-6.12.1/arch/mips/cavium-octeon/crypto/
Docteon-crypto.h44 __be64 __value; \
48 : [rt] "=d" (__value) \
51 be64_to_cpu(__value); \
118 u64 __value; \
122 : [rt] "=d" (__value) \
125 __value; \
192 u64 __value; \
196 : [rt] "=d" (__value) \
199 __value; \
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
Dtrx.h31 static inline void set_tx_desc_bmc(__le32 *__txdesc, u32 __value) in set_tx_desc_bmc() argument
33 le32p_replace_bits(__txdesc, __value, BIT(24)); in set_tx_desc_bmc()
36 static inline void set_tx_desc_agg_break(__le32 *__txdesc, u32 __value) in set_tx_desc_agg_break() argument
38 le32p_replace_bits((__txdesc + 1), __value, BIT(6)); in set_tx_desc_agg_break()
41 static inline void set_tx_desc_tx_desc_checksum(__le32 *__txdesc, u32 __value) in set_tx_desc_tx_desc_checksum() argument
43 le32p_replace_bits((__txdesc + 7), __value, GENMASK(15, 0)); in set_tx_desc_tx_desc_checksum()
/linux-6.12.1/drivers/net/wireless/ralink/rt2x00/
Drt2x00reg.h235 #define SET_FIELD(__reg, __type, __field, __value)\ argument
239 *(__reg) |= ((__value) << \
251 #define rt2x00_set_field32(__reg, __field, __value) \ argument
252 SET_FIELD(__reg, struct rt2x00_field32, __field, __value)
256 #define rt2x00_set_field16(__reg, __field, __value) \ argument
257 SET_FIELD(__reg, struct rt2x00_field16, __field, __value)
261 #define rt2x00_set_field8(__reg, __field, __value) \ argument
262 SET_FIELD(__reg, struct rt2x00_field8, __field, __value)
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
Dtrx_common.h336 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument
338 le32p_replace_bits(__paddr, __value, GENMASK(2, 0)); in set_earlymode_pktnum()
341 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument
343 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0()
346 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument
348 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1()
351 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument
353 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1()
356 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument
358 le32p_replace_bits((__paddr + 1), __value, GENMASK(7, 0)); in set_earlymode_len2_2()
[all …]
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dtrx.h354 static inline void set_earlymode_pktnum(__le32 *__paddr, u32 __value) in set_earlymode_pktnum() argument
356 le32p_replace_bits(__paddr, __value, GENMASK(3, 0)); in set_earlymode_pktnum()
359 static inline void set_earlymode_len0(__le32 *__paddr, u32 __value) in set_earlymode_len0() argument
361 le32p_replace_bits(__paddr, __value, GENMASK(15, 4)); in set_earlymode_len0()
364 static inline void set_earlymode_len1(__le32 *__paddr, u32 __value) in set_earlymode_len1() argument
366 le32p_replace_bits(__paddr, __value, GENMASK(27, 16)); in set_earlymode_len1()
369 static inline void set_earlymode_len2_1(__le32 *__paddr, u32 __value) in set_earlymode_len2_1() argument
371 le32p_replace_bits(__paddr, __value, GENMASK(31, 28)); in set_earlymode_len2_1()
374 static inline void set_earlymode_len2_2(__le32 *__paddr, u32 __value) in set_earlymode_len2_2() argument
376 le32p_replace_bits((__paddr + 1), __value, GENMASK(7, 0)); in set_earlymode_len2_2()
[all …]
/linux-6.12.1/drivers/mmc/host/
Ddw_mmc.h471 #define mci_fifo_writew(__value, __reg) __raw_writew(__reg, __value) argument
472 #define mci_fifo_writel(__value, __reg) __raw_writel(__reg, __value) argument
473 #define mci_fifo_writeq(__value, __reg) __raw_writeq(__reg, __value) argument
507 #define __raw_writeq(__value, __reg) \ argument
508 (*(volatile u64 __force *)(__reg) = (__value))
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_gt_sriov_pf_monitor.c139 #define __value(TAG, NAME, ...) , #NAME, data->guc.events[MAKE_XE_GUC_KLV_THRESHOLD_INDEX(TAG)] in xe_gt_sriov_pf_monitor_print_events() macro
142 n MAKE_XE_GUC_KLV_THRESHOLDS_SET(__value)); in xe_gt_sriov_pf_monitor_print_events()
145 #undef __value in xe_gt_sriov_pf_monitor_print_events()
/linux-6.12.1/tools/perf/util/
Dexpr.l14 static double __value(YYSTYPE *yylval, char *str, int token) in __value() function
32 return __value(yylval, text, NUMBER); in value()
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dtrx.h118 static inline void set_tx_desc_hwseq_sel_8723(__le32 *__txdesc, u32 __value) in set_tx_desc_hwseq_sel_8723() argument
120 le32p_replace_bits((__txdesc + 4), __value, GENMASK(7, 6)); in set_tx_desc_hwseq_sel_8723()
/linux-6.12.1/drivers/net/ethernet/cadence/
Dmacb.h797 #define macb_or_gem_writel(__bp, __reg, __value) \ argument
800 gem_writel((__bp), __reg, __value); \
802 macb_writel((__bp), __reg, __value); \
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h2829 #define N_BYTE_ALIGMENT(__value, __aligment) ((__aligment == 1) ? \ argument
2830 (__value) : (((__value + __aligment - 1) / __aligment) * __aligment))