Home
last modified time | relevance | path

Searched full:constraints (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/Linux-v6.1/drivers/regulator/
Dof_regulator.c36 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 …]
Dcore.c103 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()
120 rdev_err(rdev, "no constraints\n"); 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()
[all …]
Dfixed.c137 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()
Dvexpress-regulator.c66 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()
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()
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()
Dab8500-ext.c50 .constraints = {
61 .constraints = {
69 .constraints = {
289 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_set_voltage()
292 dev_err(rdev_get_dev(rdev), "No regulator constraints\n"); in ab8500_ext_set_voltage()
311 struct regulation_constraints *regu_constraints = rdev->constraints; in ab8500_ext_list_voltage()
314 dev_err(rdev_get_dev(rdev), "regulator constraints null pointer\n"); in ab8500_ext_list_voltage()
/Linux-v6.1/arch/arm/mach-s3c/
Dmach-smdk6410.c212 .constraints = {
295 .constraints = {
308 .constraints = {
319 .constraints = {
327 .constraints = {
335 .constraints = {
343 .constraints = {
351 .constraints = {
359 .constraints = {
367 .constraints = {
[all …]
Dmach-gta02.c251 .constraints = {
260 .constraints = {
269 .constraints = {
278 .constraints = {
287 .constraints = {
296 .constraints = {
304 .constraints = {
312 .constraints = {
321 .constraints = {
330 .constraints = {
[all …]
Dmach-crag6410.c342 .constraints = {
406 .constraints = {
424 .constraints = {
437 .constraints = {
444 .constraints = {
457 .constraints = {
467 .constraints = {
475 .constraints = {
483 .constraints = {
491 .constraints = {
[all …]
/Linux-v6.1/drivers/platform/x86/intel/int3472/
Dtps68470_board_data.c45 .constraints = {
56 .constraints = {
67 .constraints = {
79 .constraints = {
88 .constraints = {
99 .constraints = {
110 .constraints = {
/Linux-v6.1/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 …]
/Linux-v6.1/include/linux/regulator/
Dmachine.h95 * struct regulation_constraints - regulator operating constraints.
97 * This struct describes regulator and board/machine specific constraints.
99 * @name: Descriptive name for the constraints, used for display purposes.
124 * bootloader then it will be enabled when the constraints are
248 * Initialisation constraints, our supply and consumers supplies.
252 * be explicitly set using the constraints field 'name'.
254 * @constraints: Constraints. These must be specified for the regulator to
265 struct regulation_constraints constraints; member
/Linux-v6.1/Documentation/userspace-api/media/v4l/
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-v6.1/Documentation/driver-api/
Dregulator.rst84 constraints may not allow the regulator to be disabled there is no
134 time as part of the machine constraints.
136 Constraints section in Machine interface
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-v6.1/Documentation/power/powercap/
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,
215 Constraints section in Power Zone Attributes
257 The number of constraints in a power zone and the corresponding callbacks have
/Linux-v6.1/drivers/soc/samsung/
Dexynos-regulator-coupler.c9 * if consumers didn't apply their constraints yet.
26 struct regulation_constraints *constraints = rdev->constraints; in regulator_get_optimal_voltage() local
55 /* apply constraints */ in regulator_get_optimal_voltage()
68 max_spread = constraints->max_spread[0]; in regulator_get_optimal_voltage()
/Linux-v6.1/drivers/crypto/nx/
Dnx-842.h113 * This provides the driver's constraints. Different nx842 implementations
114 * may have varying requirements. The constraints are:
120 * The constraints apply to all buffers and lengths, both input and output,
127 * The driver may succeed even if these constraints are violated;
143 struct nx842_constraints *constraints; member
/Linux-v6.1/Documentation/power/regulator/
Doverview.rst92 - Constraints
93 - Constraints are used to define power levels for performance
94 and hardware protection. Constraints exist at three levels:
164 voltage/current domains (with constraints) for each regulator. It can
165 provide regulator constraints that will prevent device damage through
Dmachine.rst37 Constraints can now be registered by defining a struct regulator_init_data
42 .constraints = {
65 .constraints = {
/Linux-v6.1/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc_1.0/
Dia_css_ctc_types.h82 u0.13, [0,8191], constraints: 0<x1<x2,
85 u0.13, [0,8191], constraints: x1<x2<x3,
88 u0.13, [0,8191], constraints: x2<x3<x4,
91 u0.13, [0,8191], constraints: x3<x4<8191,
/Linux-v6.1/drivers/base/power/
Dqos.c3 * Devices PM QoS constraints management
21 * . The per-device constraints data struct ptr is stored into the device
23 * . To minimize the data usage by the per-device constraints, the data struct
26 * . A global mutex protects the constraints users from the data being
147 * Internal function to update the constraints list using the PM QoS core
271 /* Flush the constraints lists for the device. */ in dev_pm_qos_constraints_destroy()
275 * Update constraints list and call the notification in dev_pm_qos_constraints_destroy()
373 * This function inserts a new entry in the device constraints list of
499 * Will remove pm qos request from the list of constraints and
523 * of per-device PM QoS constraints
[all …]
/Linux-v6.1/security/selinux/ss/
Dconstraint.h5 * Constraints are used to impose additional restrictions
7 * transition rules in `rbac'. Constraints are typically
10 * Constraints are likewise typically used to prevent a
/Linux-v6.1/arch/x86/include/asm/
Dirq_stack.h42 * Note, that (tos) is both in input and output constraints to ensure
52 * - Constraints:
54 * The constraints have to be done very carefully because the compiler
59 * the output constraints to make the compiler aware that R11 cannot be
74 * The constraints are handed in via the 'argconstr' argument list. They
/Linux-v6.1/fs/jffs2/
DREADME.Locking37 Ordering constraints: See f->sem.
62 Ordering constraints:
115 Ordering constraints:
147 Ordering constraints:
168 Ordering constraints:
/Linux-v6.1/drivers/powercap/
Dpowercap_sys.c74 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()

12345678910>>...26