Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dtmp513.c177 static inline u8 tmp51x_get_pga_shift(struct tmp51x_data *data) in tmp51x_get_pga_shift() function
198 *val = sign_extend32(regval, 17 - tmp51x_get_pga_shift(data)); in tmp51x_get_value()
256 max_val = U16_MAX >> tmp51x_get_pga_shift(data); in tmp51x_set_value()