Home
last modified time | relevance | path

Searched refs:constraints (Results 1 – 25 of 238) sorted by relevance

12345678910

/linux/drivers/regulator/
A Dof_regulator.c49 &constraints->temp_limits, in of_get_regulator_prot_limits()
85 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() local
100 constraints->min_uV = pval; in of_get_regulation_constraints()
103 constraints->max_uV = pval; in of_get_regulation_constraints()
106 if (constraints->min_uV != constraints->max_uV) in of_get_regulation_constraints()
110 if (constraints->min_uV && constraints->max_uV) in of_get_regulation_constraints()
116 constraints->min_uA = pval; in of_get_regulation_constraints()
118 constraints->max_uA = pval; in of_get_regulation_constraints()
125 if (constraints->min_uA != constraints->max_uA) in of_get_regulation_constraints()
158 if (constraints->settling_time_up && constraints->settling_time) { in of_get_regulation_constraints()
[all …]
A Dcore.c105 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
1100 if (constraints->min_uV && constraints->max_uV) { in print_constraints_debug()
1101 if (constraints->min_uV == constraints->max_uV) in print_constraints_debug()
1112 constraints->min_uV != constraints->max_uV) { in print_constraints_debug()
1123 if (constraints->min_uA && constraints->max_uA) { in print_constraints_debug()
1124 if (constraints->min_uA == constraints->max_uA) in print_constraints_debug()
1135 constraints->min_uA != constraints->max_uA) { in print_constraints_debug()
1171 if ((constraints->min_uV != constraints->max_uV) && in print_constraints()
1320 if (!constraints->min_uA && !constraints->max_uA) in machine_constraints_current()
1323 if (constraints->min_uA > constraints->max_uA) { in machine_constraints_current()
[all …]
A Dfixed.c184 init_data->constraints.apply_uV = 0; in of_get_fixed_voltage_config()
186 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config()
187 if (init_data->constraints.min_uV == init_data->constraints.max_uV) { in of_get_fixed_voltage_config()
188 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config()
195 if (init_data->constraints.boot_on) in of_get_fixed_voltage_config()
A Dvexpress-regulator.c67 init_data->constraints.apply_uV = 0; in vexpress_regulator_probe()
68 if (init_data->constraints.min_uV && init_data->constraints.max_uV) in vexpress_regulator_probe()
A Dpwm-regulator.c151 int min_uV = rdev->constraints->min_uV; in pwm_regulator_get_voltage()
152 int max_uV = rdev->constraints->max_uV; in pwm_regulator_get_voltage()
198 int min_uV = rdev->constraints->min_uV; in pwm_regulator_set_voltage()
199 int max_uV = rdev->constraints->max_uV; in pwm_regulator_set_voltage()
330 if (!init_data->constraints.boot_on || drvdata->enb_gpio) in pwm_regulator_init_boot_on()
392 if (init_data->constraints.boot_on || init_data->constraints.always_on) in pwm_regulator_probe()
A Dab8500-ext.c50 .constraints = {
61 .constraints = {
69 .constraints = {
289 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_set_voltage()
311 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_list_voltage()
A Dwm8994-regulator.c136 .constraints = {
142 .constraints = {
194 ldo->init_data.constraints.valid_ops_mask = 0; in wm8994_ldo_probe()
A Dlp87565-regulator.c109 rdev->constraints->ramp_delay = lp87565_buck_ramp_delay[reg]; in lp87565_buck_set_ramp_delay()
112 rdev->constraints->ramp_delay = in lp87565_buck_set_ramp_delay()
113 rdev->constraints->ramp_delay * 85 / 100; in lp87565_buck_set_ramp_delay()
A Darizona-ldo1.c139 .constraints = {
149 .constraints = {
156 .constraints = {
182 .constraints = {
A Dmax77693-regulator.c58 unsigned int chg_min_uA = rdev->constraints->min_uA; in max77693_chg_get_current_limit()
59 unsigned int chg_max_uA = rdev->constraints->max_uA; in max77693_chg_get_current_limit()
87 unsigned int chg_min_uA = rdev->constraints->min_uA; in max77693_chg_set_current_limit()
/linux/arch/arm/mach-s3c/
A Dmach-crag6410.c340 .constraints = {
404 .constraints = {
422 .constraints = {
435 .constraints = {
442 .constraints = {
455 .constraints = {
465 .constraints = {
473 .constraints = {
481 .constraints = {
489 .constraints = {
[all …]
/linux/drivers/platform/x86/intel/int3472/
A Dtps68470_board_data.c45 .constraints = {
56 .constraints = {
67 .constraints = {
79 .constraints = {
88 .constraints = {
99 .constraints = {
110 .constraints = {
/linux/arch/arm/mach-sa1100/
A Dgeneric.c329 id->constraints.always_on = 1; in sa11x0_register_fixed_regulator()
330 id->constraints.name = cfg->supply_name; in sa11x0_register_fixed_regulator()
331 id->constraints.min_uV = cfg->microvolts; in sa11x0_register_fixed_regulator()
332 id->constraints.max_uV = cfg->microvolts; in sa11x0_register_fixed_regulator()
333 id->constraints.valid_modes_mask = REGULATOR_MODE_NORMAL; in sa11x0_register_fixed_regulator()
334 id->constraints.valid_ops_mask = REGULATOR_CHANGE_STATUS; in sa11x0_register_fixed_regulator()
/linux/drivers/soc/mediatek/
A Dmtk-regulator-coupler.c37 int max_spread = rdev->constraints->max_spread[0]; in mediatek_regulator_balance_voltage()
38 int vsram_min_uV = mrc->vsram_rdev->constraints->min_uV; in mediatek_regulator_balance_voltage()
39 int vsram_max_uV = mrc->vsram_rdev->constraints->max_uV; in mediatek_regulator_balance_voltage()
/linux/sound/soc/codecs/
A Dssm2518.c114 const struct snd_pcm_hw_constraint_list *constraints; member
612 if (ssm2518->constraints) in ssm2518_startup()
614 SNDRV_PCM_HW_PARAM_RATE, ssm2518->constraints); in ssm2518_startup()
668 ssm2518->constraints = NULL; in ssm2518_set_sysclk()
676 ssm2518->constraints = &ssm2518_constraints_2048000; in ssm2518_set_sysclk()
687 ssm2518->constraints = &ssm2518_constraints_2822000; in ssm2518_set_sysclk()
695 ssm2518->constraints = &ssm2518_constraints_3072000; in ssm2518_set_sysclk()
700 ssm2518->constraints = &ssm2518_constraints_12288000; in ssm2518_set_sysclk()
A Dwm8731.c381 wm8731->constraints = NULL; in wm8731_set_dai_sysclk()
384 wm8731->constraints = &wm8731_constraints_12000000; in wm8731_set_dai_sysclk()
388 wm8731->constraints = &wm8731_constraints_12288000_18432000; in wm8731_set_dai_sysclk()
392 wm8731->constraints = &wm8731_constraints_11289600_16934400; in wm8731_set_dai_sysclk()
512 if (wm8731->constraints) in wm8731_startup()
515 wm8731->constraints); in wm8731_startup()
A Des8311.c35 struct snd_pcm_hw_constraint_list constraints; member
445 es8311->constraints.list = es8311->rates; in es8311_set_sysclk_constraints()
446 es8311->constraints.count = count; in es8311_set_sysclk_constraints()
472 if (es8311->constraints.list) { in es8311_startup()
475 &es8311->constraints); in es8311_startup()
657 es8311->constraints.list = NULL; in es8311_set_sysclk()
658 es8311->constraints.count = 0; in es8311_set_sysclk()
A Dmax9867.c22 const struct snd_pcm_hw_constraint_list *constraints; member
318 if (max9867->constraints) in max9867_startup()
320 SNDRV_PCM_HW_PARAM_RATE, max9867->constraints); in max9867_startup()
453 max9867->constraints = &max9867_constraints_48k; in max9867_set_dai_sysclk()
455 max9867->constraints = &max9867_constraints_44k1; in max9867_set_dai_sysclk()
/linux/Documentation/userspace-api/media/v4l/
A Dvidioc-g-selection.rst68 requested rectangle. An application may introduce constraints to control
93 1. Satisfy constraints from struct
111 constraints flags have to be violated at then ``ERANGE`` is returned. The
113 constraints.
120 .. kernel-figure:: constraints.svg
121 :alt: constraints.svg
182 ``r`` rectangle to satisfy all constraints given in the ``flags``
/linux/drivers/powercap/
A Dpowercap_sys.c75 pconst = &power_zone->constraints[id]; \
100 pconst = &power_zone->constraints[id]; \
169 pconst = &power_zone->constraints[id]; in show_constraint_name()
300 pconst = &power_zone->constraints[i]; in create_constraints()
401 kfree(power_zone->constraints); in powercap_release()
533 power_zone->constraints = kcalloc(nr_constraints, in powercap_register_zone()
534 sizeof(*power_zone->constraints), in powercap_register_zone()
536 if (!power_zone->constraints) in powercap_register_zone()
574 kfree(power_zone->constraints); in powercap_register_zone()
/linux/Documentation/ABI/testing/
A Dsysfs-class-regulator154 for regulators which support voltage constraints.
169 for regulators which support voltage constraints.
257 implementing suspend voltage configuration constraints.
268 implementing suspend voltage configuration constraints.
279 implementing suspend voltage configuration constraints.
290 configuration constraints.
301 constraints.
312 configuration constraints.
322 configuration constraints.
335 suspend configuration constraints.
[all …]
/linux/drivers/soc/samsung/
A Dexynos-regulator-coupler.c26 struct regulation_constraints *constraints = rdev->constraints; in regulator_get_optimal_voltage() local
68 max_spread = constraints->max_spread[0]; in regulator_get_optimal_voltage()
/linux/Documentation/driver-api/
A Dregulator.rst84 constraints may not allow the regulator to be disabled there is no
134 time as part of the machine constraints.
140 constraints defining the operations that clients are allowed to perform
149 The constraints may also specify an initial configuration for the
150 regulator in the constraints, which is particularly useful for use with
/linux/drivers/mfd/
A Ddb8500-prcmu.c2783 .constraints = {
2792 .constraints = {
2798 .constraints = {
2804 .constraints = {
2810 .constraints = {
2816 .constraints = {
2824 .constraints = {
2830 .constraints = {
2837 .constraints = {
2845 .constraints = {
[all …]
/linux/Documentation/power/powercap/
A Dpowercap.rst22 well as controls represented in the form of power constraints. If the parts of
156 to be applied (the constraints in the 'package' power zones apply to the whole
157 CPU packages and the subzone constraints only apply to the respective parts of
171 one or multiple constraints like short term, long term and peak power,
257 The number of constraints in a power zone and the corresponding callbacks have

Completed in 67 milliseconds

12345678910