| /src/sys/dev/fdt/ |
| fdt_regulator.c | 46 const struct fdtbus_regulator_controller_func *rc_funcs; member in struct:fdtbus_regulator_controller 67 rc->rc_funcs = funcs; 107 error = rc->rc_funcs->acquire(rc->rc_dev); 121 rc->rc_funcs->release(rc->rc_dev); 130 error = rc->rc_funcs->enable(rc->rc_dev, true); 148 return rc->rc_funcs->enable(rc->rc_dev, false); 157 if (rc->rc_funcs->set_voltage == NULL) 160 return rc->rc_funcs->set_voltage(rc->rc_dev, min_uvol, max_uvol); 168 if (rc->rc_funcs->get_voltage == NULL) 171 return rc->rc_funcs->get_voltage(rc->rc_dev, puvol) [all...] |
| fdt_regulator.c | 46 const struct fdtbus_regulator_controller_func *rc_funcs; member in struct:fdtbus_regulator_controller 67 rc->rc_funcs = funcs; 107 error = rc->rc_funcs->acquire(rc->rc_dev); 121 rc->rc_funcs->release(rc->rc_dev); 130 error = rc->rc_funcs->enable(rc->rc_dev, true); 148 return rc->rc_funcs->enable(rc->rc_dev, false); 157 if (rc->rc_funcs->set_voltage == NULL) 160 return rc->rc_funcs->set_voltage(rc->rc_dev, min_uvol, max_uvol); 168 if (rc->rc_funcs->get_voltage == NULL) 171 return rc->rc_funcs->get_voltage(rc->rc_dev, puvol) [all...] |
| fdt_regulator.c | 46 const struct fdtbus_regulator_controller_func *rc_funcs; member in struct:fdtbus_regulator_controller 67 rc->rc_funcs = funcs; 107 error = rc->rc_funcs->acquire(rc->rc_dev); 121 rc->rc_funcs->release(rc->rc_dev); 130 error = rc->rc_funcs->enable(rc->rc_dev, true); 148 return rc->rc_funcs->enable(rc->rc_dev, false); 157 if (rc->rc_funcs->set_voltage == NULL) 160 return rc->rc_funcs->set_voltage(rc->rc_dev, min_uvol, max_uvol); 168 if (rc->rc_funcs->get_voltage == NULL) 171 return rc->rc_funcs->get_voltage(rc->rc_dev, puvol) [all...] |
| fdt_regulator.c | 46 const struct fdtbus_regulator_controller_func *rc_funcs; member in struct:fdtbus_regulator_controller 67 rc->rc_funcs = funcs; 107 error = rc->rc_funcs->acquire(rc->rc_dev); 121 rc->rc_funcs->release(rc->rc_dev); 130 error = rc->rc_funcs->enable(rc->rc_dev, true); 148 return rc->rc_funcs->enable(rc->rc_dev, false); 157 if (rc->rc_funcs->set_voltage == NULL) 160 return rc->rc_funcs->set_voltage(rc->rc_dev, min_uvol, max_uvol); 168 if (rc->rc_funcs->get_voltage == NULL) 171 return rc->rc_funcs->get_voltage(rc->rc_dev, puvol) [all...] |
| fdt_reset.c | 43 const struct fdtbus_reset_controller_func *rc_funcs; member in struct:fdtbus_reset_controller 60 rc->rc_funcs = funcs; 111 rst_priv = rc->rc_funcs->acquire(rc->rc_dev, 149 rc->rc_funcs->release(rc->rc_dev, rst->rst_priv); 158 return rc->rc_funcs->reset_assert(rc->rc_dev, rst->rst_priv); 166 return rc->rc_funcs->reset_deassert(rc->rc_dev, rst->rst_priv);
|
| fdt_reset.c | 43 const struct fdtbus_reset_controller_func *rc_funcs; member in struct:fdtbus_reset_controller 60 rc->rc_funcs = funcs; 111 rst_priv = rc->rc_funcs->acquire(rc->rc_dev, 149 rc->rc_funcs->release(rc->rc_dev, rst->rst_priv); 158 return rc->rc_funcs->reset_assert(rc->rc_dev, rst->rst_priv); 166 return rc->rc_funcs->reset_deassert(rc->rc_dev, rst->rst_priv);
|
| fdt_reset.c | 43 const struct fdtbus_reset_controller_func *rc_funcs; member in struct:fdtbus_reset_controller 60 rc->rc_funcs = funcs; 111 rst_priv = rc->rc_funcs->acquire(rc->rc_dev, 149 rc->rc_funcs->release(rc->rc_dev, rst->rst_priv); 158 return rc->rc_funcs->reset_assert(rc->rc_dev, rst->rst_priv); 166 return rc->rc_funcs->reset_deassert(rc->rc_dev, rst->rst_priv);
|
| fdt_reset.c | 43 const struct fdtbus_reset_controller_func *rc_funcs; member in struct:fdtbus_reset_controller 60 rc->rc_funcs = funcs; 111 rst_priv = rc->rc_funcs->acquire(rc->rc_dev, 149 rc->rc_funcs->release(rc->rc_dev, rst->rst_priv); 158 return rc->rc_funcs->reset_assert(rc->rc_dev, rst->rst_priv); 166 return rc->rc_funcs->reset_deassert(rc->rc_dev, rst->rst_priv);
|