Home
last modified time | relevance | path

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

12345678910>>...12

/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/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/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.h52 /* Used to print the constraint info. */
53 enum oom_constraint constraint; member
/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/rust/syn/
H A Dpath.rs187 /// A binding (equality constraint) on an associated type: the `Item =
190 /// An equality constraint on an associated constant: the `PANIC =
194 Constraint(Constraint),
211 /// A binding (equality constraint) on an associated type: the `Item = u8`
223 /// An equality constraint on an associated constant: the `PANIC = false` in
237 pub struct Constraint {
299 use crate::path::Constraint;
368 return Ok(GenericArgument::Constraint(Constraint { in parse()
705 AngleBracketedGenericArguments, AssocConst, AssocType, Constraint, GenericArgument,
789 GenericArgument::Constraint(constraint) => constraint.to_tokens(tokens), in to_tokens()
[all …]
/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/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/kernel/
H A Dresource.c678 struct resource_constraint *constraint) in __find_resource_space() argument
682 resource_alignf alignf = constraint->alignf; in __find_resource_space()
702 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource_space()
706 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource_space()
712 alloc.start = alignf(constraint->alignf_data, in __find_resource_space()
713 &avail, size, constraint->align); in __find_resource_space()
741 * @constraint: The range and alignment constraints to be met
752 struct resource_constraint *constraint) in find_resource_space() argument
754 return __find_resource_space(root, NULL, new, size, constraint); in find_resource_space()
766 * @constraint: the memory range and alignment constraints to be met.
[all …]
/linux/sound/soc/sdca/
H A Dsdca_asoc.c1235 struct snd_pcm_hw_constraint_list *constraint; in sdca_asoc_populate_component()
1266 dev_dbg(dev, "%s: set channel constraint mask: %#x\n", in sdca_asoc_populate_component()
1269 constraint = kzalloc(sizeof(*constraint), GFP_KERNEL);
1270 if (!constraint)
1273 constraint->count = ARRAY_SIZE(channel_list);
1274 constraint->list = channel_list;
1275 constraint->mask = channel_mask;
1279 constraint);
1281 dev_err(dev, "%s: failed to add constraint
1292 struct snd_pcm_hw_constraint_list *constraint; sdca_asoc_set_constraints() local
1359 struct snd_pcm_hw_constraint_list *constraint = dai->priv; sdca_asoc_free_constraints() local
[all...]
/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/arch/x86/include/asm/
H A Dasm.h212 * Combine multiple asm inline constraint args into a single arg for passing to
219 * This output constraint should be used for any inline asm which has a "call"
239 * instructions, but GCC's "A" constraint has different meanings.
/linux/Documentation/devicetree/bindings/thermal/
H A 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/arch/powerpc/perf/
H A 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
/linux/Documentation/arch/arm/
H A Dporting.rst35 and eventually executed. The following constraint must be valid:
48 Virtual address of the initial RAM disk. The following constraint
/linux/sound/soc/amd/acp/
H A Dacp-platform.c225 dev_err(component->dev, "set hw constraint HW_PARAM_PERIOD_BYTES failed\n"); in acp_dma_open()
232 dev_err(component->dev, "set hw constraint HW_PARAM_BUFFER_BYTES failed\n"); in acp_dma_open()
239 dev_err(component->dev, "set integer constraint failed\n"); in acp_dma_open()
/linux/drivers/net/wireless/realtek/rtw89/
H A Dregd.c903 * Both units are 0.5 dB-based. Return a constraint in dB.
918 tpe->constraint = min(tpe->constraint, cstr); in tpe_intersect_constraint()
922 tpe->constraint = cstr; in tpe_intersect_constraint()
999 tpe_intersect_constraint(&new, tmp->constraint); in __rtw89_reg_6ghz_tpe_recalc()
1011 new.constraint); in __rtw89_reg_6ghz_tpe_recalc()
1044 if (tpe->constraint < RTW89_MIN_VALID_POWER_CONSTRAINT) { in rtw89_reg_6ghz_tpe_recalc()
1046 "%s: constraint %d dBm is less than min valid val\n", in rtw89_reg_6ghz_tpe_recalc()
1047 __func__, tpe->constraint); in rtw89_reg_6ghz_tpe_recalc()

12345678910>>...12