Searched refs:status_gpio (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/include/linux/power/
H A Dbq24735-charger.h31 int status_gpio; member in struct:bq24735_platform
/linux-4.1.27/drivers/power/
H A Dbq24735-charger.c159 ret = gpio_get_value_cansleep(pdata->status_gpio); bq24735_charger_is_present()
224 pdata->status_gpio = of_get_named_gpio_flags(np, "ti,ac-detect-gpios", bq24735_parse_dt_data()
318 if (gpio_is_valid(charger->pdata->status_gpio)) { bq24735_charger_probe()
320 charger->pdata->status_gpio, bq24735_charger_probe()
325 charger->pdata->status_gpio, ret); bq24735_charger_probe()

Completed in 133 milliseconds