Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dgpio-charger.c36 struct gpio_descs *current_limit_gpios; member
59 int ndescs = gpio_charger->current_limit_gpios->ndescs; in set_charge_current_limit()
60 struct gpio_desc **gpios = gpio_charger->current_limit_gpios->desc; in set_charge_current_limit()
191 gpio_charger->current_limit_gpios = devm_gpiod_get_array_optional(dev, in init_charge_current_limit()
193 if (IS_ERR(gpio_charger->current_limit_gpios)) { in init_charge_current_limit()
195 return PTR_ERR(gpio_charger->current_limit_gpios); in init_charge_current_limit()
198 if (!gpio_charger->current_limit_gpios) in init_charge_current_limit()