Lines Matching refs:rstate
585 struct regulator_state *rstate)
597 if (!rstate->enabled && !rstate->disabled) {
604 if (rstate->enabled && rstate->disabled) {
616 if (rstate->enabled)
625 if (rdev->desc->ops->set_suspend_voltage && rstate->uV > 0) {
626 ret = rdev->desc->ops->set_suspend_voltage(rdev, rstate->uV);
634 if (rdev->desc->ops->set_suspend_mode && rstate->mode > 0) {
635 ret = rdev->desc->ops->set_suspend_mode(rdev, rstate->mode);