Home
last modified time | relevance | path

Searched defs:DIV_TO_REG (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Daspeed-g6-pwm-tach.c114 #define DIV_TO_REG(divisor) (ilog2(divisor) >> 1) macro
H A Dw83l786ng.c100 DIV_TO_REG(long val) in DIV_TO_REG() function
H A Dasb100.c169 static u8 DIV_TO_REG(long val) in DIV_TO_REG() function
H A Dvia686a.c298 #define DIV_TO_REG(val) ((val) == 8 ? 3 : (val) == 4 ? 2 : (val) == 1 ? 0 : 1) macro
H A Dsis5595.c159 static inline u8 DIV_TO_REG(int val) in DIV_TO_REG() function
H A Dw83792d.c248 DIV_TO_REG(long val) in DIV_TO_REG() function
H A Dw83781d.c182 DIV_TO_REG(long val, enum chips type) in DIV_TO_REG() function
H A Dw83627hf.c334 static inline u8 DIV_TO_REG(long val) in DIV_TO_REG() function
H A Dadm1026.c203 #define DIV_TO_REG(val) ((val) >= 8 ? 3 : (val) >= 4 ? 2 : (val) >= 2 ? 1 : 0) macro
H A Dit87.c708 static int DIV_TO_REG(int val) in DIV_TO_REG() function