Searched refs:charge_gpio (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | z2_battery.c | 98 charger->bat_status = (info->charge_gpio >= 0) ? in z2_batt_update() 99 (gpio_get_value(info->charge_gpio) ? in z2_batt_update() 134 if (info->charge_gpio >= 0) in z2_batt_ps_init() 150 if (info->charge_gpio >= 0) in z2_batt_ps_init() 209 if (info->charge_gpio >= 0 && gpio_is_valid(info->charge_gpio)) { in z2_batt_probe() 210 ret = gpio_request(info->charge_gpio, "BATT CHRG"); in z2_batt_probe() 214 ret = gpio_direction_input(info->charge_gpio); in z2_batt_probe() 218 irq_set_irq_type(gpio_to_irq(info->charge_gpio), in z2_batt_probe() 220 ret = request_irq(gpio_to_irq(info->charge_gpio), in z2_batt_probe() 248 if (info->charge_gpio >= 0 && gpio_is_valid(info->charge_gpio)) in z2_batt_probe() [all …]
|
D | wm97xx_battery.c | 103 bat_status = (pdata->charge_gpio >= 0) ? in wm97xx_bat_update() 104 (gpio_get_value(pdata->charge_gpio) ? in wm97xx_bat_update() 174 if (gpio_is_valid(pdata->charge_gpio)) { in wm97xx_bat_probe() 175 ret = gpio_request(pdata->charge_gpio, "BATT CHRG"); in wm97xx_bat_probe() 178 ret = gpio_direction_input(pdata->charge_gpio); in wm97xx_bat_probe() 181 ret = request_irq(gpio_to_irq(pdata->charge_gpio), in wm97xx_bat_probe() 207 if (pdata->charge_gpio >= 0) in wm97xx_bat_probe() 245 if (gpio_is_valid(pdata->charge_gpio)) in wm97xx_bat_probe() 246 free_irq(gpio_to_irq(pdata->charge_gpio), dev); in wm97xx_bat_probe() 248 if (gpio_is_valid(pdata->charge_gpio)) in wm97xx_bat_probe() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | z2_battery.h | 9 int charge_gpio; member
|
D | wm97xx.h | 297 int charge_gpio; member
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
D | palmte2.c | 276 .charge_gpio = -1,
|
D | palm27x.c | 215 .charge_gpio = -1,
|
D | z2.c | 491 .charge_gpio = GPIO0_ZIPITZ2_AC_DETECT,
|
D | mioa701.c | 580 .charge_gpio = -1,
|