Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Df71805f.c196 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 Dw83627ehf.c291 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 Dnct6683.c487 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 Dw83795.c225 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 Dit87.c662 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 Dnct6775-core.c1002 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()