Home
last modified time | relevance | path

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

12345678910>>...22

/kernel/linux/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 …]
/kernel/linux/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 …]
/kernel/linux/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 …]
/kernel/linux/linux-4.19/tools/perf/scripts/python/
Dexport-to-postgresql.py629 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
630 'ADD CONSTRAINT processfk FOREIGN KEY (process_id) REFERENCES threads (id)')
632 'ADD CONSTRAINT commfk FOREIGN KEY (comm_id) REFERENCES comms (id),'
633 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id)')
635 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id)')
637 'ADD CONSTRAINT dsofk FOREIGN KEY (dso_id) REFERENCES dsos (id)')
639 'ADD CONSTRAINT evselfk FOREIGN KEY (evsel_id) REFERENCES selected_events (id),'
640 'ADD CONSTRAINT machinefk FOREIGN KEY (machine_id) REFERENCES machines (id),'
641 'ADD CONSTRAINT threadfk FOREIGN KEY (thread_id) REFERENCES threads (id),'
642 'ADD CONSTRAINT commfk FOREIGN KEY (comm_id) REFERENCES comms (id),'
[all …]
/kernel/linux/linux-4.19/drivers/base/power/
Dqos.c22 * per-device constraint data struct.
24 * Note about the per-device constraint data struct allocation:
97 * __dev_pm_qos_read_value - Get PM QoS constraint for a given device.
98 * @dev: Device to get the PM QoS constraint value for.
110 * dev_pm_qos_read_value - Get PM QoS constraint for a given device (locked).
111 * @dev: Device to get the PM QoS constraint value for.
127 * @req: Constraint request to apply
171 * Called at the first call to add_request, for constraint data allocation
319 * @dev: target device for the constraint
330 * Returns 1 if the aggregated constraint value has changed,
[all …]
/kernel/linux/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
/kernel/linux/linux-4.19/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
/kernel/linux/linux-4.19/include/linux/
Dpowercap.h131 * @const_id_cnt: Number of constraint defined.
168 * struct powercap_zone_constraint_ops - Define constraint callbacks
177 * @get_name: Get the name of constraint
179 * This structure is used to define the constraint callbacks for the client
201 * struct powercap_zone_constraint- Defines instance of a constraint
202 * @id: Instance Id of this constraint.
203 * @power_zone: Pointer to the power zone for this constraint.
204 * @ops: Pointer to the constraint callbacks.
206 * This defines a constraint instance.
294 * @const_ops: Pointer to constraint callback structure
/kernel/linux/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
/kernel/linux/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 …]
/kernel/linux/linux-4.19/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()
/kernel/linux/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()
/kernel/linux/linux-4.19/arch/powerpc/include/asm/
Dperf_event_server.h105 * Select field: this expresses the constraint that some set of bits
109 * MMCR* bits. The constraint checking code will ensure that two events
113 * Add field: this expresses the constraint that there can be at most
122 * NAND field: this expresses the constraint that you may not have events
131 * If an event_id is not subject to the constraint expressed by a particular
/kernel/linux/linux-4.19/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 */
/kernel/linux/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 */
/kernel/linux/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<>"
/kernel/linux/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<>"
/kernel/linux/linux-4.19/kernel/
Dresource.c575 struct resource_constraint *constraint) in __find_resource() argument
598 resource_clip(&tmp, constraint->min, constraint->max); in __find_resource()
602 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource()
607 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
608 size, constraint->align); in __find_resource()
633 struct resource_constraint *constraint) in find_resource() argument
635 return __find_resource(root, NULL, new, size, constraint); in find_resource()
646 * @constraint: the size and alignment constraints to be met.
650 struct resource_constraint *constraint) in reallocate_resource() argument
658 if ((err = __find_resource(root, old, &new, newsize, constraint))) in reallocate_resource()
[all …]
/kernel/linux/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()
/kernel/linux/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 …]
/kernel/linux/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
/kernel/linux/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()

12345678910>>...22