Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/power/supply/
H A Dbq2515x_charger.c164 * @ac_detect_gpio: power good (PG) pin
181 struct gpio_desc *ac_detect_gpio; member
302 if (bq2515x->ac_detect_gpio) in bq2515x_update_ps_status()
303 val = gpiod_get_value_cansleep(bq2515x->ac_detect_gpio); in bq2515x_update_ps_status()
1012 bq2515x->ac_detect_gpio = devm_gpiod_get_optional(bq2515x->dev, in bq2515x_read_properties()
1014 if (IS_ERR(bq2515x->ac_detect_gpio)) { in bq2515x_read_properties()
1015 ret = PTR_ERR(bq2515x->ac_detect_gpio); in bq2515x_read_properties()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dbq2515x_charger.c164 * @ac_detect_gpio: power good (PG) pin
181 struct gpio_desc *ac_detect_gpio; member
302 if (bq2515x->ac_detect_gpio) in bq2515x_update_ps_status()
303 val = gpiod_get_value_cansleep(bq2515x->ac_detect_gpio); in bq2515x_update_ps_status()
1012 bq2515x->ac_detect_gpio = devm_gpiod_get_optional(bq2515x->dev, in bq2515x_read_properties()
1014 if (IS_ERR(bq2515x->ac_detect_gpio)) { in bq2515x_read_properties()
1015 ret = PTR_ERR(bq2515x->ac_detect_gpio); in bq2515x_read_properties()

Completed in 4 milliseconds