tb_route          181 drivers/thunderbolt/dma_port.c 		ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i],
tb_route          249 drivers/thunderbolt/dma_port.c 		ret = dma_port_read(sw->tb->ctl, &in, tb_route(sw), dma->port,
tb_route          285 drivers/thunderbolt/dma_port.c 	ret = dma_port_write(sw->tb->ctl, &in, tb_route(sw), dma->port,
tb_route          294 drivers/thunderbolt/dma_port.c 	ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port,
tb_route          322 drivers/thunderbolt/dma_port.c 	return dma_port_read(sw->tb->ctl, buf, tb_route(sw), dma->port,
tb_route          336 drivers/thunderbolt/dma_port.c 	ret = dma_port_write(sw->tb->ctl, buf, tb_route(sw), dma->port,
tb_route          487 drivers/thunderbolt/dma_port.c 	ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port,
tb_route          500 drivers/thunderbolt/eeprom.c 	if (tb_route(sw) == 0) {
tb_route          607 drivers/thunderbolt/icm.c 		tb_port_at(tb_route(sw), parent_sw)->remote = NULL;
tb_route          624 drivers/thunderbolt/icm.c 	tb_port_at(tb_route(sw), parent_sw)->remote = NULL;
tb_route          649 drivers/thunderbolt/icm.c 	tb_port_at(tb_route(sw), parent_sw)->remote = NULL;
tb_route          755 drivers/thunderbolt/icm.c 				route = tb_route(sw);
tb_route         1176 drivers/thunderbolt/icm.c 		if (tb_route(sw) == route && !!sw->authorized == authorized) {
tb_route         1898 drivers/thunderbolt/icm.c 	if (tb_route(sw))
tb_route         2007 drivers/thunderbolt/icm.c 	if (tb_route(sw))
tb_route         2014 drivers/thunderbolt/icm.c 	if (tb_route(sw)) {
tb_route           97 drivers/thunderbolt/lc.c 	if (!sw->config.enabled || !tb_route(sw))
tb_route          101 drivers/thunderbolt/lc.c 	down = tb_port_at(tb_route(sw), tb_to_switch(sw->dev.parent));
tb_route          127 drivers/thunderbolt/lc.c 	if (sw->is_unplugged || !sw->config.enabled || !tb_route(sw))
tb_route          131 drivers/thunderbolt/lc.c 	down = tb_port_at(tb_route(sw), tb_to_switch(sw->dev.parent));
tb_route          245 drivers/thunderbolt/path.c 	num_hops = abs(tb_route_length(tb_route(src->sw)) -
tb_route          246 drivers/thunderbolt/path.c 		       tb_route_length(tb_route(dst->sw))) + 1;
tb_route          418 drivers/thunderbolt/path.c 	       path->name, tb_route(path->hops[0].in_port->sw),
tb_route          420 drivers/thunderbolt/path.c 	       tb_route(path->hops[path->path_length - 1].out_port->sw),
tb_route          446 drivers/thunderbolt/path.c 	       path->name, tb_route(path->hops[0].in_port->sw),
tb_route          448 drivers/thunderbolt/path.c 	       tb_route(path->hops[path->path_length - 1].out_port->sw),
tb_route          784 drivers/thunderbolt/switch.c 			next = tb_port_at(tb_route(end->sw), prev->sw);
tb_route         1268 drivers/thunderbolt/switch.c 		if (!tb_route(sw)) {
tb_route         1374 drivers/thunderbolt/switch.c 		if (tb_route(sw) &&
tb_route         1388 drivers/thunderbolt/switch.c 		if (tb_route(sw))
tb_route         1591 drivers/thunderbolt/switch.c 	dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw));
tb_route         1636 drivers/thunderbolt/switch.c 	dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw));
tb_route         1657 drivers/thunderbolt/switch.c 	route = tb_route(sw);
tb_route         1719 drivers/thunderbolt/switch.c 		if (tb_route(sw))
tb_route         1740 drivers/thunderbolt/switch.c 	if (!tb_route(sw) && sw->config.enabled)
tb_route         1758 drivers/thunderbolt/switch.c 		if (!tb_route(sw))
tb_route         1773 drivers/thunderbolt/switch.c 	if (!tb_route(sw))
tb_route         1846 drivers/thunderbolt/switch.c 	if (tb_route(sw)) {
tb_route         1906 drivers/thunderbolt/switch.c 	if (tb_route(sw))
tb_route         1943 drivers/thunderbolt/switch.c 	if (tb_route(sw)) {
tb_route         1951 drivers/thunderbolt/switch.c 		err = tb_cfg_get_upstream_port(sw->tb->ctl, tb_route(sw));
tb_route          153 drivers/thunderbolt/tb.c 		tb_queue_hotplug(port->sw->tb, tb_route(port->sw), port->port,
tb_route          331 drivers/thunderbolt/tb.c 	if (!tb_route(sw)) {
tb_route          415 drivers/thunderbolt/tb.c 	port = tb_port_at(tb_route(sw), parent_sw);
tb_route          395 drivers/thunderbolt/tb.h 			   tb_route(sw),
tb_route          409 drivers/thunderbolt/tb.h 			    tb_route(sw),
tb_route          423 drivers/thunderbolt/tb.h 			   tb_route(port->sw),
tb_route          437 drivers/thunderbolt/tb.h 			    tb_route(port->sw),
tb_route          454 drivers/thunderbolt/tb.h 		      tb_route(__sw), ## arg);          \
tb_route          465 drivers/thunderbolt/tb.h 		      tb_route(__port->sw), __port->port, ## arg);      \
tb_route          652 drivers/thunderbolt/tb.h 	return tb_route(port->sw)
tb_route           39 drivers/thunderbolt/tunnel.c 		      tb_route(__tunnel->src_port->sw),                 \
tb_route           41 drivers/thunderbolt/tunnel.c 		      tb_route(__tunnel->dst_port->sw),                 \