Searched refs:tb_route (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/thunderbolt/ |
D | tb.h | 263 static inline u64 tb_route(struct tb_switch *sw) in tb_route() function 283 tb_route(sw), in tb_sw_read() 295 tb_route(sw), in tb_sw_write() 307 tb_route(port->sw), in tb_port_read() 319 tb_route(port->sw), in tb_port_write() 336 tb_route(__sw), ## arg); \ 347 tb_route(__port->sw), __port->port, ## arg); \ 467 return tb_route(port->sw) in tb_downstream_route()
|
D | dma_port.c | 184 ret = dma_port_read(sw->tb->ctl, &type, tb_route(sw), ports[i], in dma_find_port() 252 ret = dma_port_read(sw->tb->ctl, &in, tb_route(sw), dma->port, in dma_port_wait_for_completion() 288 ret = dma_port_write(sw->tb->ctl, &in, tb_route(sw), dma->port, in dma_port_request() 297 ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port, in dma_port_request() 325 return dma_port_read(sw->tb->ctl, buf, tb_route(sw), dma->port, in dma_port_flash_read_block() 339 ret = dma_port_write(sw->tb->ctl, buf, tb_route(sw), dma->port, in dma_port_flash_write_block() 490 ret = dma_port_read(sw->tb->ctl, &out, tb_route(sw), dma->port, in dma_port_flash_update_auth_status()
|
D | path.c | 99 tb_route(path->hops[0].in_port->sw), in tb_path_deactivate() 101 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_deactivate() 127 tb_route(path->hops[0].in_port->sw), in tb_path_activate() 129 tb_route(path->hops[path->path_length - 1].out_port->sw), in tb_path_activate()
|
D | switch.c | 916 if (!tb_route(sw)) in nvm_authenticate_store() 1003 if (tb_route(sw) && in switch_attr_is_visible() 1014 if (tb_route(sw)) in switch_attr_is_visible() 1182 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc() 1227 dev_set_name(&sw->dev, "%u-%llx", tb->index, tb_route(sw)); in tb_switch_alloc_safe_mode() 1248 route = tb_route(sw); in tb_switch_configure() 1309 if (tb_route(sw)) in tb_switch_add_dma_port() 1492 if (tb_route(sw)) { in tb_switch_resume()
|
D | tunnel_pci.c | 18 tb_route(__tunnel->down_port->sw), \ 20 tb_route(__tunnel->up_port->sw), \
|
D | icm.c | 496 tb_port_at(tb_route(sw), parent_sw)->remote = NULL; in add_switch() 510 tb_port_at(tb_route(sw), parent_sw)->remote = NULL; in update_switch() 532 tb_port_at(tb_route(sw), parent_sw)->remote = NULL; in remove_switch() 636 route = tb_route(sw); in icm_fr_device_connected() 1047 if (tb_route(sw) == route && !!sw->authorized == authorized) { in icm_tr_device_connected() 1753 if (tb_route(sw)) in icm_unplug_children()
|
D | eeprom.c | 499 if (tb_route(sw) == 0) { in tb_drom_read()
|