Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dcros_usbpd-charger.c49 int num_charger_ports; member
576 charger->num_charger_ports = cros_usbpd_charger_get_num_ports(charger); in cros_usbpd_charger_probe()
577 if (charger->num_charger_ports < 0) { in cros_usbpd_charger_probe()
586 charger->num_charger_ports = charger->num_usbpd_ports; in cros_usbpd_charger_probe()
589 if (charger->num_charger_ports <= 0) { in cros_usbpd_charger_probe()
604 if (charger->num_charger_ports < charger->num_usbpd_ports || in cros_usbpd_charger_probe()
605 charger->num_charger_ports > (charger->num_usbpd_ports + 1)) { in cros_usbpd_charger_probe()
611 for (i = 0; i < charger->num_charger_ports; i++) { in cros_usbpd_charger_probe()