Home | History | Annotate | Download | only in cros

Lines Matching refs:ports

390         ports: list EC_USBPD_Port instances
393 get_num_ports: get number of USB-PD ports device has.
396 _num_ports: integer number of USB-PD ports device has.
401 @param num_ports: total number of USB-PD ports on device. This is an
405 self.ports = list()
411 raise error.TestNAError("Device has no USB-PD ports")
414 self.ports.append(EC_USBPD_Port(i))
417 """Determine the number of ports for device.
420 to EC_CMD_USB_PD_PORTS to determine the number of ports.
423 surface the number of ports directly instead of via usbpdpower
425 @returns number of ports.