Lines Matching refs:vcc
27 struct regulator *vcc; member
39 regulator_disable(rfkill_data->vcc); in rfkill_regulator_set_block()
44 ret = regulator_enable(rfkill_data->vcc); in rfkill_regulator_set_block()
51 regulator_is_enabled(rfkill_data->vcc)); in rfkill_regulator_set_block()
64 struct regulator *vcc; in rfkill_regulator_probe() local
78 vcc = regulator_get_exclusive(&pdev->dev, "vrfkill"); in rfkill_regulator_probe()
79 if (IS_ERR(vcc)) { in rfkill_regulator_probe()
81 ret = PTR_ERR(vcc); in rfkill_regulator_probe()
99 if (regulator_is_enabled(vcc)) { in rfkill_regulator_probe()
103 rfkill_data->vcc = vcc; in rfkill_regulator_probe()
122 regulator_put(vcc); in rfkill_regulator_probe()
134 regulator_put(rfkill_data->vcc); in rfkill_regulator_remove()