Lines Matching refs:rswitch
190 list_add_tail(&rdev->rswitch->node, in rio_add_device()
216 list_del(&rdev->rswitch->node); in rio_del_device()
217 kfree(rdev->rswitch->route_table); in rio_del_device()
976 p_port = prev->rswitch->route_table[rdev->destid]; in rio_chk_dev_route()
1085 struct rio_dev *nextdev = rdev->rswitch->nextdev[pnum]; in rio_clr_err_stopped()
1260 if (rdev->rswitch->ops && rdev->rswitch->ops->em_handle) in rio_inb_pwrite_handler()
1261 rdev->rswitch->ops->em_handle(rdev, portnum); in rio_inb_pwrite_handler()
1269 if (!(rdev->rswitch->port_ok & (1 << portnum))) { in rio_inb_pwrite_handler()
1270 rdev->rswitch->port_ok |= (1 << portnum); in rio_inb_pwrite_handler()
1288 if (rdev->rswitch->port_ok & (1 << portnum)) { in rio_inb_pwrite_handler()
1289 rdev->rswitch->port_ok &= ~(1 << portnum); in rio_inb_pwrite_handler()
1687 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_add_entry()
1696 spin_lock(&rdev->rswitch->lock); in rio_route_add_entry()
1709 spin_unlock(&rdev->rswitch->lock); in rio_route_add_entry()
1740 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_get_entry()
1749 spin_lock(&rdev->rswitch->lock); in rio_route_get_entry()
1762 spin_unlock(&rdev->rswitch->lock); in rio_route_get_entry()
1788 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_clr_table()
1797 spin_lock(&rdev->rswitch->lock); in rio_route_clr_table()
1809 spin_unlock(&rdev->rswitch->lock); in rio_route_clr_table()