Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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)
/kernel/linux/linux-5.10/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
199 __set(max_msgs, saved_max_msgs, in shutdown()
202 __set(max_msgsize, saved_max_msgsize, in shutdown()
/kernel/linux/linux-5.10/include/linux/
Ddebugfs.h48 #define DEFINE_DEBUGFS_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
52 return simple_attr_open(inode, file, __get, __set, __fmt); \
Dfs.h3351 #define DEFINE_SIMPLE_ATTRIBUTE(__fops, __get, __set, __fmt) \ argument
3355 return simple_attr_open(inode, file, __get, __set, __fmt); \
/kernel/linux/linux-5.10/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);