Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/thunderbolt/
Dtb_regs.h169 u32 max_port_number:6; member
Dswitch.c1500 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()
Dtb.h538 if (WARN_ON(port > sw->config.max_port_number)) in tb_port_at()
786 (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()
Dtb.c806 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()
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()