/linux-6.1.9/drivers/regulator/ |
D | of_regulator.c | 36 struct regulation_constraints *constraints) in of_get_regulator_prot_limits() argument 47 &constraints->over_curr_limits, in of_get_regulator_prot_limits() 48 &constraints->over_voltage_limits, in of_get_regulator_prot_limits() 49 &constraints->temp_limits, in of_get_regulator_prot_limits() 50 &constraints->under_voltage_limits, in of_get_regulator_prot_limits() 74 constraints->over_current_detection = set[0]; in of_get_regulator_prot_limits() 75 constraints->over_voltage_detection = set[1]; in of_get_regulator_prot_limits() 76 constraints->over_temp_detection = set[2]; in of_get_regulator_prot_limits() 77 constraints->under_voltage_detection = set[3]; in of_get_regulator_prot_limits() 85 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() local [all …]
|
D | core.c | 103 if (rdev->constraints && rdev->constraints->name) in rdev_get_name() 104 return rdev->constraints->name; in rdev_get_name() 119 if (!rdev->constraints) { in regulator_ops_is_valid() 124 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid() 431 if (*max_uV > rdev->constraints->max_uV) in regulator_check_voltage() 432 *max_uV = rdev->constraints->max_uV; in regulator_check_voltage() 433 if (*min_uV < rdev->constraints->min_uV) in regulator_check_voltage() 434 *min_uV = rdev->constraints->min_uV; in regulator_check_voltage() 496 if (*max_uA > rdev->constraints->max_uA) in regulator_check_current_limit() 497 *max_uA = rdev->constraints->max_uA; in regulator_check_current_limit() [all …]
|
D | fixed.c | 137 init_data->constraints.apply_uV = 0; in of_get_fixed_voltage_config() 139 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config() 140 if (init_data->constraints.min_uV == init_data->constraints.max_uV) { in of_get_fixed_voltage_config() 141 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config() 148 if (init_data->constraints.boot_on) in of_get_fixed_voltage_config()
|
D | vexpress-regulator.c | 66 init_data->constraints.apply_uV = 0; in vexpress_regulator_probe() 67 if (init_data->constraints.min_uV && init_data->constraints.max_uV) in vexpress_regulator_probe()
|
D | pwm-regulator.c | 151 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() 188 int min_uV = rdev->constraints->min_uV; in pwm_regulator_set_voltage() 189 int max_uV = rdev->constraints->max_uV; in pwm_regulator_set_voltage() 359 if (init_data->constraints.boot_on || init_data->constraints.always_on) in pwm_regulator_probe()
|
D | ab8500-ext.c | 50 .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()
|
D | wm8994-regulator.c | 136 .constraints = { 142 .constraints = { 194 ldo->init_data.constraints.valid_ops_mask = 0; in wm8994_ldo_probe()
|
D | lp87565-regulator.c | 108 rdev->constraints->ramp_delay = lp87565_buck_ramp_delay[reg]; in lp87565_buck_set_ramp_delay() 111 rdev->constraints->ramp_delay = in lp87565_buck_set_ramp_delay() 112 rdev->constraints->ramp_delay * 85 / 100; in lp87565_buck_set_ramp_delay()
|
D | arizona-ldo1.c | 139 .constraints = { 149 .constraints = { 156 .constraints = { 182 .constraints = {
|
D | max77693-regulator.c | 58 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-6.1.9/arch/arm/mach-s3c/ |
D | mach-smdk6410.c | 212 .constraints = { 295 .constraints = { 308 .constraints = { 319 .constraints = { 327 .constraints = { 335 .constraints = { 343 .constraints = { 351 .constraints = { 359 .constraints = { 367 .constraints = { [all …]
|
D | mach-crag6410.c | 342 .constraints = { 406 .constraints = { 424 .constraints = { 437 .constraints = { 444 .constraints = { 457 .constraints = { 467 .constraints = { 475 .constraints = { 483 .constraints = { 491 .constraints = { [all …]
|
D | mach-gta02.c | 251 .constraints = { 260 .constraints = { 269 .constraints = { 278 .constraints = { 287 .constraints = { 296 .constraints = { 304 .constraints = { 312 .constraints = { 321 .constraints = { 330 .constraints = { [all …]
|
/linux-6.1.9/drivers/platform/x86/intel/int3472/ |
D | tps68470_board_data.c | 45 .constraints = { 56 .constraints = { 67 .constraints = { 79 .constraints = { 88 .constraints = { 99 .constraints = { 110 .constraints = {
|
/linux-6.1.9/arch/arm/mach-sa1100/ |
D | generic.c | 348 id->constraints.always_on = 1; in sa11x0_register_fixed_regulator() 349 id->constraints.name = cfg->supply_name; in sa11x0_register_fixed_regulator() 350 id->constraints.min_uV = cfg->microvolts; in sa11x0_register_fixed_regulator() 351 id->constraints.max_uV = cfg->microvolts; in sa11x0_register_fixed_regulator() 352 id->constraints.valid_modes_mask = REGULATOR_MODE_NORMAL; in sa11x0_register_fixed_regulator() 353 id->constraints.valid_ops_mask = REGULATOR_CHANGE_STATUS; in sa11x0_register_fixed_regulator()
|
/linux-6.1.9/sound/soc/codecs/ |
D | ssm2518.c | 114 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()
|
D | wm8731.c | 381 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()
|
D | max9867.c | 20 const struct snd_pcm_hw_constraint_list *constraints; member 316 if (max9867->constraints) in max9867_startup() 318 SNDRV_PCM_HW_PARAM_RATE, max9867->constraints); in max9867_startup() 422 max9867->constraints = &max9867_constraints_48k; in max9867_set_dai_sysclk() 424 max9867->constraints = &max9867_constraints_44k1; in max9867_set_dai_sysclk()
|
/linux-6.1.9/arch/arm/mach-davinci/ |
D | board-mityomapl138.c | 265 .constraints = { 277 .constraints = { 288 .constraints = { 299 .constraints = { 310 .constraints = {
|
/linux-6.1.9/Documentation/userspace-api/media/v4l/ |
D | vidioc-g-selection.rst | 68 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-6.1.9/drivers/powercap/ |
D | powercap_sys.c | 74 pconst = &power_zone->constraints[id]; \ 99 pconst = &power_zone->constraints[id]; \ 168 pconst = &power_zone->constraints[id]; in show_constraint_name() 299 pconst = &power_zone->constraints[i]; in create_constraints() 400 kfree(power_zone->constraints); in powercap_release() 535 power_zone->constraints = kcalloc(nr_constraints, in powercap_register_zone() 536 sizeof(*power_zone->constraints), in powercap_register_zone() 538 if (!power_zone->constraints) in powercap_register_zone() 569 kfree(power_zone->constraints); in powercap_register_zone()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-class-regulator | 154 for regulators which support voltage constraints. 169 for regulators which support voltage constraints. 184 microamps, for regulators which support current constraints. 199 microamps, for regulators which support current 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. [all …]
|
/linux-6.1.9/drivers/soc/samsung/ |
D | exynos-regulator-coupler.c | 26 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-6.1.9/arch/arm/mach-pxa/ |
D | z2.c | 674 .constraints = { 684 .constraints = { 691 .constraints = { 698 .constraints = { 705 .constraints = {
|
/linux-6.1.9/Documentation/driver-api/ |
D | regulator.rst | 84 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
|