Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hwmon/
H A Dtmp513.c160 u16 shunt_config; member
569 data->shunt_config); in tmp51x_init()
627 data->shunt_config |= TMP51X_BUS_VOLTAGE_MASK; in tmp51x_vbus_range_to_reg()
629 data->shunt_config &= ~TMP51X_BUS_VOLTAGE_MASK; in tmp51x_vbus_range_to_reg()
641 data->shunt_config |= CURRENT_SENSE_VOLTAGE_320_MASK; in tmp51x_pga_gain_to_reg()
643 data->shunt_config |= CURRENT_SENSE_VOLTAGE_160_MASK; in tmp51x_pga_gain_to_reg()
645 data->shunt_config |= CURRENT_SENSE_VOLTAGE_80_MASK; in tmp51x_pga_gain_to_reg()
647 data->shunt_config |= CURRENT_SENSE_VOLTAGE_40_MASK; in tmp51x_pga_gain_to_reg()
700 data->shunt_config = TMP51X_SHUNT_CONFIG_DEFAULT; in tmp51x_configure()