tb_port 26 drivers/thunderbolt/cap.c static int tb_port_enable_tmu(struct tb_port *port, bool enable) tb_port 55 drivers/thunderbolt/cap.c static void tb_port_dummy_read(struct tb_port *port) tb_port 70 drivers/thunderbolt/cap.c static int __tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) tb_port 100 drivers/thunderbolt/cap.c int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) tb_port 334 drivers/thunderbolt/eeprom.c struct tb_port *port; tb_port 1902 drivers/thunderbolt/icm.c struct tb_port *port = &sw->ports[i]; tb_port 1942 drivers/thunderbolt/icm.c struct tb_port *port = &sw->ports[i]; tb_port 30 drivers/thunderbolt/lc.c static int find_port_lc_cap(struct tb_port *port) tb_port 48 drivers/thunderbolt/lc.c static int tb_lc_configure_lane(struct tb_port *port, bool configure) tb_port 94 drivers/thunderbolt/lc.c struct tb_port *up, *down; tb_port 125 drivers/thunderbolt/lc.c struct tb_port *up, *down; tb_port 18 drivers/thunderbolt/path.c const struct tb_port *port = hop->in_port; tb_port 34 drivers/thunderbolt/path.c static struct tb_port *tb_path_find_dst_port(struct tb_port *src, int src_hopid, tb_port 37 drivers/thunderbolt/path.c struct tb_port *port, *out_port = NULL; tb_port 65 drivers/thunderbolt/path.c static int tb_path_find_src_hopid(struct tb_port *src, tb_port 66 drivers/thunderbolt/path.c const struct tb_port *dst, int dst_hopid) tb_port 68 drivers/thunderbolt/path.c struct tb_port *out; tb_port 100 drivers/thunderbolt/path.c struct tb_path *tb_path_discover(struct tb_port *src, int src_hopid, tb_port 101 drivers/thunderbolt/path.c struct tb_port *dst, int dst_hopid, tb_port 102 drivers/thunderbolt/path.c struct tb_port **last, const char *name) tb_port 104 drivers/thunderbolt/path.c struct tb_port *out_port; tb_port 108 drivers/thunderbolt/path.c struct tb_port *p; tb_port 227 drivers/thunderbolt/path.c struct tb_path *tb_path_alloc(struct tb *tb, struct tb_port *src, int src_hopid, tb_port 228 drivers/thunderbolt/path.c struct tb_port *dst, int dst_hopid, int link_nr, tb_port 231 drivers/thunderbolt/path.c struct tb_port *in_port, *out_port; tb_port 345 drivers/thunderbolt/path.c static int __tb_path_deactivate_hop(struct tb_port *port, int hop_index, tb_port 489 drivers/thunderbolt/switch.c static int tb_port_state(struct tb_port *port) tb_port 516 drivers/thunderbolt/switch.c int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) tb_port 575 drivers/thunderbolt/switch.c int tb_port_add_nfc_credits(struct tb_port *port, int credits) tb_port 602 drivers/thunderbolt/switch.c int tb_port_set_initial_credits(struct tb_port *port, u32 credits) tb_port 622 drivers/thunderbolt/switch.c int tb_port_clear_counter(struct tb_port *port, int counter) tb_port 637 drivers/thunderbolt/switch.c static int tb_init_port(struct tb_port *port) tb_port 678 drivers/thunderbolt/switch.c static int tb_port_alloc_hopid(struct tb_port *port, bool in, int min_hopid, tb_port 711 drivers/thunderbolt/switch.c int tb_port_alloc_in_hopid(struct tb_port *port, int min_hopid, int max_hopid) tb_port 725 drivers/thunderbolt/switch.c int tb_port_alloc_out_hopid(struct tb_port *port, int min_hopid, int max_hopid) tb_port 735 drivers/thunderbolt/switch.c void tb_port_release_in_hopid(struct tb_port *port, int hopid) tb_port 745 drivers/thunderbolt/switch.c void tb_port_release_out_hopid(struct tb_port *port, int hopid) tb_port 765 drivers/thunderbolt/switch.c struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, tb_port 766 drivers/thunderbolt/switch.c struct tb_port *prev) tb_port 768 drivers/thunderbolt/switch.c struct tb_port *next; tb_port 808 drivers/thunderbolt/switch.c bool tb_port_is_enabled(struct tb_port *port) tb_port 828 drivers/thunderbolt/switch.c bool tb_pci_port_is_enabled(struct tb_port *port) tb_port 843 drivers/thunderbolt/switch.c int tb_pci_port_enable(struct tb_port *port, bool enable) tb_port 857 drivers/thunderbolt/switch.c int tb_dp_port_hpd_is_active(struct tb_port *port) tb_port 875 drivers/thunderbolt/switch.c int tb_dp_port_hpd_clear(struct tb_port *port) tb_port 897 drivers/thunderbolt/switch.c int tb_dp_port_set_hops(struct tb_port *port, unsigned int video, tb_port 923 drivers/thunderbolt/switch.c bool tb_dp_port_is_enabled(struct tb_port *port) tb_port 942 drivers/thunderbolt/switch.c int tb_dp_port_enable(struct tb_port *port, bool enable) tb_port 1985 drivers/thunderbolt/switch.c struct tb_port *port = &sw->ports[i]; tb_port 63 drivers/thunderbolt/tb.c struct tb_port *port; tb_port 104 drivers/thunderbolt/tb.c static void tb_scan_xdomain(struct tb_port *port) tb_port 126 drivers/thunderbolt/tb.c static void tb_scan_port(struct tb_port *port); tb_port 141 drivers/thunderbolt/tb.c static void tb_scan_port(struct tb_port *port) tb_port 144 drivers/thunderbolt/tb.c struct tb_port *upstream_port; tb_port 224 drivers/thunderbolt/tb.c struct tb_port *src_port, struct tb_port *dst_port) tb_port 268 drivers/thunderbolt/tb.c struct tb_port *port = &sw->ports[i]; tb_port 289 drivers/thunderbolt/tb.c static struct tb_port *tb_find_port(struct tb_switch *sw, tb_port 304 drivers/thunderbolt/tb.c static struct tb_port *tb_find_unused_port(struct tb_switch *sw, tb_port 323 drivers/thunderbolt/tb.c static struct tb_port *tb_find_pcie_down(struct tb_switch *sw, tb_port 324 drivers/thunderbolt/tb.c const struct tb_port *port) tb_port 361 drivers/thunderbolt/tb.c static int tb_tunnel_dp(struct tb *tb, struct tb_port *out) tb_port 366 drivers/thunderbolt/tb.c struct tb_port *in; tb_port 394 drivers/thunderbolt/tb.c static void tb_teardown_dp(struct tb *tb, struct tb_port *out) tb_port 401 drivers/thunderbolt/tb.c struct tb_port *up, *down, *port; tb_port 438 drivers/thunderbolt/tb.c struct tb_port *nhi_port, *dst_port; tb_port 470 drivers/thunderbolt/tb.c struct tb_port *dst_port; tb_port 507 drivers/thunderbolt/tb.c struct tb_port *port; tb_port 740 drivers/thunderbolt/tb.c struct tb_port *port = &sw->ports[i]; tb_port 91 drivers/thunderbolt/tb.h struct tb_port *ports; tb_port 139 drivers/thunderbolt/tb.h struct tb_port *remote; tb_port 145 drivers/thunderbolt/tb.h struct tb_port *dual_link_port; tb_port 176 drivers/thunderbolt/tb.h struct tb_port *in_port; tb_port 177 drivers/thunderbolt/tb.h struct tb_port *out_port; tb_port 312 drivers/thunderbolt/tb.h static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) tb_port 324 drivers/thunderbolt/tb.h static inline bool tb_is_upstream_port(const struct tb_port *port) tb_port 326 drivers/thunderbolt/tb.h const struct tb_port *upstream_port = tb_upstream_port(port->sw); tb_port 335 drivers/thunderbolt/tb.h static inline struct tb_port *tb_port_at(u64 route, struct tb_switch *sw) tb_port 351 drivers/thunderbolt/tb.h static inline bool tb_port_has_remote(const struct tb_port *port) tb_port 363 drivers/thunderbolt/tb.h static inline bool tb_port_is_null(const struct tb_port *port) tb_port 368 drivers/thunderbolt/tb.h static inline bool tb_port_is_pcie_down(const struct tb_port *port) tb_port 373 drivers/thunderbolt/tb.h static inline bool tb_port_is_pcie_up(const struct tb_port *port) tb_port 378 drivers/thunderbolt/tb.h static inline bool tb_port_is_dpin(const struct tb_port *port) tb_port 383 drivers/thunderbolt/tb.h static inline bool tb_port_is_dpout(const struct tb_port *port) tb_port 416 drivers/thunderbolt/tb.h static inline int tb_port_read(struct tb_port *port, void *buffer, tb_port 430 drivers/thunderbolt/tb.h static inline int tb_port_write(struct tb_port *port, const void *buffer, tb_port 463 drivers/thunderbolt/tb.h const struct tb_port *__port = (_port); \ tb_port 594 drivers/thunderbolt/tb.h int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged); tb_port 595 drivers/thunderbolt/tb.h int tb_port_add_nfc_credits(struct tb_port *port, int credits); tb_port 596 drivers/thunderbolt/tb.h int tb_port_set_initial_credits(struct tb_port *port, u32 credits); tb_port 597 drivers/thunderbolt/tb.h int tb_port_clear_counter(struct tb_port *port, int counter); tb_port 598 drivers/thunderbolt/tb.h int tb_port_alloc_in_hopid(struct tb_port *port, int hopid, int max_hopid); tb_port 599 drivers/thunderbolt/tb.h void tb_port_release_in_hopid(struct tb_port *port, int hopid); tb_port 600 drivers/thunderbolt/tb.h int tb_port_alloc_out_hopid(struct tb_port *port, int hopid, int max_hopid); tb_port 601 drivers/thunderbolt/tb.h void tb_port_release_out_hopid(struct tb_port *port, int hopid); tb_port 602 drivers/thunderbolt/tb.h struct tb_port *tb_next_port_on_path(struct tb_port *start, struct tb_port *end, tb_port 603 drivers/thunderbolt/tb.h struct tb_port *prev); tb_port 606 drivers/thunderbolt/tb.h int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap); tb_port 607 drivers/thunderbolt/tb.h bool tb_port_is_enabled(struct tb_port *port); tb_port 609 drivers/thunderbolt/tb.h bool tb_pci_port_is_enabled(struct tb_port *port); tb_port 610 drivers/thunderbolt/tb.h int tb_pci_port_enable(struct tb_port *port, bool enable); tb_port 612 drivers/thunderbolt/tb.h int tb_dp_port_hpd_is_active(struct tb_port *port); tb_port 613 drivers/thunderbolt/tb.h int tb_dp_port_hpd_clear(struct tb_port *port); tb_port 614 drivers/thunderbolt/tb.h int tb_dp_port_set_hops(struct tb_port *port, unsigned int video, tb_port 616 drivers/thunderbolt/tb.h bool tb_dp_port_is_enabled(struct tb_port *port); tb_port 617 drivers/thunderbolt/tb.h int tb_dp_port_enable(struct tb_port *port, bool enable); tb_port 619 drivers/thunderbolt/tb.h struct tb_path *tb_path_discover(struct tb_port *src, int src_hopid, tb_port 620 drivers/thunderbolt/tb.h struct tb_port *dst, int dst_hopid, tb_port 621 drivers/thunderbolt/tb.h struct tb_port **last, const char *name); tb_port 622 drivers/thunderbolt/tb.h struct tb_path *tb_path_alloc(struct tb *tb, struct tb_port *src, int src_hopid, tb_port 623 drivers/thunderbolt/tb.h struct tb_port *dst, int dst_hopid, int link_nr, tb_port 650 drivers/thunderbolt/tb.h static inline u64 tb_downstream_route(struct tb_port *port) tb_port 116 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down) tb_port 193 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, tb_port 194 drivers/thunderbolt/tunnel.c struct tb_port *down) tb_port 230 drivers/thunderbolt/tunnel.c struct tb_port *out = tunnel->dst_port; tb_port 231 drivers/thunderbolt/tunnel.c struct tb_port *in = tunnel->src_port; tb_port 349 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in) tb_port 352 drivers/thunderbolt/tunnel.c struct tb_port *port; tb_port 428 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, tb_port 429 drivers/thunderbolt/tunnel.c struct tb_port *out) tb_port 477 drivers/thunderbolt/tunnel.c static u32 tb_dma_credits(struct tb_port *nhi) tb_port 488 drivers/thunderbolt/tunnel.c struct tb_port *nhi = tunnel->src_port; tb_port 526 drivers/thunderbolt/tunnel.c struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, tb_port 527 drivers/thunderbolt/tunnel.c struct tb_port *dst, int transmit_ring, tb_port 35 drivers/thunderbolt/tunnel.h struct tb_port *src_port; tb_port 36 drivers/thunderbolt/tunnel.h struct tb_port *dst_port; tb_port 45 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_discover_pci(struct tb *tb, struct tb_port *down); tb_port 46 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_alloc_pci(struct tb *tb, struct tb_port *up, tb_port 47 drivers/thunderbolt/tunnel.h struct tb_port *down); tb_port 48 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_discover_dp(struct tb *tb, struct tb_port *in); tb_port 49 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_alloc_dp(struct tb *tb, struct tb_port *in, tb_port 50 drivers/thunderbolt/tunnel.h struct tb_port *out); tb_port 51 drivers/thunderbolt/tunnel.h struct tb_tunnel *tb_tunnel_alloc_dma(struct tb *tb, struct tb_port *nhi, tb_port 52 drivers/thunderbolt/tunnel.h struct tb_port *dst, int transmit_ring, tb_port 1410 drivers/thunderbolt/xdomain.c struct tb_port *port = &sw->ports[i];