Home
last modified time | relevance | path

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

12345678910>>...25

/linux/drivers/regulator/
H A 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 …]
H A Dcore.c105 if (rdev->constraints && rdev->constraints->name) in rdev_get_name()
106 return rdev->constraints->name; in rdev_get_name()
121 if (!rdev->constraints) { in regulator_ops_is_valid()
122 rdev_err(rdev, "no constraints\n"); in regulator_ops_is_valid()
126 if (rdev->constraints->valid_ops_mask & ops) in regulator_ops_is_valid()
435 if (*max_uV > rdev->constraints->max_uV) in regulator_check_voltage()
436 *max_uV = rdev->constraints->max_uV; in regulator_check_voltage()
437 if (*min_uV < rdev->constraints->min_uV) in regulator_check_voltage()
438 *min_uV = rdev->constraints->min_uV; in regulator_check_voltage()
500 if (*max_uA > rdev->constraints->max_uA && in regulator_check_current_limit()
[all …]
H 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()
H A 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()
H 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()
H 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()
/linux/drivers/platform/x86/intel/int3472/
H A Dtps68470_board_data.c45 .constraints = {
56 .constraints = {
67 .constraints = {
79 .constraints = {
88 .constraints = {
99 .constraints = {
110 .constraints = {
/linux/Documentation/ABI/testing/
H A 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/arch/arm/mach-s3c/
H 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/tools/perf/pmu-events/arch/arm64/arm/neoverse-n2-v2/
H A Dstall.json8 …the backend of the pipeline because of backend resource constraints. Backend resource constraints
16 …ch no operations are sent from the rename unit to the backend due to backend resource constraints."
20 … no operations are sent to the rename unit from the frontend due to frontend resource constraints."
/linux/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/
H A Dstall.json8 …the backend of the pipeline because of backend resource constraints. Backend resource constraints
16 …ch no operations are sent from the rename unit to the backend due to backend resource constraints."
20 … no operations are sent to the rename unit from the frontend due to frontend resource constraints."
/linux/Documentation/userspace-api/media/v4l/
H 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/Documentation/driver-api/
H A 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/Documentation/power/powercap/
H 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,
215 Constraints section in Power Zone Attributes
257 The number of constraints in a power zone and the corresponding callbacks have
/linux/drivers/soc/samsung/
H A 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/Documentation/power/regulator/
H A 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
H A Dmachine.rst37 Constraints can now be registered by defining a struct regulator_init_data
42 .constraints = {
65 .constraints = {
/linux/drivers/crypto/nx/
H A 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/arch/x86/include/asm/
H A 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/fs/jffs2/
H A DREADME.Locking37 Ordering constraints: See f->sem.
62 Ordering constraints:
115 Ordering constraints:
147 Ordering constraints:
168 Ordering constraints:
/linux/security/selinux/ss/
H A 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/Documentation/arch/riscv/
H A Dboot.rst4 RISC-V Kernel Boot Requirements and Constraints
11 firmware, and also the constraints that any developer must have in mind when
16 Pre-kernel Requirements and Constraints
105 Early Boot Requirements and Constraints
108 The RISC-V kernel's early boot process operates under the following constraints:
/linux/drivers/powercap/
H 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/include/linux/
H A Dpowercap.h16 * controlled. Each power zone can have one or more constraints.
131 * @constraints: List of constraints for this zone.
151 struct powercap_zone_constraint *constraints; member
280 * @no_constraints: Number of constraints for this zone
288 * For each power zone there may be a number of constraints that appear in the
/linux/Documentation/power/
H A Dpm_qos_interface.rst12 per-device latency constraints and PM QoS flags.
124 Returns the aggregated value for a given device's constraints list.
147 Add a request to the device's PM QoS list of resume latency constraints and
153 PM QoS list of resume latency constraints and remove sysfs attribute
174 The callback is called when the aggregated value of the device constraints

12345678910>>...25