Lines Matching refs:tb_port

463 static int tb_port_state(struct tb_port *port)  in tb_port_state()
490 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port()
549 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits()
576 int tb_port_set_initial_credits(struct tb_port *port, u32 credits) in tb_port_set_initial_credits()
596 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter()
611 static int tb_init_port(struct tb_port *port) in tb_init_port()
652 static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, in tb_port_alloc_hopid()
685 int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_in_hopid()
699 int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) in tb_port_alloc_out_hopid()
709 void tb_port_release_in_hopid(struct tb_port *port, int hopid) in tb_port_release_in_hopid()
719 void tb_port_release_out_hopid(struct tb_port *port, int hopid) in tb_port_release_out_hopid()
739 struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, in tb_next_port_on_path()
740 struct tb_port *prev) in tb_next_port_on_path()
742 struct tb_port *next; in tb_next_port_on_path()
782 bool tb_port_is_enabled(struct tb_port *port) in tb_port_is_enabled()
802 bool tb_pci_port_is_enabled(struct tb_port *port) in tb_pci_port_is_enabled()
817 int tb_pci_port_enable(struct tb_port *port, bool enable) in tb_pci_port_enable()
831 int tb_dp_port_hpd_is_active(struct tb_port *port) in tb_dp_port_hpd_is_active()
849 int tb_dp_port_hpd_clear(struct tb_port *port) in tb_dp_port_hpd_clear()
871 int tb_dp_port_set_hops(struct tb_port *port, unsigned int video, in tb_dp_port_set_hops()
897 bool tb_dp_port_is_enabled(struct tb_port *port) in tb_dp_port_is_enabled()
916 int tb_dp_port_enable(struct tb_port *port, bool enable) in tb_dp_port_enable()
1948 struct tb_port *port = &sw->ports[i]; in tb_switch_resume()