Lines Matching refs:tb_port
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); \
232 int tb_wait_for_port(struct tb_port *port, bool wait_if_unplugged);
233 int tb_port_add_nfc_credits(struct tb_port *port, int credits);
234 int tb_port_clear_counter(struct tb_port *port, int counter);
236 int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap);
253 static inline bool tb_is_upstream_port(struct tb_port *port) in tb_is_upstream_port()
265 static inline u64 tb_downstream_route(struct tb_port *port) in tb_downstream_route()