Home
last modified time | relevance | path

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

/components/drivers/include/drivers/
A Dregulator.h44 struct rt_regulator_node struct
50 struct rt_regulator_node *parent; argument
80 rt_err_t (*enable)(struct rt_regulator_node *reg); argument
81 rt_err_t (*disable)(struct rt_regulator_node *reg);
82 rt_bool_t (*is_enabled)(struct rt_regulator_node *reg);
84 int (*get_voltage)(struct rt_regulator_node *reg);
86 rt_int32_t (*get_mode)(struct rt_regulator_node *reg);
87 rt_err_t (*set_ramp_delay)(struct rt_regulator_node *reg, int ramp);
88 rt_uint32_t (*enable_time)(struct rt_regulator_node *reg);
120 rt_err_t rt_regulator_register(struct rt_regulator_node *reg_np);
[all …]
/components/drivers/regulator/
A Dregulator.c24 struct rt_regulator_node *reg_np;
29 static rt_err_t regulator_enable(struct rt_regulator_node *reg_np);
30 static rt_err_t regulator_disable(struct rt_regulator_node *reg_np);
32 rt_err_t rt_regulator_register(struct rt_regulator_node *reg_np) in rt_regulator_register()
66 rt_err_t rt_regulator_unregister(struct rt_regulator_node *reg_np) in rt_regulator_unregister()
110 struct rt_regulator_node *reg_np; in rt_regulator_notifier_register()
424 struct rt_regulator_node *reg_np; in rt_regulator_get_voltage()
452 struct rt_regulator_node *reg_np; in rt_regulator_set_mode()
480 struct rt_regulator_node *reg_np; in rt_regulator_get_mode()
548 struct rt_regulator_node *reg_np = RT_NULL; in rt_regulator_get()
[all …]
A Dregulator-fixed.c15 struct rt_regulator_node parent;
24 static rt_err_t regulator_fixed_enable(struct rt_regulator_node *reg_np) in regulator_fixed_enable()
40 static rt_err_t regulator_fixed_disable(struct rt_regulator_node *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()
78 static int regulator_fixed_get_voltage(struct rt_regulator_node *reg_np) in regulator_fixed_get_voltage()
99 struct rt_regulator_node *rnp; in regulator_fixed_probe()
A Dregulator-gpio.c29 struct rt_regulator_node parent;
49 static rt_err_t regulator_gpio_enable(struct rt_regulator_node *reg_np) in regulator_gpio_enable()
68 static rt_err_t regulator_gpio_disable(struct rt_regulator_node *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()
108 static rt_err_t regulator_gpio_set_voltage(struct rt_regulator_node *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()
175 struct rt_regulator_node *rgp; in regulator_gpio_probe()

Completed in 6 milliseconds