Lines Matching refs:tb_port

444 static void tb_dump_port(struct tb *tb, const struct tb_port *port)  in tb_dump_port()
469 int tb_port_state(struct tb_port *port) in tb_port_state()
498 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port()
567 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits()
604 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter()
618 int tb_port_unlock(struct tb_port *port) in tb_port_unlock()
629 static int __tb_port_enable(struct tb_port *port, bool enable) in __tb_port_enable()
663 int tb_port_enable(struct tb_port *port) in tb_port_enable()
674 int tb_port_disable(struct tb_port *port) in tb_port_disable()
679 static int tb_port_reset(struct tb_port *port) in tb_port_reset()
694 static int tb_init_port(struct tb_port *port) in tb_init_port()
757 static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, in tb_port_alloc_hopid()
793 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_in_hopid()
807 int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_out_hopid()
817 void tb_port_release_in_hopid(struct tb_port *port, int hopid) in tb_port_release_in_hopid()
827 void tb_port_release_out_hopid(struct tb_port *port, int hopid) in tb_port_release_out_hopid()
854 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path()
855 struct tb_port *prev) in tb_next_port_on_path()
857 struct tb_port *next; in tb_next_port_on_path()
899 int tb_port_get_link_speed(struct tb_port *port) in tb_port_get_link_speed()
933 int tb_port_get_link_generation(struct tb_port *port) in tb_port_get_link_generation()
958 int tb_port_get_link_width(struct tb_port *port) in tb_port_get_link_width()
984 bool tb_port_width_supported(struct tb_port *port, unsigned int width) in tb_port_width_supported()
1021 int tb_port_set_link_width(struct tb_port *port, enum tb_link_width width) in tb_port_set_link_width()
1075 static int tb_port_set_lane_bonding(struct tb_port *port, bool bonding) in tb_port_set_lane_bonding()
1109 int tb_port_lane_bonding_enable(struct tb_port *port) in tb_port_lane_bonding_enable()
1167 void tb_port_lane_bonding_disable(struct tb_port *port) in tb_port_lane_bonding_disable()
1188 int tb_port_wait_for_link_width(struct tb_port *port, unsigned int width, in tb_port_wait_for_link_width()
1219 static int tb_port_do_update_credits(struct tb_port *port) in tb_port_do_update_credits()
1252 int tb_port_update_credits(struct tb_port *port) in tb_port_update_credits()
1265 static int tb_port_start_lane_initialization(struct tb_port *port) in tb_port_start_lane_initialization()
1280 static bool tb_port_resume(struct tb_port *port) in tb_port_resume()
1307 bool tb_port_is_enabled(struct tb_port *port) in tb_port_is_enabled()
1331 bool tb_usb3_port_is_enabled(struct tb_port *port) in tb_usb3_port_is_enabled()
1347 int tb_usb3_port_enable(struct tb_port *port, bool enable) in tb_usb3_port_enable()
1362 bool tb_pci_port_is_enabled(struct tb_port *port) in tb_pci_port_is_enabled()
1378 int tb_pci_port_enable(struct tb_port *port, bool enable) in tb_pci_port_enable()
1393 int tb_dp_port_hpd_is_active(struct tb_port *port) in tb_dp_port_hpd_is_active()
1412 int tb_dp_port_hpd_clear(struct tb_port *port) in tb_dp_port_hpd_clear()
1438 int tb_dp_port_set_hops(struct tb_port *port, unsigned int video, in tb_dp_port_set_hops()
1470 bool tb_dp_port_is_enabled(struct tb_port *port) in tb_dp_port_is_enabled()
1489 int tb_dp_port_enable(struct tb_port *port, bool enable) in tb_dp_port_enable()
1547 struct tb_port *port; in tb_switch_reset_host()
2251 struct tb_port *port; in tb_switch_release()
2283 const struct tb_port *port; in tb_switch_uevent()
2422 struct tb_port *down; in tb_switch_alloc()
2782 struct tb_port *port = &sw->ports[i]; in tb_switch_default_link_ports()
2783 struct tb_port *subordinate; in tb_switch_default_link_ports()
2809 const struct tb_port *up = tb_upstream_port(sw); in tb_switch_lane_bonding_possible()
2821 struct tb_port *up; in tb_switch_update_link_attributes()
2854 struct tb_port *up, *down; in tb_switch_link_init()
2906 struct tb_port *up, *down; in tb_switch_lane_bonding_enable()
2956 struct tb_port *up, *down; in tb_switch_lane_bonding_disable()
2988 struct tb_port *up, *down, *port; in tb_switch_asym_enable()
3031 struct tb_port *up, *down; in tb_switch_asym_disable()
3081 struct tb_port *up, *down; in tb_switch_set_link_width()
3152 struct tb_port *up, *down; in tb_switch_configure_link()
3181 struct tb_port *up, *down; in tb_switch_unconfigure_link()
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()
3621 bool tb_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_query_dp_resource()
3637 int tb_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_alloc_dp_resource()
3663 void tb_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_dealloc_dp_resource()
3794 struct tb_port *tb_switch_find_port(struct tb_switch *sw, in tb_switch_find_port()
3797 struct tb_port *port; in tb_switch_find_port()
3898 struct tb_port *port1, *port3; in tb_switch_xhci_connect()
3943 struct tb_port *port1 = &sw->ports[1]; in tb_switch_xhci_disconnect()
3944 struct tb_port *port3 = &sw->ports[3]; in tb_switch_xhci_disconnect()