Home
last modified time | relevance | path

Searched refs:tb_port (Results 1 – 10 of 10) sorted by relevance

/Linux-v4.19/drivers/thunderbolt/
Dtb.h88 struct tb_port *ports;
129 struct tb_port { struct
132 struct tb_port *remote; argument
137 struct tb_port *dual_link_port; argument
153 struct tb_port *in_port; argument
154 struct tb_port *out_port;
258 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port()
268 static inline struct tb_port *tb_port_at(u64 route, struct tb_switch *sw) in tb_port_at()
302 static inline int tb_port_read(struct tb_port *port, void *buffer, in tb_port_read()
314 static inline int tb_port_write(struct tb_port *port, const void *buffer, in tb_port_write()
[all …]
Dtunnel_pci.h15 struct tb_port *up_port;
16 struct tb_port *down_port;
22 struct tb_pci_tunnel *tb_pci_alloc(struct tb *tb, struct tb_port *up,
23 struct tb_port *down);
Dtb.c33 static void tb_scan_port(struct tb_port *port);
48 static void tb_scan_port(struct tb_port *port) in tb_scan_port()
113 struct tb_port *port = &sw->ports[i]; in tb_free_unplugged_children()
131 static struct tb_port *tb_find_pci_up_port(struct tb_switch *sw) in tb_find_pci_up_port()
143 static struct tb_port *tb_find_unused_down_port(struct tb_switch *sw) in tb_find_unused_down_port()
179 struct tb_port *up_port; in tb_activate_pcie_devices()
180 struct tb_port *down_port; in tb_activate_pcie_devices()
256 struct tb_port *port; in tb_handle_hotplug()
Dtunnel_pci.c59 struct tb_pci_tunnel *tb_pci_alloc(struct tb *tb, struct tb_port *up, in tb_pci_alloc()
60 struct tb_port *down) in tb_pci_alloc()
148 static int tb_pci_port_active(struct tb_port *port, bool active) in tb_pci_port_active()
Dcap.c33 int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in tb_port_find_cap()
Dswitch.c457 static int tb_port_state(struct tb_port *port) in tb_port_state()
484 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port()
544 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits()
563 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter()
578 static int tb_init_port(struct tb_port *port) in tb_init_port()
1519 struct tb_port *port = &sw->ports[i]; in tb_switch_resume()
Dpath.c14 static void tb_dump_hop(struct tb_port *port, struct tb_regs_hop *hop) in tb_dump_hop()
Deeprom.c333 struct tb_port *port; in tb_drom_parse_entry_port()
Dicm.c1757 struct tb_port *port = &sw->ports[i]; in icm_unplug_children()
1777 struct tb_port *port = &sw->ports[i]; in icm_free_unplugged_children()
Dxdomain.c1285 struct tb_port *port = &sw->ports[i]; in switch_find_xdomain()