Lines Matching refs:rswitch
683 p_port = prev->rswitch->route_table[rdev->destid]; in rio_chk_dev_route()
785 struct rio_dev *nextdev = rdev->rswitch->nextdev[pnum]; in rio_clr_err_stopped()
946 if (rdev->rswitch->ops && rdev->rswitch->ops->em_handle) in rio_inb_pwrite_handler()
947 rdev->rswitch->ops->em_handle(rdev, portnum); in rio_inb_pwrite_handler()
956 if (!(rdev->rswitch->port_ok & (1 << portnum))) { in rio_inb_pwrite_handler()
957 rdev->rswitch->port_ok |= (1 << portnum); in rio_inb_pwrite_handler()
975 if (rdev->rswitch->port_ok & (1 << portnum)) { in rio_inb_pwrite_handler()
976 rdev->rswitch->port_ok &= ~(1 << portnum); in rio_inb_pwrite_handler()
1376 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_add_entry()
1385 spin_lock(&rdev->rswitch->lock); in rio_route_add_entry()
1398 spin_unlock(&rdev->rswitch->lock); in rio_route_add_entry()
1429 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_get_entry()
1438 spin_lock(&rdev->rswitch->lock); in rio_route_get_entry()
1451 spin_unlock(&rdev->rswitch->lock); in rio_route_get_entry()
1477 struct rio_switch_ops *ops = rdev->rswitch->ops; in rio_route_clr_table()
1486 spin_lock(&rdev->rswitch->lock); in rio_route_clr_table()
1498 spin_unlock(&rdev->rswitch->lock); in rio_route_clr_table()