Searched refs:max_port_number (Results 1 – 6 of 6) sorted by relevance
169 u32 max_port_number:6; member
1500 tb_dbg(tb, " Max Port Number: %d\n", regs->max_port_number); in tb_dump_switch()2290 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc()2297 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_alloc()2588 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_default_link_ports()2596 if (i == sw->config.max_port_number || in tb_switch_default_link_ports()2870 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_add()
538 if (WARN_ON(port > sw->config.max_port_number)) in tb_port_at()786 (p) <= &(sw)->ports[(sw)->config.max_port_number]; (p)++)
371 if (header->index > sw->config.max_port_number) { in tb_drom_parse_entry_port()
806 if (WARN_ON(index > sw->config.max_port_number)) in tb_find_pcie_down()1222 if (ev->port > sw->config.max_port_number) { in tb_handle_hotplug()
37 u8 upstream_port, u8 max_port_number) in alloc_switch() argument52 sw->config.max_port_number = max_port_number; in alloc_switch()54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch()59 for (i = 0; i <= sw->config.max_port_number; i++) { in alloc_switch()