Searched refs:max_port_number (Results 1 – 7 of 7) sorted by relevance
41 for (i = 1; i <= sw->config.max_port_number; i++) in tb_scan_switch()112 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_free_unplugged_children()134 for (i = 1; i <= sw->config.max_port_number; i++) in tb_find_pci_up_port()149 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_find_unused_down_port()185 for (i = 1; i <= tb->root_switch->config.max_port_number; i++) { in tb_activate_pcie_devices()268 if (ev->port > sw->config.max_port_number) { in tb_handle_hotplug()
631 tb_info(tb, " Max Port Number: %d\n", sw->max_port_number); in tb_dump_switch()1184 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc()1189 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_alloc()1451 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_add()1502 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_remove()1535 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_sw_set_unplugged()1576 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_resume()1599 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_suspend()
151 u32 max_port_number:6; member
272 if (WARN_ON(port > sw->config.max_port_number)) in tb_port_at()
341 if (header->index > sw->config.max_port_number) { in tb_drom_parse_entry_port()
1765 for (i = 1; i <= sw->config.max_port_number; i++) { in icm_unplug_children()1785 for (i = 1; i <= sw->config.max_port_number; i++) { in icm_free_unplugged_children()
1291 for (i = 1; i <= sw->config.max_port_number; i++) { in switch_find_xdomain()