Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Dtosa_battery.c46 int gpio_temp; member
78 if (bat->gpio_temp < 0 || bat->adc_temp < 0) in tosa_read_temp()
82 gpio_set_value(bat->gpio_temp, 1); in tosa_read_temp()
86 gpio_set_value(bat->gpio_temp, 0); in tosa_read_temp()
269 .gpio_temp = TOSA_GPIO_BAT1_TH_ON,
291 .gpio_temp = TOSA_GPIO_BAT0_TH_ON,
310 .gpio_temp = -1,
Dcollie_battery.c49 int gpio_temp; member
78 if (bat->gpio_temp < 0 || bat->adc_temp < 0) in collie_read_temp()
82 gpio_set_value(bat->gpio_temp, 1); in collie_read_temp()
87 gpio_set_value(bat->gpio_temp, 0); in collie_read_temp()
248 .gpio_temp = COLLIE_GPIO_TMP_ON,
278 .gpio_temp = -1,