Home
last modified time | relevance | path

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

12345

/linux-3.4.99/drivers/regulator/
Dof_regulator.c23 struct regulation_constraints *constraints = &(*init_data)->constraints; in of_get_regulation_constraints() local
25 constraints->name = of_get_property(np, "regulator-name", NULL); in of_get_regulation_constraints()
29 constraints->min_uV = be32_to_cpu(*min_uV); in of_get_regulation_constraints()
32 constraints->max_uV = be32_to_cpu(*max_uV); in of_get_regulation_constraints()
35 if (constraints->min_uV != constraints->max_uV) in of_get_regulation_constraints()
36 constraints->valid_ops_mask |= REGULATOR_CHANGE_VOLTAGE; in of_get_regulation_constraints()
38 if (min_uV && max_uV && constraints->min_uV == constraints->max_uV) in of_get_regulation_constraints()
39 constraints->apply_uV = true; in of_get_regulation_constraints()
43 constraints->uV_offset = be32_to_cpu(*uV_offset); in of_get_regulation_constraints()
46 constraints->min_uA = be32_to_cpu(*min_uA); in of_get_regulation_constraints()
[all …]
Dcore.c101 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
102 return rdev->constraints->name; in rdev_get_name()
164 if (!rdev->constraints) { in regulator_check_voltage()
168 if (!(rdev->constraints->valid_ops_mask & REGULATOR_CHANGE_VOLTAGE)) { in regulator_check_voltage()
173 if (*max_uV > rdev->constraints->max_uV) in regulator_check_voltage()
174 *max_uV = rdev->constraints->max_uV; in regulator_check_voltage()
175 if (*min_uV < rdev->constraints->min_uV) in regulator_check_voltage()
176 *min_uV = rdev->constraints->min_uV; in regulator_check_voltage()
221 if (!rdev->constraints) { in regulator_check_current_limit()
225 if (!(rdev->constraints->valid_ops_mask & REGULATOR_CHANGE_CURRENT)) { in regulator_check_current_limit()
[all …]
Dfixed.c72 init_data->constraints.apply_uV = 0; in of_get_fixed_voltage_config()
74 config->supply_name = init_data->constraints.name; in of_get_fixed_voltage_config()
75 if (init_data->constraints.min_uV == init_data->constraints.max_uV) { in of_get_fixed_voltage_config()
76 config->microvolts = init_data->constraints.min_uV; in of_get_fixed_voltage_config()
83 if (init_data->constraints.boot_on) in of_get_fixed_voltage_config()
/linux-3.4.99/arch/arm/mach-imx/
Dmx51_efika.c284 .constraints = {
303 .constraints = {
319 .constraints = {
330 .constraints = {
341 .constraints = {
349 .constraints = {
357 .constraints = {
363 .constraints = {
377 .constraints = {
389 .constraints = {
[all …]
Dmach-mx31ads.c250 .constraints = {
273 .constraints = {
290 .constraints = {
307 .constraints = {
328 .constraints = {
345 .constraints = {
359 .constraints = {
372 .constraints = {
/linux-3.4.99/arch/arm/mach-s5pv210/
Dmach-aquila.c141 .constraints = {
154 .constraints = {
164 .constraints = {
173 .constraints = {
182 .constraints = {
191 .constraints = {
202 .constraints = {
212 .constraints = {
222 .constraints = {
232 .constraints = {
[all …]
Dmach-goni.c318 .constraints = {
331 .constraints = {
343 .constraints = {
352 .constraints = {
364 .constraints = {
373 .constraints = {
383 .constraints = {
395 .constraints = {
404 .constraints = {
414 .constraints = {
[all …]
/linux-3.4.99/arch/arm/mach-ux500/
Dboard-mop500-regulators.c30 .constraints = {
289 .constraints = {
309 .constraints = {
321 .constraints = {
333 .constraints = {
342 .constraints = {
351 .constraints = {
360 .constraints = {
369 .constraints = {
378 .constraints = {
[all …]
/linux-3.4.99/arch/arm/mach-u300/
Di2c.c107 .constraints = {
118 .constraints = {
128 .constraints = {
144 .constraints = {
155 .constraints = {
166 .constraints = {
179 .constraints = {
192 .constraints = {
209 .constraints = {
221 .constraints = {
/linux-3.4.99/arch/arm/mach-exynos/
Dmach-universal_c210.c110 .constraints = {
135 .constraints = {
151 .constraints = {
167 .constraints = {
182 .constraints = {
195 .constraints = {
214 .constraints = {
233 .constraints = {
248 .constraints = {
261 .constraints = {
[all …]
Dmach-nuri.c126 .constraints = {
429 .constraints = {
444 .constraints = {
457 .constraints = {
472 .constraints = {
487 .constraints = {
502 .constraints = {
517 .constraints = {
532 .constraints = {
547 .constraints = {
[all …]
Dmach-origen.c136 .constraints = {
148 .constraints = {
161 .constraints = {
176 .constraints = {
189 .constraints = {
204 .constraints = {
219 .constraints = {
234 .constraints = {
250 .constraints = {
263 .constraints = {
[all …]
/linux-3.4.99/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c222 .constraints = {
307 .constraints = {
320 .constraints = {
331 .constraints = {
339 .constraints = {
347 .constraints = {
355 .constraints = {
363 .constraints = {
371 .constraints = {
379 .constraints = {
[all …]
Dmach-crag6410.c312 .constraints = {
376 .constraints = {
394 .constraints = {
407 .constraints = {
414 .constraints = {
427 .constraints = {
437 .constraints = {
445 .constraints = {
453 .constraints = {
461 .constraints = {
[all …]
/linux-3.4.99/drivers/base/power/
Dqos.c58 struct pm_qos_constraints *c = dev->power.constraints; in __dev_pm_qos_read_value()
94 ret = pm_qos_update_target(req->dev->power.constraints, in apply_constraint()
99 curr_value = pm_qos_read_value(req->dev->power.constraints); in apply_constraint()
138 dev->power.constraints = c; in dev_pm_qos_constraints_allocate()
154 dev->power.constraints = NULL; in dev_pm_qos_constraints_init()
179 c = dev->power.constraints; in dev_pm_qos_constraints_destroy()
194 dev->power.constraints = NULL; in dev_pm_qos_constraints_destroy()
238 if (!dev->power.constraints) { in dev_pm_qos_add_request()
293 if (req->dev->power.constraints) { in dev_pm_qos_update_request()
332 if (req->dev->power.constraints) { in dev_pm_qos_remove_request()
[all …]
/linux-3.4.99/arch/arm/mach-omap2/
Dtwl-common.c126 .constraints = {
144 .constraints = {
196 .constraints = {
207 .constraints = {
220 .constraints = {
238 .constraints = {
253 .constraints = {
266 .constraints = {
283 .constraints = {
297 .constraints = {
[all …]
Dboard-3430sdp.c300 .constraints = {
313 .constraints = {
326 .constraints = {
341 .constraints = {
354 .constraints = {
369 .constraints = {
384 .constraints = {
418 sdp3430_twldata.vdac->constraints.apply_uV = true; in omap3430_i2c_init()
419 sdp3430_twldata.vpll2->constraints.apply_uV = true; in omap3430_i2c_init()
420 sdp3430_twldata.vpll2->constraints.name = "VDVI"; in omap3430_i2c_init()
Dboard-rx51-peripherals.c464 .constraints = {
479 .constraints = {
494 .constraints = {
507 .constraints = {
523 .constraints = {
536 .constraints = {
550 .constraints = {
567 .constraints = {
580 .constraints = {
593 .constraints = {
[all …]
Dboard-omap3pandora.c369 .constraints = {
384 .constraints = {
399 .constraints = {
414 .constraints = {
429 .constraints = {
444 .constraints = {
459 .constraints = {
516 omap3pandora_twldata.vdac->constraints.apply_uV = true; in omap3pandora_i2c_init()
518 omap3pandora_twldata.vpll2->constraints.apply_uV = true; in omap3pandora_i2c_init()
Dboard-omap3stalker.c176 .constraints = {
190 .constraints = {
373 omap3stalker_twldata.vdac->constraints.apply_uV = true; in omap3_stalker_i2c_init()
374 omap3stalker_twldata.vpll2->constraints.apply_uV = true; in omap3_stalker_i2c_init()
375 omap3stalker_twldata.vpll2->constraints.name = "VDVI"; in omap3_stalker_i2c_init()
Dboard-zoom-peripherals.c126 .constraints = {
141 .constraints = {
156 .constraints = {
170 .constraints = {
/linux-3.4.99/arch/arm/mach-s3c24xx/
Dmach-gta02.c282 .constraints = {
291 .constraints = {
300 .constraints = {
309 .constraints = {
318 .constraints = {
327 .constraints = {
335 .constraints = {
343 .constraints = {
352 .constraints = {
361 .constraints = {
[all …]
/linux-3.4.99/kernel/power/
Dqos.c54 struct pm_qos_constraints *constraints; member
72 .constraints = &cpu_dma_constraints,
85 .constraints = &network_lat_constraints,
99 .constraints = &network_tput_constraints,
222 return pm_qos_read_value(pm_qos_array[pm_qos_class]->constraints); in pm_qos_request()
272 pm_qos_update_target(pm_qos_array[pm_qos_class]->constraints, in pm_qos_add_request()
303 pm_qos_array[req->pm_qos_class]->constraints, in pm_qos_update_request()
330 pm_qos_array[req->pm_qos_class]->constraints, in pm_qos_update_request_timeout()
358 pm_qos_update_target(pm_qos_array[req->pm_qos_class]->constraints, in pm_qos_remove_request()
378 pm_qos_array[pm_qos_class]->constraints->notifiers, in pm_qos_add_notifier()
[all …]
/linux-3.4.99/arch/arm/mach-pxa/
Dstargate2.c189 .constraints = { /* board default 1.8V */
196 .constraints = { /* board default 2.8V */
203 .constraints = {/* default is 1.8V */
210 .constraints = {
218 .constraints = { /* default 1.8V */
225 .constraints = { /* default 2.8V */
232 .constraints = { /* default 2.8V */
239 .constraints = { /* default 2.8V */
246 .constraints = { /* default 2.8V */
254 .constraints = { /* default 2.8V */
[all …]
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-class-regulator154 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 …]

12345