/linux-6.3-rc2/drivers/thunderbolt/ |
A D | tb.h | 182 struct tb_port *ports; 274 struct tb_port { struct 277 struct tb_port *remote; argument 287 struct tb_port *dual_link_port; argument 310 struct tb_port *port; argument 336 struct tb_port *port; 369 struct tb_port *in_port; 370 struct tb_port *out_port; 1043 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, 1044 struct tb_port *prev); [all …]
|
A D | tunnel.h | 51 struct tb_port *src_port; 52 struct tb_port *dst_port; 81 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, 82 struct tb_port *down); 85 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, 86 struct tb_port *out, int link_nr, 88 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, 89 struct tb_port *dst, int transmit_path, 96 struct tb_tunnel *tb_tunnel_alloc_usb3(struct tb *tb, struct tb_port *up, 97 struct tb_port *down, int max_up, [all …]
|
A D | usb4.c | 160 struct tb_port *port; in usb4_switch_check_wakes() 236 struct tb_port *downstream_port; in usb4_switch_setup() 361 struct tb_port *up; in usb4_switch_lane_bonding_possible() 383 struct tb_port *port; in usb4_switch_set_wake() 704 const struct tb_port *port; in usb4_switch_credits_init() 911 struct tb_port *p; in usb4_port_idx() 944 struct tb_port *p; in usb4_switch_map_pcie_down() 975 struct tb_port *p; in usb4_switch_map_usb3_down() 1003 struct tb_port *port; in usb4_switch_add_ports() 1036 struct tb_port *port; in usb4_switch_remove_ports() [all …]
|
A D | lc.c | 30 static int find_port_lc_cap(struct tb_port *port) in find_port_lc_cap() 91 int tb_lc_configure_port(struct tb_port *port) in tb_lc_configure_port() 102 void tb_lc_unconfigure_port(struct tb_port *port) in tb_lc_unconfigure_port() 145 int tb_lc_configure_xdomain(struct tb_port *port) in tb_lc_configure_xdomain() 203 bool tb_lc_is_clx_supported(struct tb_port *port) in tb_lc_is_clx_supported() 226 bool tb_lc_is_usb_plugged(struct tb_port *port) in tb_lc_is_usb_plugged() 305 int tb_lc_xhci_connect(struct tb_port *port) in tb_lc_xhci_connect() 324 void tb_lc_xhci_disconnect(struct tb_port *port) in tb_lc_xhci_disconnect() 452 struct tb_port *up; in tb_lc_lane_bonding_possible() 472 struct tb_port *in) in tb_lc_dp_sink_from_port() [all …]
|
A D | tb.c | 96 struct tb_port *out) in tb_attach_bandwidth_group() 184 struct tb_port *port; in tb_add_dp_resources() 220 struct tb_port *p; in tb_discover_dp_resource() 248 struct tb_port *port; in tb_switch_discover_tunnels() 387 struct tb_port *port; in tb_find_unused_port() 406 struct tb_port *down; in tb_find_usb3_down() 465 struct tb_port *port; in tb_available_bandwidth() 1018 struct tb_port *in; in tb_recalc_estimated_bandwidth_for_group() 1106 static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in) in tb_find_dp_out() 1308 struct tb_port *p; in tb_dp_resource_available() [all …]
|
A D | switch.c | 850 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path() 853 struct tb_port *next; in tb_next_port_on_path() 2169 struct tb_port *port; in tb_switch_release() 2338 struct tb_port *down; in tb_switch_alloc() 2717 struct tb_port *up; in tb_switch_update_link_attributes() 2915 struct tb_port *port; in tb_switch_port_hotplug_enable() 3069 struct tb_port *port; in tb_switch_remove() 3109 struct tb_port *port; in tb_sw_set_unplugged() 3142 struct tb_port *port; in tb_switch_resume() 3241 struct tb_port *port; in tb_switch_suspend() [all …]
|
A D | tmu.c | 192 static int tb_port_tmu_time_sync_disable(struct tb_port *port) in tb_port_tmu_time_sync_disable() 197 static int tb_port_tmu_time_sync_enable(struct tb_port *port) in tb_port_tmu_time_sync_enable() 237 struct tb_port *port; in tb_switch_tmu_init() 266 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_init() 402 struct tb_port *down, *up; in tb_switch_tmu_disable() 446 struct tb_port *down, *up; in __tb_switch_tmu_off() 476 struct tb_port *up, *down; in __tb_switch_tmu_enable_bidirectional() 527 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_unidirectional_enable() 541 struct tb_port *up, *down; in __tb_switch_tmu_enable_unidirectional() 580 struct tb_port *down, *up; in __tb_switch_tmu_change_mode_prev() [all …]
|
A D | path.c | 18 const struct tb_port *port = hop->in_port; in tb_dump_hop() 34 static struct tb_port *tb_path_find_dst_port(struct tb_port *src, int src_hopid, in tb_path_find_dst_port() 37 struct tb_port *port, *out_port = NULL; in tb_path_find_dst_port() 65 static int tb_path_find_src_hopid(struct tb_port *src, in tb_path_find_src_hopid() 66 const struct tb_port *dst, int dst_hopid) in tb_path_find_src_hopid() 68 struct tb_port *out; in tb_path_find_src_hopid() 102 struct tb_port *dst, int dst_hopid, in tb_path_discover() 103 struct tb_port **last, const char *name, in tb_path_discover() 106 struct tb_port *out_port; in tb_path_discover() 110 struct tb_port *p; in tb_path_discover() [all …]
|
A D | tunnel.c | 167 struct tb_port *port = hop->in_port; in tb_pci_init_credits() 306 struct tb_port *down) in tb_tunnel_alloc_pci() 348 static int tb_dp_cm_handshake(struct tb_port *in, struct tb_port *out, in tb_dp_cm_handshake() 1060 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits() 1086 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits() 1151 struct tb_port *port; in tb_tunnel_discover_dp() 1311 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits() 1402 struct tb_port *port = hop->in_port; in tb_dma_release_credits() 1564 static int tb_usb3_max_link_rate(struct tb_port *up, struct tb_port *down) in tb_usb3_max_link_rate() 1697 struct tb_port *port = hop->in_port; in tb_usb3_init_credits() [all …]
|
A D | debugfs.c | 171 struct tb_port *port = s->private; in port_regs_write() 263 struct tb_port *port = s->private; in margining_ber_level_write() 316 struct tb_port *port = s->private; in margining_ber_level_show() 328 struct tb_port *port = s->private; in margining_caps_show() 408 struct tb_port *port = s->private; in margining_lanes_write() 448 struct tb_port *port = s->private; in margining_lanes_show() 552 struct tb_port *port = data; in margining_run_write() 971 struct tb_port *downstream; in margining_switch_remove() 989 struct tb_port *downstream; in margining_xdomain_init() 1000 struct tb_port *downstream; in margining_xdomain_remove() [all …]
|
A D | cap.c | 18 static int tb_port_enable_tmu(struct tb_port *port, bool enable) in tb_port_enable_tmu() 47 static void tb_port_dummy_read(struct tb_port *port) in tb_port_dummy_read() 72 int tb_port_next_cap(struct tb_port *port, unsigned int offset) in tb_port_next_cap() 87 static int __tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in __tb_port_find_cap() 119 int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in tb_port_find_cap()
|
A D | usb4_port.c | 45 struct tb_port *port = usb4->port; in link_show() 78 struct tb_port *port = usb4->port; in usb4_port_offline() 102 struct tb_port *port = usb4->port; in usb4_port_online() 120 struct tb_port *port = usb4->port; in offline_store() 171 struct tb_port *port = usb4->port; in rescan_store() 259 struct usb4_port *usb4_port_device_add(struct tb_port *port) in usb4_port_device_add()
|
A D | acpi.c | 198 static int tb_acpi_retimer_set_power(struct tb_port *port, bool power) in tb_acpi_retimer_set_power() 273 int tb_acpi_power_on_retimers(struct tb_port *port) in tb_acpi_power_on_retimers() 287 int tb_acpi_power_off_retimers(struct tb_port *port) in tb_acpi_power_off_retimers() 308 struct tb_port *port = tb_port_at(tb_route(sw), parent_sw); in tb_acpi_switch_find_companion()
|
A D | test.c | 828 struct tb_port *down, *up; in tb_test_path_not_connected() 880 struct tb_port *down, *up; in tb_test_path_not_bonded_lane0() 942 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1() 1020 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1_chain() 1100 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1_chain_reverse() 1191 struct tb_port *in, *out; in tb_test_path_mixed_chain() 1283 struct tb_port *in, *out; in tb_test_path_mixed_chain_reverse() 1375 struct tb_port *in, *out; in tb_test_tunnel_dp() 1413 struct tb_port *in, *out; in tb_test_tunnel_dp_chain() 1459 struct tb_port *in, *out; in tb_test_tunnel_dp_tree() [all …]
|
A D | retimer.c | 304 static int tb_retimer_add(struct tb_port *port, u8 index, u32 auth_status) in tb_retimer_add() 392 const struct tb_port *port; 404 static struct tb_retimer *tb_port_find_retimer(struct tb_port *port, u8 index) in tb_port_find_retimer() 426 int tb_retimer_scan(struct tb_port *port, bool add) in tb_retimer_scan() 491 struct tb_port *port = data; in remove_retimer() 504 void tb_retimer_remove_all(struct tb_port *port) in tb_retimer_remove_all()
|
A D | xdomain.c | 542 struct tb_port *port = tb_port_at(xd->route, sw); in tb_xdp_link_state_status_response() 1137 struct tb_port *port; in tb_xdomain_update_link_attributes() 1256 struct tb_port *port = tb_port_at(xd->route, sw); in tb_xdomain_link_state_change() 1296 struct tb_port *port; in tb_xdomain_bond_lanes_uuid_high() 1429 struct tb_port *port; in tb_xdomain_get_properties() 1852 struct tb_port *down; in tb_xdomain_alloc() 1982 struct tb_port *port; in tb_xdomain_lane_bonding_enable() 2028 struct tb_port *port; in tb_xdomain_lane_bonding_disable() 2170 struct tb_port *port; in switch_find_xdomain()
|
A D | eeprom.c | 363 struct tb_port *port; in tb_drom_parse_entry_port()
|
A D | icm.c | 2012 struct tb_port *port; in icm_unplug_children() 2057 struct tb_port *port; in icm_free_unplugged_children()
|