Home
last modified time | relevance | path

Searched defs:IN_TO_REG (Results 1 - 25 of 38) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dadm1025.c82 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ macro
H A Dsmsc47m192.c65 static inline u8 IN_TO_REG(unsigned long val, int n) in IN_TO_REG() function
H A Dadm9240.c87 static inline u8 IN_TO_REG(unsigned long val, int n) in IN_TO_REG() function
H A Dgl518sm.c91 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) macro
H A Dlm80.c62 #define IN_TO_REG(val) (clamp_val(((val) + 5) / 10, 0, 255)) macro
H A Dvia686a.c114 static inline u8 IN_TO_REG(long val, int in_num) in IN_TO_REG() function
H A Dsis5595.c119 static inline u8 IN_TO_REG(unsigned long val) in IN_TO_REG() function
H A Dgl520sm.c203 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) macro
H A Dasb100.c102 static u8 IN_TO_REG(unsigned val) in IN_TO_REG() function
H A Dw83792d.c217 #define IN_TO_REG(nr, val) (((nr) <= 1) ? ((val) / 2) : \ macro
H A Dw83l786ng.c95 #define IN_TO_REG(val) (clamp_val((((val) + 4) / 8), 0, 255)) macro
H A Dlm87.c109 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ macro
H A Dlm78.c72 static inline u8 IN_TO_REG(unsigned long val) in IN_TO_REG() function
H A Dvt1211.c148 #define IN_TO_REG(ix, val) (clamp_val((ix) == 5 ? \ macro
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dadm1025.c82 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ macro
H A Dsmsc47m192.c65 static inline u8 IN_TO_REG(unsigned long val, int n) in IN_TO_REG() function
H A Dsis5595.c120 static inline u8 IN_TO_REG(unsigned long val) in IN_TO_REG() function
H A Dadm9240.c87 static inline u8 IN_TO_REG(unsigned long val, int n) in IN_TO_REG() function
H A Dgl518sm.c91 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) macro
H A Dlm80.c62 #define IN_TO_REG(val) (clamp_val(((val) + 5) / 10, 0, 255)) macro
H A Dvia686a.c116 static inline u8 IN_TO_REG(long val, int in_num) in IN_TO_REG() function
H A Dasb100.c102 static u8 IN_TO_REG(unsigned val) in IN_TO_REG() function
H A Dgl520sm.c203 #define IN_TO_REG(val) DIV_ROUND_CLOSEST(IN_CLAMP(val), 19) macro
H A Dlm87.c109 #define IN_TO_REG(val, scale) ((val) <= 0 ? 0 : \ macro
H A Dlm78.c72 static inline u8 IN_TO_REG(unsigned long val) in IN_TO_REG() function

Completed in 32 milliseconds

12