Lines Matching refs:tb_port

496 static void tb_dump_port(struct tb *tb, const struct tb_port *port)  in tb_dump_port()
521 int tb_port_state(struct tb_port *port) in tb_port_state()
550 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port()
611 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits()
645 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter()
659 int tb_port_unlock(struct tb_port *port) in tb_port_unlock()
670 static int __tb_port_enable(struct tb_port *port, bool enable) in __tb_port_enable()
698 int tb_port_enable(struct tb_port *port) in tb_port_enable()
709 int tb_port_disable(struct tb_port *port) in tb_port_disable()
722 static int tb_init_port(struct tb_port *port) in tb_init_port()
785 static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, in tb_port_alloc_hopid()
821 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_in_hopid()
835 int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_out_hopid()
845 void tb_port_release_in_hopid(struct tb_port *port, int hopid) in tb_port_release_in_hopid()
855 void tb_port_release_out_hopid(struct tb_port *port, int hopid) in tb_port_release_out_hopid()
882 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path()
883 struct tb_port *prev) in tb_next_port_on_path()
885 struct tb_port *next; in tb_next_port_on_path()
927 int tb_port_get_link_speed(struct tb_port *port) in tb_port_get_link_speed()
952 int tb_port_get_link_width(struct tb_port *port) in tb_port_get_link_width()
969 static bool tb_port_is_width_supported(struct tb_port *port, int width) in tb_port_is_width_supported()
988 static int tb_port_set_link_width(struct tb_port *port, unsigned int width) in tb_port_set_link_width()
1033 int tb_port_lane_bonding_enable(struct tb_port *port) in tb_port_lane_bonding_enable()
1071 void tb_port_lane_bonding_disable(struct tb_port *port) in tb_port_lane_bonding_disable()
1091 int tb_port_wait_for_link_width(struct tb_port *port, int width, in tb_port_wait_for_link_width()
1110 static int tb_port_do_update_credits(struct tb_port *port) in tb_port_do_update_credits()
1143 int tb_port_update_credits(struct tb_port *port) in tb_port_update_credits()
1153 static int tb_port_start_lane_initialization(struct tb_port *port) in tb_port_start_lane_initialization()
1168 static bool tb_port_resume(struct tb_port *port) in tb_port_resume()
1195 bool tb_port_is_enabled(struct tb_port *port) in tb_port_is_enabled()
1219 bool tb_usb3_port_is_enabled(struct tb_port *port) in tb_usb3_port_is_enabled()
1235 int tb_usb3_port_enable(struct tb_port *port, bool enable) in tb_usb3_port_enable()
1250 bool tb_pci_port_is_enabled(struct tb_port *port) in tb_pci_port_is_enabled()
1266 int tb_pci_port_enable(struct tb_port *port, bool enable) in tb_pci_port_enable()
1281 int tb_dp_port_hpd_is_active(struct tb_port *port) in tb_dp_port_hpd_is_active()
1300 int tb_dp_port_hpd_clear(struct tb_port *port) in tb_dp_port_hpd_clear()
1324 int tb_dp_port_set_hops(struct tb_port *port, unsigned int video, in tb_dp_port_set_hops()
1353 bool tb_dp_port_is_enabled(struct tb_port *port) in tb_dp_port_is_enabled()
1372 int tb_dp_port_enable(struct tb_port *port, bool enable) in tb_dp_port_enable()
1957 struct tb_port *port; in tb_switch_release()
1988 const struct tb_port *port; in tb_switch_uevent()
2126 struct tb_port *down; in tb_switch_alloc()
2457 struct tb_port *port = &sw->ports[i]; in tb_switch_default_link_ports()
2458 struct tb_port *subordinate; in tb_switch_default_link_ports()
2484 const struct tb_port *up = tb_upstream_port(sw); in tb_switch_lane_bonding_possible()
2496 struct tb_port *up; in tb_switch_update_link_attributes()
2537 struct tb_port *up, *down; in tb_switch_lane_bonding_enable()
2591 struct tb_port *up, *down; in tb_switch_lane_bonding_disable()
2633 struct tb_port *up, *down; in tb_switch_configure_link()
2662 struct tb_port *up, *down; in tb_switch_unconfigure_link()
2826 struct tb_port *port; in tb_switch_remove()
2866 struct tb_port *port; in tb_sw_set_unplugged()
2899 struct tb_port *port; in tb_switch_resume()
2994 struct tb_port *port; in tb_switch_suspend()
3033 bool tb_switch_query_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_query_dp_resource()
3049 int tb_switch_alloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_alloc_dp_resource()
3064 void tb_switch_dealloc_dp_resource(struct tb_switch *sw, struct tb_port *in) in tb_switch_dealloc_dp_resource()
3193 struct tb_port *tb_switch_find_port(struct tb_switch *sw, in tb_switch_find_port()
3196 struct tb_port *port; in tb_switch_find_port()