Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.14.4/arch/arm64/include/asm/
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-6.14.4/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.
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-6.14.4/tools/perf/scripts/python/
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-6.14.4/drivers/acpi/x86/
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-6.14.4/tools/testing/selftests/rseq/
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-6.14.4/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.h52 /* Used to print the constraint info. */
53 enum oom_constraint constraint; member
/linux-6.14.4/tools/testing/selftests/powerpc/pmu/event_code_tests/
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()
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-6.14.4/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-6.14.4/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.
144 * @req: Constraint request to apply
192 * Called at the first call to add_request, for constraint data allocation
369 * @dev: target device for the constraint
380 * Returns 1 if the aggregated constraint value has changed,
[all …]
/linux-6.14.4/drivers/net/wireless/marvell/mwifiex/
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-6.14.4/sound/soc/codecs/
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 …]
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-6.14.4/security/selinux/ss/
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-6.14.4/arch/powerpc/include/asm/
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-6.14.4/drivers/pmdomain/ti/
Dti_sci_pm_domains.c74 dev_err(dev, "ti_sci_pd: set latency constraint failed: ret=%d\n", in ti_sci_pd_set_lat_constraint()
77 dev_dbg(dev, "ti_sci_pd: ID:%d set latency constraint %d\n", in ti_sci_pd_set_lat_constraint()
92 * we do not want to set a constraint. in ti_sci_pd_set_wkup_constraint()
102 dev_dbg(dev, "ti_sci_pd: ID:%d set device constraint.\n", pd->idx); in ti_sci_pd_set_wkup_constraint()
260 * If SCI constraint functions are present, then firmware in ti_sci_pm_domain_probe()
/linux-6.14.4/Documentation/power/powercap/
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
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-6.14.4/kernel/
Dresource.c671 struct resource_constraint *constraint) in __find_resource_space() argument
675 resource_alignf alignf = constraint->alignf; in __find_resource_space()
695 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource_space()
699 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource_space()
705 alloc.start = alignf(constraint->alignf_data, in __find_resource_space()
706 &avail, size, constraint->align); in __find_resource_space()
734 * @constraint: The range and alignment constraints to be met
745 struct resource_constraint *constraint) in find_resource_space() argument
747 return __find_resource_space(root, NULL, new, size, constraint); in find_resource_space()
759 * @constraint: the memory range and alignment constraints to be met.
[all …]
/linux-6.14.4/include/linux/regulator/
Dmachine.h21 * Regulator operation constraint flags. These flags are used to enable
134 * @apply_uV: Apply the voltage constraint when initialising.
229 /* constraint flags */
232 unsigned apply_uV:1; /* apply uV constraint if min == max */
/linux-6.14.4/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-6.14.4/drivers/net/wireless/realtek/rtw89/
Dregd.c743 * Both units are 0.5 dB-based. Return a constraint in dB.
758 tpe->constraint = min(tpe->constraint, cstr); in tpe_intersect_constraint()
762 tpe->constraint = cstr; in tpe_intersect_constraint()
839 tpe_intersect_constraint(&new, tmp->constraint); in __rtw89_reg_6ghz_tpe_recalc()
851 new.constraint); in __rtw89_reg_6ghz_tpe_recalc()
884 if (tpe->constraint < RTW89_MIN_VALID_POWER_CONSTRAINT) { in rtw89_reg_6ghz_tpe_recalc()
886 "%s: constraint %d dBm is less than min valid val\n", in rtw89_reg_6ghz_tpe_recalc()
887 __func__, tpe->constraint); in rtw89_reg_6ghz_tpe_recalc()
/linux-6.14.4/drivers/cpufreq/
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