Home
last modified time | relevance | path

Searched refs:rdev (Results 1 – 6 of 6) sorted by relevance

/trusted-firmware-a-3.4.0/drivers/st/regulator/
Dregulator_core.c20 static struct rdev rdev_array[PLAT_NB_RDEVS];
22 #define for_each_rdev(rdev) \ argument
23 for (rdev = rdev_array; rdev < (rdev_array + PLAT_NB_RDEVS); rdev++)
25 #define for_each_registered_rdev(rdev) \ argument
26 for (rdev = rdev_array; \
27 (rdev < (rdev_array + PLAT_NB_RDEVS)) && (rdev->desc != NULL); rdev++)
29 static void lock_driver(const struct rdev *rdev) in lock_driver() argument
31 if (rdev->desc->ops->lock != NULL) { in lock_driver()
32 rdev->desc->ops->lock(rdev->desc); in lock_driver()
36 static void unlock_driver(const struct rdev *rdev) in unlock_driver() argument
[all …]
/trusted-firmware-a-3.4.0/include/drivers/st/
Dregulator.h44 struct rdev *regulator_get_by_name(const char *node_name);
46 struct rdev *regulator_get_by_supply_name(const void *fdt, int node, const char *name);
48 int regulator_enable(struct rdev *rdev);
49 int regulator_disable(struct rdev *rdev);
50 int regulator_is_enabled(const struct rdev *rdev);
52 int regulator_set_voltage(struct rdev *rdev, uint16_t volt);
53 int regulator_set_min_voltage(struct rdev *rdev);
54 int regulator_get_voltage(const struct rdev *rdev);
56 int regulator_list_voltages(const struct rdev *rdev, const uint16_t **levels, size_t *count);
57 void regulator_get_range(const struct rdev *rdev, uint16_t *min_mv, uint16_t *max_mv);
[all …]
Dstm32_sdmmc2.h28 struct rdev *vmmc_regu;
/trusted-firmware-a-3.4.0/plat/st/common/include/
Dstm32mp_dt.h40 struct rdev *dt_get_vdd_regulator(void);
41 struct rdev *dt_get_cpu_regulator(void);
/trusted-firmware-a-3.4.0/plat/st/common/
Dstm32mp_dt.c262 struct rdev *regul = dt_get_vdd_regulator(); in dt_get_pwr_vdd_voltage()
278 struct rdev *dt_get_vdd_regulator(void) in dt_get_vdd_regulator()
293 struct rdev *dt_get_cpu_regulator(void) in dt_get_cpu_regulator()
/trusted-firmware-a-3.4.0/drivers/st/pmic/
Dstm32mp_pmic.c222 struct rdev *buck2, *buck3, *vref; in pmic_ddr_power_init()
223 struct rdev *ldo3 __unused; in pmic_ddr_power_init()
335 struct rdev *buck1, *buck4; in pmic_voltages_init()