Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dcros_usbpd-charger.c50 int num_charger_ports; member
577 charger->num_charger_ports = cros_usbpd_charger_get_num_ports(charger); in cros_usbpd_charger_probe()
578 if (charger->num_charger_ports < 0) { in cros_usbpd_charger_probe()
587 charger->num_charger_ports = charger->num_usbpd_ports; in cros_usbpd_charger_probe()
590 if (charger->num_charger_ports <= 0) { in cros_usbpd_charger_probe()
605 if (charger->num_charger_ports < charger->num_usbpd_ports || in cros_usbpd_charger_probe()
606 charger->num_charger_ports > (charger->num_usbpd_ports + 1)) { in cros_usbpd_charger_probe()
612 for (i = 0; i < charger->num_charger_ports; i++) { in cros_usbpd_charger_probe()