Searched refs:in_from_reg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/hwmon/ |
H A D | f71805f.c | 196 static inline long in_from_reg(u8 reg) in in_from_reg() function 498 return sprintf(buf, "%ld\n", in_from_reg(data->in[nr])); in show_in() 508 return sprintf(buf, "%ld\n", in_from_reg(data->in_high[nr])); in show_in_max() 518 return sprintf(buf, "%ld\n", in_from_reg(data->in_low[nr])); in show_in_min()
|
H A D | w83627ehf.c | 291 static inline long in_from_reg(u8 reg, u8 nr, const u16 *scale_in) in in_from_reg() function 1470 *val = in_from_reg(data->in[channel], channel, data->scale_in); in w83627ehf_do_read_in() 1473 *val = in_from_reg(data->in_min[channel], channel, in w83627ehf_do_read_in() 1477 *val = in_from_reg(data->in_max[channel], channel, in w83627ehf_do_read_in()
|
H A D | nct6683.c | 487 static inline long in_from_reg(u16 reg, u8 src) in in_from_reg() function 672 in_from_reg(data->in[index][nr], data->in_index[index])); in show_in_reg()
|
H A D | w83795.c | 225 static inline u16 in_from_reg(u8 index, u16 val) in in_from_reg() function 1503 val = in_from_reg(index, val); in show_in()
|
H A D | it87.c | 662 static int in_from_reg(const struct it87_data *data, int nr, int val) in in_from_reg() function 1000 return sprintf(buf, "%d\n", in_from_reg(data, nr, data->in[nr][index])); in show_in()
|
H A D | nct6775-core.c | 1002 static inline long in_from_reg(u8 reg, u8 nr, const u16 *scales) in in_from_reg() function 1725 in_from_reg(data->in[nr][index], nr, data->scale_in)); in show_in_reg()
|