Lines Matching refs:tb_port
76 static inline unsigned int tb_usable_credits(const struct tb_port *port) in tb_usable_credits()
87 static unsigned int tb_available_credits(const struct tb_port *port, in tb_available_credits()
167 struct tb_port *port = hop->in_port; in tb_pci_init_credits()
225 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_pci()
305 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci()
306 struct tb_port *down) in tb_tunnel_alloc_pci()
348 static int tb_dp_cm_handshake(struct tb_port *in, struct tb_port *out, in tb_dp_cm_handshake()
514 struct tb_port *out = tunnel->dst_port; in tb_dp_xchg_caps()
515 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
610 struct tb_port *out = tunnel->dst_port; in tb_dp_bw_alloc_mode_enable()
611 struct tb_port *in = tunnel->src_port; in tb_dp_bw_alloc_mode_enable()
698 struct tb_port *in = tunnel->src_port; in tb_dp_init()
724 struct tb_port *in = tunnel->src_port; in tb_dp_deinit()
774 struct tb_port *in = tunnel->src_port; in tb_dp_nrd_bandwidth()
796 struct tb_port *out = tunnel->dst_port; in tb_dp_bw_mode_consumed_bandwidth()
797 struct tb_port *in = tunnel->src_port; in tb_dp_bw_mode_consumed_bandwidth()
835 struct tb_port *out = tunnel->dst_port; in tb_dp_allocated_bandwidth()
836 struct tb_port *in = tunnel->src_port; in tb_dp_allocated_bandwidth()
873 struct tb_port *out = tunnel->dst_port; in tb_dp_alloc_bandwidth()
874 struct tb_port *in = tunnel->src_port; in tb_dp_alloc_bandwidth()
910 struct tb_port *in = tunnel->src_port; in tb_dp_read_dprx()
943 struct tb_port *in = tunnel->src_port; in tb_dp_read_cap()
976 struct tb_port *in = tunnel->src_port; in tb_dp_maximum_bandwidth()
1003 struct tb_port *in = tunnel->src_port; in tb_dp_consumed_bandwidth()
1060 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits()
1086 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits()
1147 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in, in tb_tunnel_discover_dp()
1151 struct tb_port *port; in tb_tunnel_discover_dp()
1239 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, in tb_tunnel_alloc_dp()
1240 struct tb_port *out, int link_nr, in tb_tunnel_alloc_dp()
1296 static unsigned int tb_dma_available_credits(const struct tb_port *port) in tb_dma_available_credits()
1311 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits()
1402 struct tb_port *port = hop->in_port; in tb_dma_release_credits()
1445 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, in tb_tunnel_alloc_dma()
1446 struct tb_port *dst, int transmit_path, in tb_tunnel_alloc_dma()
1564 static int tb_usb3_max_link_rate(struct tb_port *up, struct tb_port *down) in tb_usb3_max_link_rate()
1697 struct tb_port *port = hop->in_port; in tb_usb3_init_credits()
1739 struct tb_tunnel *tb_tunnel_discover_usb3(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_usb3()
1844 struct tb_tunnel *tb_tunnel_alloc_usb3(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_usb3()
1845 struct tb_port *down, int max_up, in tb_tunnel_alloc_usb3()
2055 const struct tb_port *port) in tb_tunnel_port_on_path()