Searched refs:max_port_number (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | switch.c | 1262 tb_dbg(tb, " Max Port Number: %d\n", regs->max_port_number); in tb_dump_switch() 1931 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc() 1938 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_alloc() 2208 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_default_link_ports() 2216 if (i == sw->config.max_port_number || in tb_switch_default_link_ports() 2487 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_add()
|
H A D | test.c | 37 u8 upstream_port, u8 max_port_number) in alloc_switch() 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() 36 alloc_switch(struct kunit *test, u64 route, u8 upstream_port, u8 max_port_number) alloc_switch() argument
|
H A D | tb_regs.h | 169 u32 max_port_number:6; member
|
H A D | tb.h | 445 if (WARN_ON(port > sw->config.max_port_number)) in tb_port_at() 675 (p) <= &(sw)->ports[(sw)->config.max_port_number]; (p)++)
|
H A D | eeprom.c | 346 if (header->index > sw->config.max_port_number) { in tb_drom_parse_entry_port()
|
H A D | tb.c | 782 if (WARN_ON(index > sw->config.max_port_number)) in tb_find_pcie_down() 1135 if (ev->port > sw->config.max_port_number) { in tb_handle_hotplug()
|
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | switch.c | 1477 tb_dbg(tb, " Max Port Number: %d\n", regs->max_port_number); in tb_dump_switch() 2311 sw->ports = kcalloc(sw->config.max_port_number + 1, sizeof(*sw->ports), in tb_switch_alloc() 2318 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_alloc() 2630 for (i = 1; i <= sw->config.max_port_number; i++) { in tb_switch_default_link_ports() 2638 if (i == sw->config.max_port_number || in tb_switch_default_link_ports() 2942 for (i = 0; i <= sw->config.max_port_number; i++) { in tb_switch_add()
|
H A D | tb_regs.h | 173 u32 max_port_number:6; member
|
H A D | eeprom.c | 371 if (header->index > sw->config.max_port_number) { in tb_drom_parse_entry_port()
|
H A D | tb.h | 569 if (WARN_ON(port > sw->config.max_port_number)) in tb_port_at() 822 (p) <= &(sw)->ports[(sw)->config.max_port_number]; (p)++)
|
H A D | test.c | 37 u8 upstream_port, u8 max_port_number) in alloc_switch() 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() 36 alloc_switch(struct kunit *test, u64 route, u8 upstream_port, u8 max_port_number) alloc_switch() argument
|
H A D | tb.c | 1136 if (WARN_ON(index > sw->config.max_port_number)) in tb_find_pcie_down() 1679 if (ev->port > sw->config.max_port_number) { in tb_handle_hotplug()
|
Completed in 26 milliseconds