Lines Matching refs:vcc
27 struct regulator *vcc; member
38 regulator_disable(rfkill_data->vcc); in rfkill_regulator_set_block()
43 regulator_enable(rfkill_data->vcc); in rfkill_regulator_set_block()
49 regulator_is_enabled(rfkill_data->vcc)); in rfkill_regulator_set_block()
62 struct regulator *vcc; in rfkill_regulator_probe() local
76 vcc = regulator_get_exclusive(&pdev->dev, "vrfkill"); in rfkill_regulator_probe()
77 if (IS_ERR(vcc)) { in rfkill_regulator_probe()
79 ret = PTR_ERR(vcc); in rfkill_regulator_probe()
97 if (regulator_is_enabled(vcc)) { in rfkill_regulator_probe()
101 rfkill_data->vcc = vcc; in rfkill_regulator_probe()
120 regulator_put(vcc); in rfkill_regulator_probe()
132 regulator_put(rfkill_data->vcc); in rfkill_regulator_remove()