Searched refs:chargetype (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/power/supply/ |
| D | gpio-charger.c | 70 const char *chargetype; in gpio_charger_get_type() local 72 if (!device_property_read_string(dev, "charger-type", &chargetype)) { in gpio_charger_get_type() 73 if (!strcmp("unknown", chargetype)) in gpio_charger_get_type() 75 if (!strcmp("battery", chargetype)) in gpio_charger_get_type() 77 if (!strcmp("ups", chargetype)) in gpio_charger_get_type() 79 if (!strcmp("mains", chargetype)) in gpio_charger_get_type() 81 if (!strcmp("usb-sdp", chargetype)) in gpio_charger_get_type() 83 if (!strcmp("usb-dcp", chargetype)) in gpio_charger_get_type() 85 if (!strcmp("usb-cdp", chargetype)) in gpio_charger_get_type() 87 if (!strcmp("usb-aca", chargetype)) in gpio_charger_get_type() [all …]
|