Lines Matching refs:tb_port
70 static inline unsigned int tb_usable_credits(const struct tb_port *port) in tb_usable_credits()
81 static unsigned int tb_available_credits(const struct tb_port *port, in tb_available_credits()
161 struct tb_port *port = hop->in_port; in tb_pci_init_credits()
219 struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_pci()
299 struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_pci()
300 struct tb_port *down) in tb_tunnel_alloc_pci()
342 static int tb_dp_cm_handshake(struct tb_port *in, struct tb_port *out) in tb_dp_cm_handshake()
507 struct tb_port *out = tunnel->dst_port; in tb_dp_xchg_caps()
508 struct tb_port *in = tunnel->src_port; in tb_dp_xchg_caps()
640 struct tb_port *in = tunnel->src_port; in tb_dp_consumed_bandwidth()
700 struct tb_port *port = hop->in_port; in tb_dp_init_aux_credits()
726 struct tb_port *port = hop->in_port; in tb_dp_init_video_credits()
787 struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in, in tb_tunnel_discover_dp()
791 struct tb_port *port; in tb_tunnel_discover_dp()
875 struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, in tb_tunnel_alloc_dp()
876 struct tb_port *out, int link_nr, in tb_tunnel_alloc_dp()
928 static unsigned int tb_dma_available_credits(const struct tb_port *port) in tb_dma_available_credits()
943 struct tb_port *port = hop->in_port; in tb_dma_reserve_credits()
1034 struct tb_port *port = hop->in_port; in tb_dma_release_credits()
1077 struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, in tb_tunnel_alloc_dma()
1078 struct tb_port *dst, int transmit_path, in tb_tunnel_alloc_dma()
1196 static int tb_usb3_max_link_rate(struct tb_port *up, struct tb_port *down) in tb_usb3_max_link_rate()
1329 struct tb_port *port = hop->in_port; in tb_usb3_init_credits()
1371 struct tb_tunnel *tb_tunnel_discover_usb3(struct tb *tb, struct tb_port *down, in tb_tunnel_discover_usb3()
1476 struct tb_tunnel *tb_tunnel_alloc_usb3(struct tb *tb, struct tb_port *up, in tb_tunnel_alloc_usb3()
1477 struct tb_port *down, int max_up, in tb_tunnel_alloc_usb3()
1687 const struct tb_port *port) in tb_tunnel_port_on_path()