Lines Matching refs:rswitch
283 route_port = rdev->rswitch->route_table[regval]; in tsi57x_em_handler()
311 spin_lock(&rdev->rswitch->lock); in tsi57x_probe()
313 if (rdev->rswitch->ops) { in tsi57x_probe()
314 spin_unlock(&rdev->rswitch->lock); in tsi57x_probe()
317 rdev->rswitch->ops = &tsi57x_switch_ops; in tsi57x_probe()
325 spin_unlock(&rdev->rswitch->lock); in tsi57x_probe()
332 spin_lock(&rdev->rswitch->lock); in tsi57x_remove()
333 if (rdev->rswitch->ops != &tsi57x_switch_ops) { in tsi57x_remove()
334 spin_unlock(&rdev->rswitch->lock); in tsi57x_remove()
337 rdev->rswitch->ops = NULL; in tsi57x_remove()
338 spin_unlock(&rdev->rswitch->lock); in tsi57x_remove()