Home
last modified time | relevance | path

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

/trusted-firmware-a-3.7.0/drivers/st/regulator/
Dregulator_core.c22 static struct rdev rdev_array[PLAT_NB_RDEVS];
24 #define for_each_rdev(rdev) \ argument
25 for ((rdev) = rdev_array; (rdev) <= &rdev_array[PLAT_NB_RDEVS - 1U]; (rdev)++)
27 #define for_each_registered_rdev(rdev) \ argument
28 for ((rdev) = rdev_array; \
29 ((rdev) <= &rdev_array[PLAT_NB_RDEVS - 1U]) && ((rdev)->desc != NULL); (rdev)++)
31 static void lock_driver(const struct rdev *rdev) in lock_driver() argument
33 if (rdev->desc->ops->lock != NULL) { in lock_driver()
34 rdev->desc->ops->lock(rdev->desc); in lock_driver()
38 static void unlock_driver(const struct rdev *rdev) in unlock_driver() argument
[all …]
/trusted-firmware-a-3.7.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.7.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.7.0/plat/st/common/
Dstm32mp_dt.c259 struct rdev *regul = dt_get_vdd_regulator(); in dt_get_pwr_vdd_voltage()
275 struct rdev *dt_get_vdd_regulator(void) in dt_get_vdd_regulator()
290 struct rdev *dt_get_cpu_regulator(void) in dt_get_cpu_regulator()
/trusted-firmware-a-3.7.0/drivers/st/pmic/
Dstm32mp_pmic.c223 struct rdev *buck2, *buck3, *vref; in pmic_ddr_power_init()
224 struct rdev *ldo3 __unused; in pmic_ddr_power_init()
336 struct rdev *buck1, *buck4; in pmic_voltages_init()
/trusted-firmware-a-3.7.0/docs/
Dchange-log.md1711 …- rework for_each_*rdev macros ([6a3ffb5](https://review.trustedfirmware.org/plugins/gitiles/TF-A/…