Home
last modified time | relevance | path

Searched refs:tb_switch (Results 1 – 21 of 21) sorted by relevance

/linux-6.3-rc2/drivers/thunderbolt/
A Dtb.h179 struct tb_switch { struct
276 struct tb_switch *sw;
696 const struct tb_switch *__sw = (sw); \
797 int tb_switch_add(struct tb_switch *sw);
800 int tb_switch_resume(struct tb_switch *sw);
801 int tb_switch_reset(struct tb_switch *sw);
823 static inline struct tb_switch *tb_switch_get(struct tb_switch *sw) in tb_switch_get()
847 static inline struct tb_switch *tb_switch_parent(struct tb_switch *sw) in tb_switch_parent()
1119 int tb_drom_read(struct tb_switch *sw);
1134 int tb_lc_set_sleep(struct tb_switch *sw);
[all …]
A Dtmu.c235 int tb_switch_tmu_init(struct tb_switch *sw) in tb_switch_tmu_init()
285 int tb_switch_tmu_post_time(struct tb_switch *sw) in tb_switch_tmu_post_time()
384 int tb_switch_tmu_disable(struct tb_switch *sw) in tb_switch_tmu_disable()
401 struct tb_switch *parent = tb_switch_parent(sw); in tb_switch_tmu_disable()
445 struct tb_switch *parent = tb_switch_parent(sw); in __tb_switch_tmu_off()
475 struct tb_switch *parent = tb_switch_parent(sw); in __tb_switch_tmu_enable_bidirectional()
540 struct tb_switch *parent = tb_switch_parent(sw); in __tb_switch_tmu_enable_unidirectional()
579 struct tb_switch *parent = tb_switch_parent(sw); in __tb_switch_tmu_change_mode_prev()
602 struct tb_switch *parent = tb_switch_parent(sw); in __tb_switch_tmu_change_mode()
653 int tb_switch_tmu_enable(struct tb_switch *sw) in tb_switch_tmu_enable()
[all …]
A Dlc.c16 int tb_lc_read_uuid(struct tb_switch *sw, u32 *uuid) in tb_lc_read_uuid()
32 struct tb_switch *sw = port->sw; in find_port_lc_cap()
51 struct tb_switch *sw = port->sw; in tb_lc_set_port_configured()
109 struct tb_switch *sw = port->sw; in tb_lc_set_xdomain_configured()
173 struct tb_switch *sw = port->sw; in tb_lc_start_lane_initialization()
205 struct tb_switch *sw = port->sw; in tb_lc_is_clx_supported()
228 struct tb_switch *sw = port->sw; in tb_lc_is_usb_plugged()
254 struct tb_switch *sw = port->sw; in tb_lc_is_xhci_connected()
274 struct tb_switch *sw = port->sw; in __tb_lc_xhci_connect()
406 int tb_lc_set_sleep(struct tb_switch *sw) in tb_lc_set_sleep()
[all …]
A Dswitch.c829 const struct tb_switch *sw) in tb_switch_is_reachable()
1600 int tb_switch_reset(struct tb_switch *sw) in tb_switch_reset()
1704 struct tb_switch *sw = tb_to_switch(dev); in authorized_show()
1712 struct tb_switch *sw; in disapprove_switch()
1792 struct tb_switch *sw = tb_to_switch(dev); in authorized_store()
1814 struct tb_switch *sw = tb_to_switch(dev); in boot_show()
1823 struct tb_switch *sw = tb_to_switch(dev); in device_show()
2331 struct tb_switch *sw; in tb_switch_alloc()
2447 struct tb_switch *
2450 struct tb_switch *sw; in tb_switch_alloc_safe_mode()
[all …]
A Deeprom.c42 static int tb_eeprom_active(struct tb_switch *sw, bool enable) in tb_eeprom_active()
96 static int tb_eeprom_out(struct tb_switch *sw, u8 val) in tb_eeprom_out()
116 static int tb_eeprom_in(struct tb_switch *sw, u8 *val) in tb_eeprom_in()
302 int tb_drom_read_uid_only(struct tb_switch *sw, u64 *uid) in tb_drom_read_uid_only()
324 static int tb_drom_parse_entry_generic(struct tb_switch *sw, in tb_drom_parse_entry_generic()
360 static int tb_drom_parse_entry_port(struct tb_switch *sw, in tb_drom_parse_entry_port()
441 static int tb_drom_copy_efi(struct tb_switch *sw, u16 *size) in tb_drom_copy_efi()
472 static int tb_drom_copy_nvm(struct tb_switch *sw, u16 *size) in tb_drom_copy_nvm()
547 static int tb_drom_parse(struct tb_switch *sw) in tb_drom_parse()
575 static int usb4_drom_parse(struct tb_switch *sw) in usb4_drom_parse()
[all …]
A Dquirks.c10 static void quirk_force_power_link(struct tb_switch *sw) in quirk_force_power_link()
15 static void quirk_dp_credit_allocation(struct tb_switch *sw) in quirk_dp_credit_allocation()
28 void (*hook)(struct tb_switch *sw);
48 void tb_check_quirks(struct tb_switch *sw) in tb_check_quirks()
A Dusb4.c234 int usb4_switch_setup(struct tb_switch *sw) in usb4_switch_setup()
237 struct tb_switch *parent; in usb4_switch_setup()
317 struct tb_switch *sw = data; in usb4_switch_drom_read_block()
462 int usb4_switch_set_sleep(struct tb_switch *sw) in usb4_switch_set_sleep()
490 int usb4_switch_nvm_sector_size(struct tb_switch *sw) in usb4_switch_nvm_sector_size()
510 struct tb_switch *sw = data; in usb4_switch_nvm_read_block()
576 struct tb_switch *sw = data; in usb4_switch_nvm_write_next_block()
624 int usb4_switch_nvm_authenticate(struct tb_switch *sw) in usb4_switch_nvm_authenticate()
700 int usb4_switch_credits_init(struct tb_switch *sw) in usb4_switch_credits_init()
1001 int usb4_switch_add_ports(struct tb_switch *sw) in usb4_switch_add_ports()
[all …]
A Ddma_port.c55 struct tb_switch *sw;
168 static int dma_find_port(struct tb_switch *sw) in dma_find_port()
201 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw) in dma_port_alloc()
243 struct tb_switch *sw = dma->sw; in dma_port_wait_for_completion()
281 struct tb_switch *sw = dma->sw; in dma_port_request()
306 struct tb_switch *sw = dma->sw; in dma_port_flash_read_block()
328 struct tb_switch *sw = dma->sw; in dma_port_flash_write_block()
422 struct tb_switch *sw = dma->sw; in dma_port_flash_update_auth_status()
A Dtest.c39 struct tb_switch *sw; in alloc_switch()
74 struct tb_switch *sw; in alloc_host()
156 struct tb_switch *sw; in alloc_host_usb4()
178 struct tb_switch *sw; in alloc_dev_default()
327 struct tb_switch *sw; in alloc_dev_with_dpin()
2301 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_PCIE_TUNNEL()
2331 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DP_TUNNEL1()
2368 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DP_TUNNEL2()
2405 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_USB3_TUNNEL()
2435 struct tb_switch *host, struct tb_switch *dev) in TB_TEST_DMA_TUNNEL1()
[all …]
A Dcap.c20 struct tb_switch *sw = port->sw; in tb_port_enable_tmu()
145 int tb_switch_next_cap(struct tb_switch *sw, unsigned int offset) in tb_switch_next_cap()
188 int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap) in tb_switch_find_cap()
221 int tb_switch_find_vse_cap(struct tb_switch *sw, enum tb_switch_vse_cap vsec) in tb_switch_find_vse_cap()
A Ddebugfs.c180 struct tb_switch *sw = s->private; in switch_regs_write()
554 struct tb_switch *sw = port->sw; in margining_run_write()
954 struct tb_switch *parent_sw; in margining_switch_init()
970 struct tb_switch *parent_sw; in margining_switch_remove()
988 struct tb_switch *parent_sw; in margining_xdomain_init()
999 struct tb_switch *parent_sw; in margining_xdomain_remove()
1035 struct tb_switch *sw = port->sw; in counters_write()
1235 struct tb_switch *sw = port->sw; in port_regs_show()
1339 struct tb_switch *sw = s->private; in switch_regs_show()
1391 struct tb_switch *sw = port->sw; in path_show()
[all …]
A Dtb.c336 struct tb_switch *sw = port->sw; in tb_scan_xdomain()
360 static int tb_enable_tmu(struct tb_switch *sw) in tb_enable_tmu()
437 struct tb_switch *sw; in tb_find_first_usb3_tunnel()
720 static void tb_scan_switch(struct tb_switch *sw) in tb_scan_switch()
740 struct tb_switch *sw; in tb_scan_port()
1374 struct tb_switch *parent_sw; in tb_tunnel_pci()
1423 struct tb_switch *sw; in tb_approve_xdomain_paths()
1457 struct tb_switch *sw; in __tb_disconnect_xdomain_paths()
1501 struct tb_switch *sw; in tb_handle_hotplug()
1731 struct tb_switch *sw; in tb_handle_dp_bandwidth_request()
[all …]
A Ddma_port.h15 struct tb_switch;
21 struct tb_dma_port *dma_port_alloc(struct tb_switch *sw);
A Dicm.c609 static struct tb_switch *alloc_switch(struct tb_switch *parent_sw, u64 route, in alloc_switch()
613 struct tb_switch *sw; in alloc_switch()
631 static int add_switch(struct tb_switch *parent_sw, struct tb_switch *sw) in add_switch()
647 static void update_switch(struct tb_switch *parent_sw, struct tb_switch *sw, in update_switch()
674 struct tb_switch *parent_sw; in remove_switch()
714 struct tb_switch *sw; in remove_xdomain()
727 struct tb_switch *sw, *parent_sw; in icm_fr_device_connected()
874 struct tb_switch *sw; in icm_fr_device_disconnected()
909 struct tb_switch *sw; in icm_fr_xdomain_connected()
1306 struct tb_switch *sw; in icm_tr_device_disconnected()
[all …]
A Dnvm.c54 struct tb_switch *sw = tb_to_switch(nvm->dev); in intel_switch_nvm_version()
87 struct tb_switch *sw = tb_to_switch(nvm->dev); in intel_switch_nvm_validate()
134 struct tb_switch *sw = tb_to_switch(nvm->dev); in intel_switch_nvm_write_headers()
158 struct tb_switch *sw = tb_to_switch(nvm->dev); in asmedia_switch_nvm_version()
288 const struct tb_switch *sw = tb_to_switch(dev); in tb_nvm_alloc()
A Ddomain.c625 int tb_domain_disapprove_switch(struct tb *tb, struct tb_switch *sw) in tb_domain_disapprove_switch()
642 int tb_domain_approve_switch(struct tb *tb, struct tb_switch *sw) in tb_domain_approve_switch()
644 struct tb_switch *parent_sw; in tb_domain_approve_switch()
668 int tb_domain_approve_switch_key(struct tb *tb, struct tb_switch *sw) in tb_domain_approve_switch_key()
670 struct tb_switch *parent_sw; in tb_domain_approve_switch_key()
700 int tb_domain_challenge_switch_key(struct tb *tb, struct tb_switch *sw) in tb_domain_challenge_switch_key()
705 struct tb_switch *parent_sw; in tb_domain_challenge_switch_key()
A Dacpi.c297 static struct acpi_device *tb_acpi_switch_find_companion(struct tb_switch *sw) in tb_acpi_switch_find_companion()
300 struct tb_switch *parent_sw; in tb_acpi_switch_find_companion()
A Dtunnel.c90 const struct tb_switch *sw = port->sw; in tb_available_credits()
168 struct tb_switch *sw = port->sw; in tb_pci_init_credits()
342 static bool tb_dp_is_usb4(const struct tb_switch *sw) in tb_dp_is_usb4()
699 struct tb_switch *sw = in->sw; in tb_dp_init()
1004 const struct tb_switch *sw = in->sw; in tb_dp_consumed_bandwidth()
1061 struct tb_switch *sw = port->sw; in tb_dp_init_aux_credits()
1087 struct tb_switch *sw = port->sw; in tb_dp_init_video_credits()
1298 const struct tb_switch *sw = port->sw; in tb_dma_available_credits()
1698 struct tb_switch *sw = port->sw; in tb_usb3_init_credits()
A Dpath.c39 struct tb_switch *sw; in tb_path_find_dst_port()
109 struct tb_switch *sw; in tb_path_discover()
A Dxdomain.c540 struct tb_switch *sw = tb_to_switch(xd->dev.parent); in tb_xdp_link_state_status_response()
1255 struct tb_switch *sw = tb_to_switch(xd->dev.parent); in tb_xdomain_link_state_change()
1850 struct tb_switch *parent_sw = tb_to_switch(parent); in tb_xdomain_alloc()
2167 static struct tb_xdomain *switch_find_xdomain(struct tb_switch *sw, in switch_find_xdomain()
/linux-6.3-rc2/include/linux/
A Dthunderbolt.h81 struct tb_switch *root_switch;

Completed in 62 milliseconds