EC_USB_PD_MAX_PORTS
char read_buf[EC_USB_PD_MAX_PORTS * 40], *p = read_buf;
for (i = 0; i < EC_USB_PD_MAX_PORTS; ++i) {
if (typec->num_ports > EC_USB_PD_MAX_PORTS) {
typec->num_ports, EC_USB_PD_MAX_PORTS);
typec->num_ports = EC_USB_PD_MAX_PORTS;
struct cros_typec_port *ports[EC_USB_PD_MAX_PORTS];
for (i = 0; i < EC_USB_PD_MAX_PORTS; i++) {
if (index >= EC_USB_PD_MAX_PORTS) {
struct cros_typec_port *ports[EC_USB_PD_MAX_PORTS];
struct port_data *ports[EC_USB_PD_MAX_PORTS];