| /linux-6.15/drivers/thunderbolt/ |
| H A D | tb.h | 174 struct tb_port *ports; 280 struct tb_port { struct 283 struct tb_port *remote; argument 293 struct tb_port *dual_link_port; argument 318 struct tb_port *port; argument 345 struct tb_port *port; 382 struct tb_port *in_port; 383 struct tb_port *out_port; 1085 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, 1086 struct tb_port *prev); [all …]
|
| H A D | tunnel.h | 76 struct tb_port *src_port; 77 struct tb_port *dst_port; 114 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, 115 struct tb_port *down); 116 bool tb_tunnel_reserved_pci(struct tb_port *port, int *reserved_up, 120 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, 121 struct tb_port *out, int link_nr, 125 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, 126 struct tb_port *dst, int transmit_path, 134 struct tb_port *down, int max_up, [all …]
|
| H A D | usb4.c | 166 struct tb_port *port; in usb4_switch_check_wakes() 243 struct tb_port *down; in usb4_switch_setup() 390 struct tb_port *up; in usb4_switch_lane_bonding_possible() 412 struct tb_port *port; in usb4_switch_set_wake() 733 const struct tb_port *port; in usb4_switch_credits_init() 940 struct tb_port *p; in usb4_port_idx() 973 struct tb_port *p; in usb4_switch_map_pcie_down() 1004 struct tb_port *p; in usb4_switch_map_usb3_down() 1032 struct tb_port *port; in usb4_switch_add_ports() 1065 struct tb_port *port; in usb4_switch_remove_ports() [all …]
|
| H A D | tb.c | 114 struct tb_port *port; in tb_add_dp_resources() 160 struct tb_port *p; in tb_discover_dp_resource() 383 struct tb_port *port; in tb_switch_discover_tunnels() 467 struct tb_port *port; in tb_find_unused_port() 706 struct tb_port *dst_port, struct tb_port *port, in tb_maximum_bandwidth() 1030 struct tb_port *up; in tb_configure_asym() 1135 struct tb_port *up; in tb_configure_sym() 1215 static void tb_configure_link(struct tb_port *down, struct tb_port *up, in tb_configure_link() 1419 struct tb_port *in; in tb_recalc_estimated_bandwidth_for_group() 1529 struct tb_port *in; in __configure_group_sym() [all …]
|
| H A D | lc.c | 32 static int find_port_lc_cap(struct tb_port *port) in find_port_lc_cap() 59 int tb_lc_reset_port(struct tb_port *port) in tb_lc_reset_port() 136 int tb_lc_configure_port(struct tb_port *port) in tb_lc_configure_port() 147 void tb_lc_unconfigure_port(struct tb_port *port) in tb_lc_unconfigure_port() 190 int tb_lc_configure_xdomain(struct tb_port *port) in tb_lc_configure_xdomain() 271 bool tb_lc_is_usb_plugged(struct tb_port *port) in tb_lc_is_usb_plugged() 350 int tb_lc_xhci_connect(struct tb_port *port) in tb_lc_xhci_connect() 369 void tb_lc_xhci_disconnect(struct tb_port *port) in tb_lc_xhci_disconnect() 497 struct tb_port *up; in tb_lc_lane_bonding_possible() 517 struct tb_port *in) in tb_lc_dp_sink_from_port() [all …]
|
| H A D | clx.c | 38 static int tb_port_pm_secondary_set(struct tb_port *port, bool secondary) in tb_port_pm_secondary_set() 57 static int tb_port_pm_secondary_enable(struct tb_port *port) in tb_port_pm_secondary_enable() 62 static int tb_port_pm_secondary_disable(struct tb_port *port) in tb_port_pm_secondary_disable() 132 static int tb_port_clx_disable(struct tb_port *port, unsigned int clx) in tb_port_clx_disable() 137 static int tb_port_clx_enable(struct tb_port *port, unsigned int clx) in tb_port_clx_enable() 142 static int tb_port_clx(struct tb_port *port) in tb_port_clx() 172 bool tb_port_clx_is_enabled(struct tb_port *port, unsigned int clx) in tb_port_clx_is_enabled() 210 struct tb_port *up, *down; in tb_switch_clx_init() 239 struct tb_port *up, *down; in tb_switch_pm_secondary_resolve() 322 struct tb_port *up, *down; in tb_switch_clx_enable() [all …]
|
| H A D | tmu.c | 378 struct tb_port *up = tb_upstream_port(sw); in tmu_mode_init() 411 struct tb_port *port; in tb_switch_tmu_init() 536 static int disable_enhanced(struct tb_port *up, struct tb_port *down) in disable_enhanced() 566 struct tb_port *down, *up; in tb_switch_tmu_disable() 624 struct tb_port *down, *up; in tb_switch_tmu_off() 664 struct tb_port *up, *down; in tb_switch_tmu_enable_bidirectional() 700 struct tb_port *up = tb_upstream_port(sw); in tb_switch_tmu_disable_objections() 728 struct tb_port *up, *down; in tb_switch_tmu_enable_unidirectional() 772 struct tb_port *up, *down; in tb_switch_tmu_enable_enhanced() 817 struct tb_port *down, *up; in tb_switch_tmu_change_mode_prev() [all …]
|
| H A D | switch.c | 854 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path() 857 struct tb_port *next; in tb_next_port_on_path() 1547 struct tb_port *port; in tb_switch_reset_host() 2251 struct tb_port *port; in tb_switch_release() 2821 struct tb_port *up; in tb_switch_update_link_attributes() 3220 struct tb_port *port; in tb_switch_port_hotplug_enable() 3380 struct tb_port *port; in tb_switch_remove() 3421 struct tb_port *port; in tb_sw_set_unplugged() 3473 struct tb_port *port; in tb_switch_resume() 3576 struct tb_port *port; in tb_switch_suspend() [all …]
|
| H 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 …]
|
| H A D | tunnel.c | 161 struct tb_port *in_port = hop->in_port; in tb_init_pm_support() 289 struct tb_port *port = hop->in_port; in tb_pci_init_credits() 428 struct tb_port *down) in tb_tunnel_alloc_pci() 515 static int tb_dp_cm_handshake(struct tb_port *in, struct tb_port *out, in tb_dp_cm_handshake() 1345 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits() 1374 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits() 1427 struct tb_port *in, *out; in tb_dp_dump() 1482 struct tb_port *port; in tb_tunnel_discover_dp() 1658 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits() 1915 static int tb_usb3_max_link_rate(struct tb_port *up, struct tb_port *down) in tb_usb3_max_link_rate() [all …]
|
| H 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()
|
| H 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()
|
| H A D | retimer.c | 196 static void tb_retimer_nvm_authenticate_status(struct tb_port *port, u32 *status) in tb_retimer_nvm_authenticate_status() 213 static void tb_retimer_set_inbound_sbtx(struct tb_port *port) in tb_retimer_set_inbound_sbtx() 230 static void tb_retimer_unset_inbound_sbtx(struct tb_port *port) in tb_retimer_unset_inbound_sbtx() 388 static int tb_retimer_add(struct tb_port *port, u8 index, u32 auth_status, in tb_retimer_add() 473 const struct tb_port *port; 485 static struct tb_retimer *tb_port_find_retimer(struct tb_port *port, u8 index) in tb_port_find_retimer() 507 int tb_retimer_scan(struct tb_port *port, bool add) in tb_retimer_scan() 576 struct tb_port *port = data; in remove_retimer() 589 void tb_retimer_remove_all(struct tb_port *port) in tb_retimer_remove_all()
|
| H A D | debugfs.c | 276 struct tb_port *port = s->private; in port_regs_write() 285 struct tb_port *port = s->private; in path_write() 384 struct tb_port *port = s->private; in port_sb_regs_write() 489 struct tb_port *port; 1599 struct tb_port *port = s->private; in margining_eye_write() 1626 struct tb_port *port = s->private; in margining_eye_show() 1829 struct tb_port *downstream; in margining_xdomain_init() 1840 struct tb_port *downstream; in margining_xdomain_remove() 1890 struct tb_port *port = s->private; in counters_write() 2098 struct tb_port *port = s->private; in port_regs_show() [all …]
|
| H A D | acpi.c | 186 static int tb_acpi_retimer_set_power(struct tb_port *port, bool power) in tb_acpi_retimer_set_power() 261 int tb_acpi_power_on_retimers(struct tb_port *port) in tb_acpi_power_on_retimers() 275 int tb_acpi_power_off_retimers(struct tb_port *port) in tb_acpi_power_off_retimers() 295 struct tb_port *port = tb_switch_downstream_port(sw); in tb_acpi_switch_find_companion()
|
| H A D | test.c | 845 struct tb_port *down, *up; in tb_test_path_not_connected() 897 struct tb_port *down, *up; in tb_test_path_not_bonded_lane0() 959 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1() 1037 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1_chain() 1117 struct tb_port *in, *out; in tb_test_path_not_bonded_lane1_chain_reverse() 1208 struct tb_port *in, *out; in tb_test_path_mixed_chain() 1300 struct tb_port *in, *out; in tb_test_path_mixed_chain_reverse() 1392 struct tb_port *in, *out; in tb_test_tunnel_dp() 1430 struct tb_port *in, *out; in tb_test_tunnel_dp_chain() 1476 struct tb_port *in, *out; in tb_test_tunnel_dp_tree() [all …]
|
| H A D | xdomain.c | 541 struct tb_port *port = tb_xdomain_downstream_port(xd); in tb_xdp_link_state_status_response() 1166 struct tb_port *port; in tb_xdomain_update_link_attributes() 1283 struct tb_port *port = tb_xdomain_downstream_port(xd); in tb_xdomain_link_state_change() 1324 struct tb_port *port; in tb_xdomain_bond_lanes_uuid_high() 1458 struct tb_port *port; in tb_xdomain_get_properties() 1903 static void tb_xdomain_link_init(struct tb_xdomain *xd, struct tb_port *down) in tb_xdomain_link_init() 1922 struct tb_port *down = tb_xdomain_downstream_port(xd); in tb_xdomain_link_exit() 1965 struct tb_port *down; in tb_xdomain_alloc() 2099 struct tb_port *port; in tb_xdomain_lane_bonding_enable() 2150 struct tb_port *port; in tb_xdomain_lane_bonding_disable() [all …]
|
| H A D | quirks.c | 32 struct tb_port *port; in quirk_usb3_maximum_bandwidth()
|
| H A D | eeprom.c | 363 struct tb_port *port; in tb_drom_parse_entry_port()
|
| H A D | icm.c | 2010 struct tb_port *port; in icm_unplug_children() 2055 struct tb_port *port; in icm_free_unplugged_children()
|