Home
last modified time | relevance | path

Searched refs:levels (Results 1 – 16 of 16) sorted by relevance

/optee_os/core/drivers/regulator/
H A Dregulator.c233 const int **levels) in regulator_supported_voltages() argument
237 assert(regulator && desc && levels); in regulator_supported_voltages()
241 levels); in regulator_supported_voltages()
244 *levels = regulator->voltages_fallback.levels; in regulator_supported_voltages()
251 assert((*levels)[0] >= regulator->min_uv); in regulator_supported_voltages()
252 assert((*levels)[(*desc)->num_levels - 1] <= regulator->max_uv); in regulator_supported_voltages()
254 assert((*levels)[0] >= regulator->min_uv); in regulator_supported_voltages()
255 assert((*levels)[1] <= regulator->max_uv); in regulator_supported_voltages()
300 regulator->voltages_fallback.levels[0] = regulator->min_uv; in regulator_register()
303 regulator->voltages_fallback.levels[0] = regulator->min_uv; in regulator_register()
[all …]
H A Dstm32mp13_regulator_iod.c178 const int **levels) in iod_list_voltages() argument
181 return regulator_supported_voltages(regu->supply, desc, levels); in iod_list_voltages()
H A Dregulator_gpio.c110 const int **levels) in regulator_gpio_voltages() argument
115 *levels = regu->voltage_levels_uv; in regulator_gpio_voltages()
H A Dstm32_vrefbuf.c212 const int **levels) in vrefbuf_list_voltages() argument
218 *levels = levels_ref + vr->voltages_start_index; in vrefbuf_list_voltages()
/optee_os/core/drivers/
H A Dstm32_cpu_opp.c102 const int *levels = NULL; in opp_voltage_is_supported() local
108 res = regulator_supported_voltages(regul, &desc, &levels); in opp_voltage_is_supported()
122 if (levels[i] >= target_volt_uv) { in opp_voltage_is_supported()
123 new_volt_uv = levels[i]; in opp_voltage_is_supported()
131 int min = levels[0]; in opp_voltage_is_supported()
132 int max = levels[1]; in opp_voltage_is_supported()
133 int step = levels[2]; in opp_voltage_is_supported()
H A Dstpmic1.c592 const uint16_t **levels, in stpmic1_regulator_levels_mv() argument
607 if (levels) in stpmic1_regulator_levels_mv()
608 *levels = regul->voltage_table; in stpmic1_regulator_levels_mv()
/optee_os/core/arch/arm/plat-stm32mp1/drivers/
H A Dstm32mp1_pmic.c401 int *levels = NULL; in pmic_list_voltages() local
411 levels = calloc(level_count, sizeof(*levels)); in pmic_list_voltages()
412 if (!levels) in pmic_list_voltages()
415 levels[n] = level_ref[n] * 1000; in pmic_list_voltages()
417 level_count = refine_levels_array(level_count, levels, in pmic_list_voltages()
422 levels2 = realloc(levels, sizeof(*levels) * level_count); in pmic_list_voltages()
424 free(levels); in pmic_list_voltages()
/optee_os/core/include/drivers/
H A Dregulator.h117 int levels[3]; member
140 const int **levels);
328 const int **levels);
H A Dstpmic1_regulator.h42 void stpmic1_regulator_levels_mv(const char *name, const uint16_t **levels,
H A Dscmi-msg.h357 long *levels, size_t *nb_elts);
/optee_os/core/arch/arm/plat-stm32mp1/
H A Dscmi_server.c770 const int *levels = NULL; in plat_scmi_voltd_levels_array() local
774 &levels); in plat_scmi_voltd_levels_array()
797 out_levels[n] = levels[start_index + n]; in plat_scmi_voltd_levels_array()
816 const int *levels = NULL; in plat_scmi_voltd_levels_by_step() local
819 &levels); in plat_scmi_voltd_levels_by_step()
832 min_max_step[0] = levels[0]; in plat_scmi_voltd_levels_by_step()
833 min_max_step[1] = levels[1]; in plat_scmi_voltd_levels_by_step()
834 min_max_step[2] = levels[2]; in plat_scmi_voltd_levels_by_step()
1035 unsigned int *levels, size_t *nb_elts) in plat_scmi_perf_levels_array() argument
1049 if (!levels) { in plat_scmi_perf_levels_array()
[all …]
/optee_os/core/drivers/scmi-msg/
H A Dperf_domain.c331 struct scmi_perf_level *levels = NULL; in scmi_perf_describe_levels() local
337 levels = (void *)(uintptr_t)(msg->out + sizeof(p2a)); in scmi_perf_describe_levels()
360 levels[n] = (struct scmi_perf_level){ in scmi_perf_describe_levels()
H A Dvoltage_domain.c33 long *levels __unused, in plat_scmi_voltd_levels_array()
/optee_os/core/arch/arm/dts/
H A Dstm32mp15xx-dhcom-pdk2.dtsi27 brightness-levels = <0 16 22 30 40 55 75 102 138 188 255>;
/optee_os/
H A DCHANGELOG.md1593 * [#665][pr665]: xtest 1013 stalled on HiKey when log levels are 4 and optee_os is on its own UART
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog3537 use it to reduce error probability in RSA key generation to levels mandated