Home
last modified time | relevance | path

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

12345678910>>...15

/linux/arch/arm64/include/asm/
H A Datomic_ll_sc.h25 #define ATOMIC_OP(op, asm_op, constraint) \ argument
39 : __stringify(constraint) "r" (i)); \
42 #define ATOMIC_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
57 : __stringify(constraint) "r" (i) \
63 #define ATOMIC_FETCH_OP(name, mb, acq, rel, cl, op, asm_op, constraint) \ argument
78 : __stringify(constraint) "r" (i) \
112 * have a constraint for this, so fall back to register. in ATOMIC_OPS()
121 #define ATOMIC64_OP(op, asm_op, constraint) \ in ATOMIC_OPS() argument
135 : __stringify(constraint) "r" (i)); \ in ATOMIC_OPS()
138 #define ATOMIC64_OP_RETURN(name, mb, acq, rel, cl, op, asm_op, constraint)\ argument
[all …]
/linux/kernel/power/
H A 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.
260 * @value: Requested constraint value.
264 * constraint for that list.
289 * @new_value: New requested constraint value.
292 * latency QoS list along with updating the effective constraint value for that
[all …]
/linux/tools/perf/scripts/python/
H A Dexport-to-postgresql.py896 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
897 'ADD CONSTRAINT processfk FOREIGN KEY (process_id) REFERENCES threads (id)')
899 'ADD CONSTRAINT threadfk FOREIGN KEY (c_thread_id) REFERENCES threads (id)')
901 'ADD CONSTRAINT commfk FOREIGN KEY (comm_id) REFERENCES comms (id),'
902 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id)')
904 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id)')
906 'ADD CONSTRAINT dsofk FOREIGN KEY (dso_id) REFERENCES dsos (id)')
908 'ADD CONSTRAINT evselfk FOREIGN KEY (evsel_id) REFERENCES selected_events (id),'
909 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
910 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id),'
[all …]
/linux/drivers/acpi/x86/
H A Ds2idle.c64 /* Device constraint entry structure */
71 /* Constraint package structure */
83 /* AMD Constraint package structure */
216 struct lpi_constraints *constraint; in lpi_device_get_constraints() local
246 constraint = &lpi_constraints_table[lpi_constraints_table_size]; in lpi_device_get_constraints()
248 status = acpi_get_handle(NULL, info.name, &constraint->handle); in lpi_device_get_constraints()
255 constraint->min_dstate = -1; in lpi_device_get_constraints()
282 constraint->min_dstate = dev_info.min_dstate; in lpi_device_get_constraints()
287 if (constraint->min_dstate < 0) { in lpi_device_get_constraints()
289 "Incomplete constraint defined\n"); in lpi_device_get_constraints()
[all …]
/linux/tools/testing/selftests/rseq/
H A Drseq-ppc.h46 …ORE_LONG(arg) "std%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m" constraint) */
47 …TORE_INT(arg) "stw%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m" constraint) */
48 …AD_LONG(arg) "ld%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m" constraint) */
49 …AD_INT(arg) "lwz%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m" constraint) */
50 #define RSEQ_LOADX_LONG "ldx " /* From base register ("b" constraint) */
91 …ORE_LONG(arg) "stw%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* To memory ("m" constraint) */
92 #define RSEQ_STORE_INT(arg) RSEQ_STORE_LONG(arg) /* To memory ("m" constraint) */
93 …D_LONG(arg) "lwz%U[" __rseq_str(arg) "]%X[" __rseq_str(arg) "] " /* From memory ("m" constraint) */
94 #define RSEQ_LOAD_INT(arg) RSEQ_LOAD_LONG(arg) /* From memory ("m" constraint) */
95 #define RSEQ_LOADX_LONG "lwzx " /* From base register ("b" constraint) */
/linux/include/linux/
H A 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
H A Doom.h53 /* Used to print the constraint info. */
54 enum oom_constraint constraint; member
/linux/drivers/base/power/
H A 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 …]
/linux/Documentation/ABI/testing/
H A 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.
H A 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/drivers/net/wireless/marvell/mwifiex/
H A D11h.c31 struct mwifiex_ie_types_local_pwr_constraint *constraint; in mwifiex_11h_process_infra_join() local
49 constraint = (struct mwifiex_ie_types_local_pwr_constraint *)*buffer; in mwifiex_11h_process_infra_join()
50 constraint->header.type = cpu_to_le16(WLAN_EID_PWR_CONSTRAINT); in mwifiex_11h_process_infra_join()
51 constraint->header.len = cpu_to_le16(2); in mwifiex_11h_process_infra_join()
52 constraint->chan = bss_desc->channel; in mwifiex_11h_process_infra_join()
53 constraint->constraint = bss_desc->local_constraint; in mwifiex_11h_process_infra_join()
54 *buffer += sizeof(*constraint); in mwifiex_11h_process_infra_join()
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/
H A Dgroup_pmc56_exclude_constraints_test.c13 * Testcase for group constraint check for
16 * Test that pmc5/6 is excluded from constraint
29 * PMC5/6 is excluded from constraint bit in group_pmc56_exclude_constraints()
47 * The event_open will fail if constraint check fails. in group_pmc56_exclude_constraints()
H A Dgroup_constraint_unit_test.c21 * Testcase for group constraint check of unit and pmc bits which is
33 * Constraint to use PMC4 with one of the event in group, in group_constraint_unit()
/linux/sound/soc/codecs/
H A Dak4613.c433 struct snd_pcm_hw_constraint_list *constraint; in ak4613_hw_constraints() local
441 constraint = &priv->constraint_rates; in ak4613_hw_constraints()
442 constraint->list = ak4613_rates; in ak4613_hw_constraints()
443 constraint->mask = 0; in ak4613_hw_constraints()
444 constraint->count = 0; in ak4613_hw_constraints()
462 constraint->count = i + 1; in ak4613_hw_constraints()
466 SNDRV_PCM_HW_PARAM_RATE, constraint); in ak4613_hw_constraints()
476 * the constraint is same as working mode. in ak4613_hw_constraints()
483 * the constraint is based on board configs. in ak4613_hw_constraints()
496 constraint = &priv->constraint_channels; in ak4613_hw_constraints()
[all …]
H A Dak4619.c154 struct snd_pcm_hw_constraint_list constraint; member
708 struct snd_pcm_hw_constraint_list *constraint = &ak4619->constraint; in ak4619_hw_constraints() local
759 constraint->list = ak4619_sr; in ak4619_hw_constraints()
760 constraint->mask = ak4619_rate_mask; in ak4619_hw_constraints()
761 constraint->count = ARRAY_SIZE(ak4619_sr); in ak4619_hw_constraints()
763 snd_pcm_hw_constraint_list(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, constraint); in ak4619_hw_constraints()
/linux/arch/powerpc/include/asm/
H A Dperf_event_server.h125 * Select field: this expresses the constraint that some set of bits
129 * MMCR* bits. The constraint checking code will ensure that two events
133 * Add field: this expresses the constraint that there can be at most
142 * NAND field: this expresses the constraint that you may not have events
151 * If an event_id is not subject to the constraint expressed by a particular
/linux/security/selinux/ss/
H A Dconstraint.h3 * A constraint is a condition that must be satisfied in
60 struct constraint_expr *expr; /* constraint on permissions */
61 struct constraint_node *next; /* next constraint */
/linux/kernel/
H A Dresource.c659 struct resource_constraint *constraint) in __find_resource_space() argument
663 resource_alignf alignf = constraint->alignf; in __find_resource_space()
683 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource_space()
687 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource_space()
693 alloc.start = alignf(constraint->alignf_data, in __find_resource_space()
694 &avail, size, constraint->align); in __find_resource_space()
722 * @constraint: The range and alignment constraints to be met
733 struct resource_constraint *constraint) in find_resource_space() argument
735 return __find_resource_space(root, NULL, new, size, constraint); in find_resource_space()
747 * @constraint: the size and alignment constraints to be met.
[all …]
/linux/Documentation/power/powercap/
H A 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
H A Ddtpm.rst140 * constraint_X_name: The name of the constraint.
147 the constraint will be removed.
150 on the constraint number.
155 * Constraint 0: The power limitation is immediately applied, without
/linux/include/linux/regulator/
H A Dmachine.h21 * Regulator operation constraint flags. These flags are used to enable
133 * @apply_uV: Apply the voltage constraint when initialising.
227 /* constraint flags */
230 unsigned apply_uV:1; /* apply uV constraint if min == max */
/linux/drivers/net/wireless/realtek/rtw89/
H A Dregd.c718 * Both units are 0.5 dB-based. Return a constraint in dB.
733 tpe->constraint = min(tpe->constraint, cstr); in tpe_intersect_constraint()
737 tpe->constraint = cstr; in tpe_intersect_constraint()
811 tpe_intersect_constraint(&new, tmp->constraint); in __rtw89_reg_6ghz_tpe_recalc()
822 new.constraint); in __rtw89_reg_6ghz_tpe_recalc()
850 if (tpe->constraint < RTW89_MIN_VALID_POWER_CONSTRAINT) { in rtw89_reg_6ghz_tpe_recalc()
852 "%s: constraint %d dBm is less than min valid val\n", in rtw89_reg_6ghz_tpe_recalc()
853 __func__, tpe->constraint); in rtw89_reg_6ghz_tpe_recalc()
/linux/drivers/crypto/nx/
H A 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/sound/core/
H A Dpcm_lib.c1155 * snd_pcm_hw_rule_add - add the hw-constraint rule
1210 * snd_pcm_hw_constraint_mask - apply the given bitmap mask constraint
1215 * Apply the constraint of the given bitmap mask to a 32-bit mask parameter.
1232 * snd_pcm_hw_constraint_mask64 - apply the given bitmap mask constraint
1237 * Apply the constraint of the given bitmap mask to a 64-bit mask parameter.
1256 * snd_pcm_hw_constraint_integer - apply an integer constraint to an interval
1258 * @var: hw_params variable to apply the integer constraint
1260 * Apply the constraint of integer to an interval parameter.
1273 * snd_pcm_hw_constraint_minmax - apply a min/max range constraint to an interval
1279 * Apply the min/max range constraint to an interval parameter.
[all …]
/linux/drivers/cpufreq/
H A Dppc_cbe_cpufreq_pmi.c91 pr_warn("Failed to update freq constraint: %d\n", ret); in cbe_cpufreq_handle_pmi()
118 pr_err("Failed to add freq constraint (%d)\n", ret); in cbe_cpufreq_pmi_policy_init()

12345678910>>...15