Home
last modified time | relevance | path

Searched full:constraint (Results 1 – 25 of 294) sorted by relevance

12345678910>>...12

/linux-5.10/arch/arm64/include/asm/
Datomic_ll_sc.h38 #define ATOMIC_OP(op, asm_op, constraint) \ argument
53 : __stringify(constraint) "r" (i)); \
56 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
72 : __stringify(constraint) "r" (i) \
78 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ argument
94 : __stringify(constraint) "r" (i) \
128 * have a constraint for this, so fall back to register. in ATOMIC_OPS()
137 #define ATOMIC64_OP(op, asm_op, constraint) \ in ATOMIC_OPS() argument
152 : __stringify(constraint) "r" (i)); \ in ATOMIC_OPS()
155 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
[all …]
/linux-5.10/kernel/power/
Dqos.c50 * pm_qos_read_value - Return the current effective constraint value.
51 * @c: List of PM QoS constraint requests.
82 * pm_qos_update_target - Update a list of PM QoS constraint requests.
88 * Update the given list of PM QoS constraint requests, @c, by carrying an
96 * Return: 1 if the aggregate constraint value has changed, 0 otherwise.
172 * Return: 1 if the aggregate constraint value has changed, 0 otherwise.
255 * @value: Requested constraint value.
259 * constraint for that list.
284 * @new_value: New requested constraint value.
287 * latency QoS list along with updating the effective constraint value for that
[all …]
/linux-5.10/tools/perf/scripts/python/
Dexport-to-postgresql.py893 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
894 'ADD CONSTRAINT processfk FOREIGN KEY (process_id) REFERENCES threads (id)')
896 'ADD CONSTRAINT threadfk FOREIGN KEY (c_thread_id) REFERENCES threads (id)')
898 'ADD CONSTRAINT commfk FOREIGN KEY (comm_id) REFERENCES comms (id),'
899 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id)')
901 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id)')
903 'ADD CONSTRAINT dsofk FOREIGN KEY (dso_id) REFERENCES dsos (id)')
905 'ADD CONSTRAINT evselfk FOREIGN KEY (evsel_id) REFERENCES selected_events (id),'
906 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
907 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id),'
[all …]
/linux-5.10/include/linux/
Dpowercap.h118 * @const_id_cnt: Number of constraint defined.
155 * struct powercap_zone_constraint_ops - Define constraint callbacks
164 * @get_name: Get the name of constraint
166 * This structure is used to define the constraint callbacks for the client
188 * struct powercap_zone_constraint- Defines instance of a constraint
189 * @id: Instance Id of this constraint.
190 * @power_zone: Pointer to the power zone for this constraint.
191 * @ops: Pointer to the constraint callbacks.
193 * This defines a constraint instance.
281 * @const_ops: Pointer to constraint callback structure
Doom.h53 /* Used to print the constraint info. */
54 enum oom_constraint constraint; member
/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-powercap92 constraint can have an optional name. Here "X" can have values
110 constraint_X_power_limit_uw to define a power constraint.
119 Maximum allowed power in micro watts for this constraint.
127 Minimum allowed power in micro watts for this constraint.
136 constraint. Here "X" can have values from 0 to max integer.
144 constraint. Here "X" can have values from 0 to max integer.
Dsysfs-class-regulator156 NOTE: this will return the string 'constraint not defined' if
157 the power domain has no min microvolts constraint defined by
171 NOTE: this will return the string 'constraint not defined' if
172 the power domain has no max microvolts constraint defined by
186 NOTE: this will return the string 'constraint not defined' if
187 the power domain has no min microamps constraint defined by
201 NOTE: this will return the string 'constraint not defined' if
202 the power domain has no max microamps constraint defined by
/linux-5.10/drivers/base/power/
Dqos.c18 * per-device constraint data struct.
20 * Note about the per-device constraint data struct allocation:
93 * __dev_pm_qos_resume_latency - Get resume latency constraint for a given device.
94 * @dev: Device to get the PM QoS constraint value for.
106 * dev_pm_qos_read_value - Get PM QoS constraint for a given device (locked).
107 * @dev: Device to get the PM QoS constraint value for.
143 * @req: Constraint request to apply
191 * Called at the first call to add_request, for constraint data allocation
368 * @dev: target device for the constraint
379 * Returns 1 if the aggregated constraint value has changed,
[all …]
Ddomain_governor.c33 * take its current PM QoS constraint (that's the only thing in dev_update_qos_constraint()
93 * domain has a zero PM QoS constraint and it's better not to in default_suspend_ok()
290 * Start at the state picked by the dev PM QoS constraint validation. in cpu_power_down_ok()
/linux-5.10/drivers/net/wireless/marvell/mwifiex/
D11h.c43 struct mwifiex_ie_types_local_pwr_constraint *constraint; in mwifiex_11h_process_infra_join() local
61 constraint = (struct mwifiex_ie_types_local_pwr_constraint *)*buffer; in mwifiex_11h_process_infra_join()
62 constraint->header.type = cpu_to_le16(WLAN_EID_PWR_CONSTRAINT); in mwifiex_11h_process_infra_join()
63 constraint->header.len = cpu_to_le16(2); in mwifiex_11h_process_infra_join()
64 constraint->chan = bss_desc->channel; in mwifiex_11h_process_infra_join()
65 constraint->constraint = bss_desc->local_constraint; in mwifiex_11h_process_infra_join()
66 *buffer += sizeof(*constraint); in mwifiex_11h_process_infra_join()
/linux-5.10/security/selinux/ss/
Dconstraint.h3 * A constraint is a condition that must be satisfied in
59 struct constraint_expr *expr; /* constraint on permissions */
60 struct constraint_node *next; /* next constraint */
/linux-5.10/arch/powerpc/include/asm/
Dperf_event_server.h116 * Select field: this expresses the constraint that some set of bits
120 * MMCR* bits. The constraint checking code will ensure that two events
124 * Add field: this expresses the constraint that there can be at most
133 * NAND field: this expresses the constraint that you may not have events
142 * If an event_id is not subject to the constraint expressed by a particular
Dasm-const.h16 * Inline assembly memory constraint
18 * GCC 4.9 doesn't properly handle pre update memory constraint "m<>"
/linux-5.10/tools/testing/selftests/powerpc/primitives/asm/
Dasm-const.h16 * Inline assembly memory constraint
18 * GCC 4.9 doesn't properly handle pre update memory constraint "m<>"
/linux-5.10/drivers/staging/hikey9xx/
Dhi6421v600-regulator.c328 struct regulation_constraints *constraint; in hi6421_spmi_regulator_probe_ldo() local
366 constraint = &initdata->constraints; in hi6421_spmi_regulator_probe_ldo()
368 constraint->valid_modes_mask = REGULATOR_MODE_NORMAL; in hi6421_spmi_regulator_probe_ldo()
370 constraint->valid_modes_mask |= REGULATOR_MODE_IDLE; in hi6421_spmi_regulator_probe_ldo()
371 constraint->valid_ops_mask |= REGULATOR_CHANGE_MODE; in hi6421_spmi_regulator_probe_ldo()
388 constraint->valid_modes_mask, constraint->valid_ops_mask); in hi6421_spmi_regulator_probe_ldo()
/linux-5.10/kernel/
Dresource.c598 struct resource_constraint *constraint) in __find_resource() argument
621 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource()
625 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource()
630 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
631 size, constraint->align); in __find_resource()
656 struct resource_constraint *constraint) in find_resource() argument
658 return __find_resource(root, NULL, new, size, constraint); in find_resource()
669 * @constraint: the size and alignment constraints to be met.
673 struct resource_constraint *constraint) in reallocate_resource() argument
681 if ((err = __find_resource(root, old, &new, newsize, constraint))) in reallocate_resource()
[all …]
/linux-5.10/Documentation/power/powercap/
Dpowercap.rst155 max_energy_range_uj) and constraint attributes (constraint_*) allowing controls
173 All the zones contain attributes representing the constraint names,
176 correspond to the jth constraint (j = 0,1,2).
226 An optional name of the constraint
/linux-5.10/sound/soc/codecs/
Dak4613.c94 struct snd_pcm_hw_constraint_list constraint; member
270 struct snd_pcm_hw_constraint_list *constraint = &priv->constraint; in ak4613_hw_constraints() local
274 constraint->list = ak4613_rates; in ak4613_hw_constraints()
275 constraint->mask = 0; in ak4613_hw_constraints()
276 constraint->count = 0; in ak4613_hw_constraints()
294 constraint->count = i + 1; in ak4613_hw_constraints()
298 SNDRV_PCM_HW_PARAM_RATE, constraint); in ak4613_hw_constraints()
/linux-5.10/include/linux/regulator/
Dmachine.h21 * Regulator operation constraint flags. These flags are used to enable
113 * @apply_uV: Apply the voltage constraint when initialising.
188 /* constraint flags */
191 unsigned apply_uV:1; /* apply uV constraint if min == max */
/linux-5.10/drivers/crypto/nx/
Dnx-842.h123 * compressed data can be less than the minimum constraint. It can be
125 * constraint.
129 * if any constraint is not met.
/linux-5.10/drivers/acpi/
Dsleep.c717 /* Device constraint entry structure */
724 /* Constraint package structure */
763 struct lpi_constraints *constraint; in lpi_device_get_constraints() local
793 constraint = &lpi_constraints_table[lpi_constraints_table_size]; in lpi_device_get_constraints()
795 status = acpi_get_handle(NULL, info.name, &constraint->handle); in lpi_device_get_constraints()
802 constraint->min_dstate = -1; in lpi_device_get_constraints()
829 constraint->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints()
834 if (constraint->min_dstate < 0) { in lpi_device_get_constraints()
836 "Incomplete constraint defined\n"); in lpi_device_get_constraints()
873 "LPI: Constraint not met; min power state:%s current power state:%s\n", in lpi_check_constraints()
/linux-5.10/sound/core/
Dpcm_lib.c1109 * snd_pcm_hw_rule_add - add the hw-constraint rule
1164 * snd_pcm_hw_constraint_mask - apply the given bitmap mask constraint
1169 * Apply the constraint of the given bitmap mask to a 32-bit mask parameter.
1186 * snd_pcm_hw_constraint_mask64 - apply the given bitmap mask constraint
1191 * Apply the constraint of the given bitmap mask to a 64-bit mask parameter.
1210 * snd_pcm_hw_constraint_integer - apply an integer constraint to an interval
1212 * @var: hw_params variable to apply the integer constraint
1214 * Apply the constraint of integer to an interval parameter.
1227 * snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an interval
1233 * Apply the min/max range constraint to an interval parameter.
[all …]
/linux-5.10/drivers/cpufreq/
Dppc_cbe_cpufreq_pmi.c92 pr_warn("Failed to update freq constraint: %d\n", ret); in cbe_cpufreq_handle_pmi()
119 pr_err("Failed to add freq constraint (%d)\n", ret); in cbe_cpufreq_pmi_policy_init()
/linux-5.10/Documentation/devicetree/bindings/thermal/
Dthermal-idle.yaml40 The exit latency constraint in microsecond for the injected idle state
41 for the device. It is the latency constraint to apply when selecting an
/linux-5.10/arch/powerpc/perf/
Dppc970-pmu.c85 * Layout of constraint bits:
91 * SP - SPCSEL constraint
94 * T0 - TTM0 constraint
97 * T1 - TTM1 constraint
100 * UC - unit constraint: can't have all three of FPU|IFU|VPU, ISU, IDU|STS

12345678910>>...12