Lines Matching refs:rc_funcs
46 const struct fdtbus_regulator_controller_func *rc_funcs; member
67 rc->rc_funcs = funcs; in fdtbus_register_regulator_controller()
107 error = rc->rc_funcs->acquire(rc->rc_dev); in fdtbus_regulator_acquire()
121 rc->rc_funcs->release(rc->rc_dev); in fdtbus_regulator_release()
130 error = rc->rc_funcs->enable(rc->rc_dev, true); in fdtbus_regulator_enable()
148 return rc->rc_funcs->enable(rc->rc_dev, false); in fdtbus_regulator_disable()
157 if (rc->rc_funcs->set_voltage == NULL) in fdtbus_regulator_set_voltage()
160 return rc->rc_funcs->set_voltage(rc->rc_dev, min_uvol, max_uvol); in fdtbus_regulator_set_voltage()
168 if (rc->rc_funcs->get_voltage == NULL) in fdtbus_regulator_get_voltage()
171 return rc->rc_funcs->get_voltage(rc->rc_dev, puvol); in fdtbus_regulator_get_voltage()
181 if (rc->rc_funcs->set_voltage == NULL) in fdtbus_regulator_supports_voltage()