Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
H A Drt9756.c761 unsigned int shunt_resistor_uohms = 2000, rsense_sel; in rt9756_config_batsense_resistor() local
763 device_property_read_u32(data->dev, "shunt-resistor-micro-ohms", &shunt_resistor_uohms); in rt9756_config_batsense_resistor()
765 if (!shunt_resistor_uohms || shunt_resistor_uohms > 5000) in rt9756_config_batsense_resistor()
768 data->real_resistor = shunt_resistor_uohms; in rt9756_config_batsense_resistor()
771 if (shunt_resistor_uohms <= 1000) { in rt9756_config_batsense_resistor()
774 } else if (shunt_resistor_uohms <= 2000) { in rt9756_config_batsense_resistor()