Home
last modified time | relevance | path

Searched refs:reg_np (Results 1 – 4 of 4) sorted by relevance

/components/drivers/regulator/
A Dregulator.c36 if (!reg_np || !reg_np->dev || !reg_np->param || !reg_np->ops) in rt_regulator_register()
54 rt_ofw_data(reg_np->dev->ofw_node) = reg_np; in rt_regulator_register()
119 reg_np = reg->reg_np; in rt_regulator_notifier_register()
181 return reg_np->ops->enable_time(reg_np); in regulator_get_enable_time()
234 err = reg_np->ops->enable(reg_np); in regulator_enable()
285 err = reg_np->ops->disable(reg_np); in regulator_disable()
433 reg_np = reg->reg_np; in rt_regulator_get_voltage()
461 reg_np = reg->reg_np; in rt_regulator_set_mode()
489 reg_np = reg->reg_np; in rt_regulator_get_mode()
493 mode = reg_np->ops->get_mode(reg_np); in rt_regulator_get_mode()
[all …]
A Dregulator-fixed.c24 static rt_err_t regulator_fixed_enable(struct rt_regulator_node *reg_np) in regulator_fixed_enable() argument
26 struct regulator_fixed *rf = raw_to_regulator_fixed(reg_np); in regulator_fixed_enable()
40 static rt_err_t regulator_fixed_disable(struct rt_regulator_node *reg_np) in regulator_fixed_disable() argument
42 struct regulator_fixed *rf = raw_to_regulator_fixed(reg_np); in regulator_fixed_disable()
56 static rt_bool_t regulator_fixed_is_enabled(struct rt_regulator_node *reg_np) in regulator_fixed_is_enabled() argument
59 struct regulator_fixed *rf = raw_to_regulator_fixed(reg_np); in regulator_fixed_is_enabled()
78 static int regulator_fixed_get_voltage(struct rt_regulator_node *reg_np) in regulator_fixed_get_voltage() argument
80 struct regulator_fixed *rf = raw_to_regulator_fixed(reg_np); in regulator_fixed_get_voltage()
A Dregulator-gpio.c49 static rt_err_t regulator_gpio_enable(struct rt_regulator_node *reg_np) in regulator_gpio_enable() argument
51 struct regulator_gpio *rg = raw_to_regulator_gpio(reg_np); in regulator_gpio_enable()
68 static rt_err_t regulator_gpio_disable(struct rt_regulator_node *reg_np) in regulator_gpio_disable() argument
70 struct regulator_gpio *rg = raw_to_regulator_gpio(reg_np); in regulator_gpio_disable()
87 static rt_bool_t regulator_gpio_is_enabled(struct rt_regulator_node *reg_np) in regulator_gpio_is_enabled() argument
89 struct regulator_gpio *rg = raw_to_regulator_gpio(reg_np); in regulator_gpio_is_enabled()
108 static rt_err_t regulator_gpio_set_voltage(struct rt_regulator_node *reg_np, in regulator_gpio_set_voltage() argument
112 struct regulator_gpio *rg = raw_to_regulator_gpio(reg_np); in regulator_gpio_set_voltage()
146 static int regulator_gpio_get_voltage(struct rt_regulator_node *reg_np) in regulator_gpio_get_voltage() argument
148 struct regulator_gpio *rg = raw_to_regulator_gpio(reg_np); in regulator_gpio_get_voltage()
/components/drivers/include/drivers/
A Dregulator.h120 rt_err_t rt_regulator_register(struct rt_regulator_node *reg_np);
121 rt_err_t rt_regulator_unregister(struct rt_regulator_node *reg_np);

Completed in 6 milliseconds