Lines Matching refs:tb_port
511 static int tb_port_state(struct tb_port *port) in tb_port_state()
538 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port()
597 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits()
631 int tb_port_set_initial_credits(struct tb_port *port, u32 credits) in tb_port_set_initial_credits()
651 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter()
665 int tb_port_unlock(struct tb_port *port) in tb_port_unlock()
676 static int __tb_port_enable(struct tb_port *port, bool enable) in __tb_port_enable()
704 int tb_port_enable(struct tb_port *port) in tb_port_enable()
715 int tb_port_disable(struct tb_port *port) in tb_port_disable()
728 static int tb_init_port(struct tb_port *port) in tb_init_port()
775 static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, in tb_port_alloc_hopid()
811 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_in_hopid()
825 int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_out_hopid()
835 void tb_port_release_in_hopid(struct tb_port *port, int hopid) in tb_port_release_in_hopid()
845 void tb_port_release_out_hopid(struct tb_port *port, int hopid) in tb_port_release_out_hopid()
872 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path()
873 struct tb_port *prev) in tb_next_port_on_path()
875 struct tb_port *next; in tb_next_port_on_path()
917 int tb_port_get_link_speed(struct tb_port *port) in tb_port_get_link_speed()
935 static int tb_port_get_link_width(struct tb_port *port) in tb_port_get_link_width()
952 static bool tb_port_is_width_supported(struct tb_port *port, int width) in tb_port_is_width_supported()
971 static int tb_port_set_link_width(struct tb_port *port, unsigned int width) in tb_port_set_link_width()
1004 static int tb_port_lane_bonding_enable(struct tb_port *port) in tb_port_lane_bonding_enable()
1034 static void tb_port_lane_bonding_disable(struct tb_port *port) in tb_port_lane_bonding_disable()
1047 bool tb_port_is_enabled(struct tb_port *port) in tb_port_is_enabled()
1071 bool tb_usb3_port_is_enabled(struct tb_port *port) in tb_usb3_port_is_enabled()
1087 int tb_usb3_port_enable(struct tb_port *port, bool enable) in tb_usb3_port_enable()
1102 bool tb_pci_port_is_enabled(struct tb_port *port) in tb_pci_port_is_enabled()
1118 int tb_pci_port_enable(struct tb_port *port, bool enable) in tb_pci_port_enable()
1133 int tb_dp_port_hpd_is_active(struct tb_port *port) in tb_dp_port_hpd_is_active()
1152 int tb_dp_port_hpd_clear(struct tb_port *port) in tb_dp_port_hpd_clear()
1176 int tb_dp_port_set_hops(struct tb_port *port, unsigned int video, in tb_dp_port_set_hops()
1205 bool tb_dp_port_is_enabled(struct tb_port *port) in tb_dp_port_is_enabled()
1224 int tb_dp_port_enable(struct tb_port *port, bool enable) in tb_dp_port_enable()
1762 struct tb_port *port; in tb_switch_release()
1899 struct tb_port *down; in tb_switch_alloc()
2210 struct tb_port *port = &sw->ports[i]; in tb_switch_default_link_ports()
2211 struct tb_port *subordinate; in tb_switch_default_link_ports()
2237 const struct tb_port *up = tb_upstream_port(sw); in tb_switch_lane_bonding_possible()
2249 struct tb_port *up; in tb_switch_update_link_attributes()
2290 struct tb_port *up, *down; in tb_switch_lane_bonding_enable()
2336 struct tb_port *up, *down; in tb_switch_lane_bonding_disable()
2368 struct tb_port *up, *down; in tb_switch_configure_link()
2397 struct tb_port *up, *down; in tb_switch_unconfigure_link()
2535 struct tb_port *port; in tb_switch_remove()
2573 struct tb_port *port; in tb_sw_set_unplugged()
2606 struct tb_port *port; in tb_switch_resume()
2698 struct tb_port *port; in tb_switch_suspend()
2736 bool tb_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_query_dp_resource()
2752 int tb_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_alloc_dp_resource()
2767 void tb_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_dealloc_dp_resource()
2896 struct tb_port *tb_switch_find_port(struct tb_switch *sw, in tb_switch_find_port()
2899 struct tb_port *port; in tb_switch_find_port()