Searched refs:TB_CFG_HOPS (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/thunderbolt/ |
| H A D | path.c | 48 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hopid, 2); in tb_path_find_dst_port() 134 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover() 180 ret = tb_port_read(p, &hop, TB_CFG_HOPS, 2 * h, 2); in tb_path_discover() 400 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop() 410 ret = tb_port_write(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop() 417 ret = tb_port_read(port, &hop, TB_CFG_HOPS, 2 * hop_index, 2); in __tb_path_deactivate_hop() 436 return tb_port_write(port, &hop, TB_CFG_HOPS, in __tb_path_deactivate_hop() 577 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, in tb_path_activate()
|
| H A D | debugfs.c | 214 ret = tb_port_read(port, data, TB_CFG_HOPS, offs, PATH_LEN); in path_write_one() 218 return tb_port_write(port, data, TB_CFG_HOPS, offs, PATH_LEN); in path_write_one() 244 if (space == TB_CFG_HOPS) in regs_write() 252 if (space == TB_CFG_HOPS) in regs_write() 288 return regs_write(port->sw, port, TB_CFG_HOPS, user_buf, count, ppos); in path_write() 2238 ret = tb_port_read(port, data, TB_CFG_HOPS, hopid * PATH_LEN, in path_show_one()
|
| H A D | tb_msgs.h | 16 TB_CFG_HOPS = 0, enumerator
|
| H A D | switch.c | 747 if (!tb_port_read(port, &hop, TB_CFG_HOPS, 0, 2)) in tb_init_port()
|