Home
last modified time | relevance | path

Searched refs:__set (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/drivers/phy/qualcomm/
Dphy-qcom-ipq806x-sata.c24 #define __set(v, a, b) (((v) << (b)) & GENMASK(a, b)) macro
27 #define SATA_PHY_P0_PARAM0_P0_TX_PREEMPH_GEN3(x) __set(x, 17, 12)
29 #define SATA_PHY_P0_PARAM0_P0_TX_PREEMPH_GEN2(x) __set(x, 11, 6)
31 #define SATA_PHY_P0_PARAM0_P0_TX_PREEMPH_GEN1(x) __set(x, 5, 0)
35 #define SATA_PHY_P0_PARAM1_RESERVED_BITS31_21(x) __set(x, 31, 21)
36 #define SATA_PHY_P0_PARAM1_P0_TX_AMPLITUDE_GEN3(x) __set(x, 20, 14)
38 #define SATA_PHY_P0_PARAM1_P0_TX_AMPLITUDE_GEN2(x) __set(x, 13, 7)
40 #define SATA_PHY_P0_PARAM1_P0_TX_AMPLITUDE_GEN1(x) __set(x, 6, 0)
44 #define SATA_PHY_P0_PARAM2_RX_EQ(x) __set(x, 20, 18)
/linux-6.6.21/tools/include/nolibc/
Dtypes.h127 fd_set *__set = (set); \
130 __set->fds[__fd / FD_SETIDXMASK] &= \
135 fd_set *__set = (set); \
138 __set->fds[__fd / FD_SETIDXMASK] |= \
143 fd_set *__set = (set); \
147 __r = !!(__set->fds[__fd / FD_SETIDXMASK] & \
153 fd_set *__set = (set); \
157 __set->fds[__idx] = 0; \
/linux-6.6.21/tools/testing/selftests/mqueue/
Dmq_open_tests.c61 static inline void __set(FILE *stream, int value, char *err_msg);
71 static inline void __set(FILE *stream, int value, char *err_msg) in __set() function
101 __set(def_msgs, saved_def_msgs, in shutdown()
104 __set(def_msgsize, saved_def_msgsize, in shutdown()
108 __set(max_msgs, saved_max_msgs, in shutdown()
111 __set(max_msgsize, saved_max_msgsize, in shutdown()
Dmq_perf_tests.c153 static inline void __set(FILE *stream, int value, char *err_msg);
165 static inline void __set(FILE *stream, int value, char *err_msg) in __set() function
202 __set(max_msgs, saved_max_msgs, in shutdown()
205 __set(max_msgsize, saved_max_msgsize, in shutdown()
/linux-6.6.21/include/linux/
Ddebugfs.h48 #define DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument
52 return simple_attr_open(inode, file, __get, __set, __fmt); \
63 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
64 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false)
66 #define DEFINE_DEBUGFS_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument
67 DEFINE_DEBUGFS_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
Dfs.h3316 #define DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, __is_signed) \ argument
3320 return simple_attr_open(inode, file, __get, __set, __fmt); \
3331 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
3332 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, false)
3334 #define DEFINE_SIMPLE_ATTRIBUTE_SIGNED(__fops, __get, __set, __fmt) \ argument
3335 DEFINE_SIMPLE_ATTRIBUTE_XSIGNED(__fops, __get, __set, __fmt, true)
/linux-6.6.21/drivers/thunderbolt/
Ddma_test.c358 #define DMA_TEST_DEBUGFS_ATTR(__fops, __get, __validate, __set) \ argument
384 __set(dt, val); \
/linux-6.6.21/net/netfilter/
Dnft_set_rbtree.c237 nft_rbtree_gc_elem(const struct nft_set *__set, struct nft_rbtree *priv, in nft_rbtree_gc_elem() argument
240 struct nft_set *set = (struct nft_set *)__set; in nft_rbtree_gc_elem()
/linux-6.6.21/arch/x86/kvm/vmx/
Dvmx.h460 BUILD_VMX_MSR_BITMAP_HELPERS(void, set, __set) in BUILD_VMX_MSR_BITMAP_HELPERS()
/linux-6.6.21/arch/powerpc/platforms/cell/spufs/
Dfile.c141 #define DEFINE_SPUFS_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
145 return spufs_attr_open(inode, file, __get, __set, __fmt); \
1218 #define DEFINE_SPUFS_ATTRIBUTE(__name, __get, __set, __fmt, __acquire) \ argument
1241 DEFINE_SPUFS_SIMPLE_ATTRIBUTE(__name, __##__get, __set, __fmt);