Lines Matching +full:de +full:- +full:activated
1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Thunderbolt driver - Tunneling support
22 * enum tb_tunnel_state - State of a tunnel
34 * struct tb_tunnel - Tunnel between two ports
45 * @post_deactivate: Optional tunnel specific de-initialization called
70 * @callback: Optional callback called when DP tunnel is fully activated
142 * tb_tunnel_is_active() - Is tunnel fully activated
145 * Returns %true if @tunnel is fully activated. For other than DP
152 return tunnel->state == TB_TUNNEL_ACTIVE; in tb_tunnel_is_active()
173 return tunnel->type == TB_TUNNEL_PCI; in tb_tunnel_is_pci()
178 return tunnel->type == TB_TUNNEL_DP; in tb_tunnel_is_dp()
183 return tunnel->type == TB_TUNNEL_DMA; in tb_tunnel_is_dma()
188 return tunnel->type == TB_TUNNEL_USB3; in tb_tunnel_is_usb3()
193 return tb_port_path_direction_downstream(tunnel->src_port, in tb_tunnel_direction_downstream()
194 tunnel->dst_port); in tb_tunnel_direction_downstream()
202 level(__tunnel->tb, "%llx:%u <-> %llx:%u (%s): " fmt, \
203 tb_route(__tunnel->src_port->sw), \
204 __tunnel->src_port->port, \
205 tb_route(__tunnel->dst_port->sw), \
206 __tunnel->dst_port->port, \