Home
last modified time | relevance | path

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

/drivers/thunderbolt/
Dswitch.c1416 tb_dbg(tb, " Max Port Number: %d\n", regs->max_port_number); in tb_dump_switch()
2166 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc()
2173 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_alloc()
2457 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_default_link_ports()
2465 if (i == sw->config.max_port_number || in tb_switch_default_link_ports()
2766 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_add()
Dtb_regs.h169 u32 max_port_number:6; member
Dtb.h516 if (WARN_ON(port > sw->config.max_port_number)) in tb_port_at()
762 (p) <= &(sw)->ports[(sw)->config.max_port_number]; (p)++)
Deeprom.c371 if (header->index > sw->config.max_port_number) { in tb_drom_parse_entry_port()
Dtest.c37 u8 upstream_port, u8 max_port_number) in alloc_switch() argument
52 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()
Dtb.c833 if (WARN_ON(index > sw->config.max_port_number)) in tb_find_pcie_down()
1237 if (ev->port > sw->config.max_port_number) { in tb_handle_hotplug()