Lines Matching refs:rswitch
186 list_add_tail(&rdev->rswitch->node, in rio_add_device()
212 list_del(&rdev->rswitch->node); in rio_del_device()
213 kfree(rdev->rswitch->route_table); in rio_del_device()
972 p_port = prev->rswitch->route_table[rdev->destid]; in rio_chk_dev_route()
1081 struct rio_dev *nextdev = rdev->rswitch->nextdev[pnum]; in rio_clr_err_stopped()
1256 if (rdev->rswitch->ops && rdev->rswitch->ops->em_handle) in rio_inb_pwrite_handler()
1257 rdev->rswitch->ops->em_handle(rdev, portnum); in rio_inb_pwrite_handler()
1265 if (!(rdev->rswitch->port_ok & (1 << portnum))) { in rio_inb_pwrite_handler()
1266 rdev->rswitch->port_ok |= (1 << portnum); in rio_inb_pwrite_handler()
1284 if (rdev->rswitch->port_ok & (1 << portnum)) { in rio_inb_pwrite_handler()
1285 rdev->rswitch->port_ok &= ~(1 << portnum); in rio_inb_pwrite_handler()
1618 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_add_entry()
1627 spin_lock(&rdev->rswitch->lock); in rio_route_add_entry()
1640 spin_unlock(&rdev->rswitch->lock); in rio_route_add_entry()
1671 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_get_entry()
1680 spin_lock(&rdev->rswitch->lock); in rio_route_get_entry()
1693 spin_unlock(&rdev->rswitch->lock); in rio_route_get_entry()
1719 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_clr_table()
1728 spin_lock(&rdev->rswitch->lock); in rio_route_clr_table()
1740 spin_unlock(&rdev->rswitch->lock); in rio_route_clr_table()