Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/supply/
H A Dcros_usbpd-charger.c51 int num_usbpd_ports; member
93 return port->port_number >= port->charger->num_usbpd_ports; in cros_usbpd_charger_port_is_dedicated()
567 charger->num_usbpd_ports = in cros_usbpd_charger_probe()
569 if (charger->num_usbpd_ports <= 0) { in cros_usbpd_charger_probe()
587 charger->num_charger_ports = charger->num_usbpd_ports; 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()