Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dgpio-charger.c140 const char *chargetype; in gpio_charger_get_type() local
142 if (!device_property_read_string(dev, "charger-type", &chargetype)) { in gpio_charger_get_type()
143 if (!strcmp("unknown", chargetype)) in gpio_charger_get_type()
145 if (!strcmp("battery", chargetype)) in gpio_charger_get_type()
147 if (!strcmp("ups", chargetype)) in gpio_charger_get_type()
149 if (!strcmp("mains", chargetype)) in gpio_charger_get_type()
151 if (!strcmp("usb-sdp", chargetype)) in gpio_charger_get_type()
153 if (!strcmp("usb-dcp", chargetype)) in gpio_charger_get_type()
155 if (!strcmp("usb-cdp", chargetype)) in gpio_charger_get_type()
157 if (!strcmp("usb-aca", chargetype)) in gpio_charger_get_type()
[all …]