Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dgpio-charger.c25 struct gpio_charger { struct
56 static int set_charge_current_limit(struct gpio_charger *gpio_charger, int val) in set_charge_current_limit() argument
88 struct gpio_charger *gpio_charger = psy_to_gpio_charger(psy); in gpio_charger_get_property() local
113 struct gpio_charger *gpio_charger = psy_to_gpio_charger(psy); in gpio_charger_set_property() local
186 struct gpio_charger *gpio_charger) in init_charge_current_limit() argument
256 struct gpio_charger *gpio_charger; in gpio_charger_probe() local
268 gpio_charger = devm_kzalloc(dev, sizeof(*gpio_charger), GFP_KERNEL); in gpio_charger_probe()
269 if (!gpio_charger) in gpio_charger_probe()
339 gpio_charger->irq = gpio_charger_get_irq(dev, gpio_charger->charger, in gpio_charger_probe()
356 struct gpio_charger *gpio_charger = dev_get_drvdata(dev); in gpio_charger_suspend() local
[all …]