Searched refs:gpio_charger (Results 1 – 1 of 1) sorted by relevance
25 struct gpio_charger { struct56 static int set_charge_current_limit(struct gpio_charger *gpio_charger, int val) in set_charge_current_limit() argument88 struct gpio_charger *gpio_charger = psy_to_gpio_charger(psy); in gpio_charger_get_property() local113 struct gpio_charger *gpio_charger = psy_to_gpio_charger(psy); in gpio_charger_set_property() local186 struct gpio_charger *gpio_charger) in init_charge_current_limit() argument256 struct gpio_charger *gpio_charger; in gpio_charger_probe() local268 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 …]