Searched refs:tb_port (Results 1 – 8 of 8) sorted by relevance
/drivers/thunderbolt/ |
D | tb.h | 20 struct tb_port *ports; 31 struct tb_port { struct 34 struct tb_port *remote; /* remote port, NULL if not connected */ argument 38 struct tb_port *dual_link_port; argument 54 struct tb_port *in_port; argument 55 struct tb_port *out_port; 130 static inline struct tb_port *tb_upstream_port(struct tb_switch *sw) in tb_upstream_port() 164 static inline int tb_port_read(struct tb_port *port, void *buffer, in tb_port_read() 176 static inline int tb_port_write(struct tb_port *port, void *buffer, in tb_port_write() 207 struct tb_port *__port = (_port); \ [all …]
|
D | tunnel_pci.h | 14 struct tb_port *up_port; 15 struct tb_port *down_port; 21 struct tb_pci_tunnel *tb_pci_alloc(struct tb *tb, struct tb_port *up, 22 struct tb_port *down);
|
D | tb.c | 19 static void tb_scan_port(struct tb_port *port); 34 static void tb_scan_port(struct tb_port *port) in tb_scan_port() 83 struct tb_port *port = &sw->ports[i]; in tb_free_unplugged_children() 101 static struct tb_port *tb_find_pci_up_port(struct tb_switch *sw) in tb_find_pci_up_port() 113 static struct tb_port *tb_find_unused_down_port(struct tb_switch *sw) in tb_find_unused_down_port() 149 struct tb_port *up_port; in tb_activate_pcie_devices() 150 struct tb_port *down_port; in tb_activate_pcie_devices() 221 struct tb_port *port; in tb_handle_hotplug()
|
D | switch.c | 63 static int tb_port_state(struct tb_port *port) in tb_port_state() 90 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged) in tb_wait_for_port() 150 int tb_port_add_nfc_credits(struct tb_port *port, int credits) in tb_port_add_nfc_credits() 169 int tb_port_clear_counter(struct tb_port *port, int counter) in tb_port_clear_counter() 184 static int tb_init_port(struct tb_port *port) in tb_init_port() 481 struct tb_port *port = &sw->ports[i]; in tb_switch_resume()
|
D | tunnel_pci.c | 58 struct tb_pci_tunnel *tb_pci_alloc(struct tb *tb, struct tb_port *up, in tb_pci_alloc() 59 struct tb_port *down) in tb_pci_alloc() 147 static int tb_pci_port_active(struct tb_port *port, bool active) in tb_pci_port_active()
|
D | cap.c | 80 int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap) in tb_find_cap()
|
D | eeprom.c | 294 static void tb_drom_parse_port_entry(struct tb_port *port, in tb_drom_parse_port_entry() 306 struct tb_port *port; in tb_drom_parse_entry()
|
D | path.c | 13 static void tb_dump_hop(struct tb_port *port, struct tb_regs_hop *hop) in tb_dump_hop()
|