Searched refs:terms (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/include/linux/
H A Dpolynomial.h26 * @terms: polynomial terms, last term must have degree of 0
30 struct polynomial_term terms[]; member in struct:polynomial
/linux-master/tools/perf/tests/
H A Dpmu.c131 static void add_test_terms(struct parse_events_terms *terms) argument
139 list_add_tail(&clone->list, &terms->terms);
147 struct parse_events_terms terms; local
153 parse_events_terms__init(&terms);
154 add_test_terms(&terms);
157 parse_events_terms__exit(&terms);
167 parse_events_terms__exit(&terms);
184 ret = perf_pmu__config_terms(pmu, &attr, &terms, /*zero=*/false, /*err=*/NULL);
200 parse_events_terms__exit(&terms);
[all...]
H A Dattr.py56 terms = [ variable in class:Event
109 for t in Event.terms:
123 for t in Event.terms:
H A Dparse-events.c794 static int test__checkterms_simple(struct parse_events_terms *terms) argument
799 term = list_entry(terms->terms.next, struct parse_events_term, list);
2480 int (*check)(struct parse_events_terms *terms);
2583 struct parse_events_terms terms; local
2587 parse_events_terms__init(&terms);
2588 ret = parse_events_terms(&terms, t->str, /*input=*/ NULL);
2590 pr_debug("failed to parse terms '%s', err %d\n",
2595 ret = t->check(&terms);
2596 parse_events_terms__exit(&terms);
2601 test_terms(const struct terms_test *terms, int cnt) argument
[all...]
/linux-master/lib/
H A Dpolynomial.c46 * .terms = {
57 * .terms = {
81 const struct polynomial_term *term = poly->terms;
88 * redistributed terms calculations. It's pretty straightforward.
/linux-master/tools/perf/scripts/perl/Perf-Trace-Util/lib/Perf/Trace/
H A DContext.pm48 it under the same terms as Perl itself, either Perl version 5.10.0 or,
51 Alternatively, this software may be distributed under the terms of the
H A DUtil.pm87 it under the same terms as Perl itself, either Perl version 5.10.0 or,
90 Alternatively, this software may be distributed under the terms of the
H A DCore.pm185 it under the same terms as Perl itself, either Perl version 5.10.0 or,
188 Alternatively, this software may be distributed under the terms of the
/linux-master/tools/perf/util/
H A Dparse-events.h122 * shouldn't override terms coming from the command line.
137 /* A wrapper around a list of terms for the sake of better type safety. */
139 struct list_head terms; member in struct:parse_events_terms
149 /* Holds returned terms for term parsing. */
150 struct parse_events_terms *terms; member in struct:parse_events_state
157 /* Should PE_LEGACY_NAME tokens be generated for config terms? */
184 void parse_events_terms__delete(struct parse_events_terms *terms);
185 void parse_events_terms__init(struct parse_events_terms *terms);
186 void parse_events_terms__exit(struct parse_events_terms *terms);
187 int parse_events_terms(struct parse_events_terms *terms, cons
[all...]
H A Dparse-events.c165 list_for_each_entry(term, &head_terms->terms, list)
190 * @config_terms: the list of terms that may contain a raw term.
197 list_for_each_entry(term, &config_terms->terms, list) {
1033 * Always succeed for sysfs terms, as we dont know
1078 strdup("valid terms: call-graph,stack-size\n"));
1094 list_for_each_entry(term, &head->terms, list)
1134 list_for_each_entry(term, &head_config->terms, list) {
1222 list_for_each_entry(term, &head_config->terms, list) {
1427 if (pmu->selectable && list_empty(&parsed_terms.terms)) {
1445 if (list_empty(&parsed_terms.terms)) {
1882 parse_events_terms(struct parse_events_terms *terms, const char *str, FILE *input) argument
2628 parse_events_terms__init(struct parse_events_terms *terms) argument
2633 parse_events_terms__exit(struct parse_events_terms *terms) argument
2643 parse_events_terms__delete(struct parse_events_terms *terms) argument
2651 parse_events_terms__to_strbuf(const struct parse_events_terms *terms, struct strbuf *sb) argument
[all...]
H A Dpmu.c55 /** @terms: Owned list of the original parsed parameters. */
56 struct parse_events_terms terms; member in struct:perf_pmu_alias
408 parse_events_terms__exit(&newalias->terms);
488 parse_events_terms__exit(&data->alias->terms);
489 ret = parse_events_terms(&data->alias->terms, pe->event, /*input=*/NULL);
528 parse_events_terms__init(&alias->terms);
535 ret = parse_events_terms(&alias->terms, val, val_fd);
660 static int pmu_alias_terms(struct perf_pmu_alias *alias, int err_loc, struct list_head *terms) argument
666 list_for_each_entry(term, &alias->terms.terms, lis
1383 perf_pmu__config_terms(const struct perf_pmu *pmu, struct perf_event_attr *attr, struct parse_events_terms *terms, bool zero, struct parse_events_error *err) argument
[all...]
H A Dparse-events.y635 if (parse_state->terms) {
639 parse_state->terms = $1;
652 list_add_tail(&term->list, &head->terms);
664 list_add_tail(&term->list, &head->terms);
H A Dpmu.h206 struct parse_events_terms *terms,
/linux-master/arch/x86/math-emu/
H A Dpoly.h33 const unsigned long long terms[], const int n);
/linux-master/tools/testing/selftests/ptp/
H A Dtestptp.mk6 # it under the terms of the GNU General Public License as published by
/linux-master/drivers/scsi/arm/
H A Dcumana_2.c81 unsigned int terms; /* Terminator state */ member in struct:cumanascsi2_info
128 info->terms = 1;
131 info->terms = 0;
306 VERSION, info->terms ? "n" : "ff");
352 info->terms ? "n" : "ff");
/linux-master/drivers/iio/light/
H A Drohm-bu27034.c898 /* All terms positive */
907 u64 res = 0, terms[3]; local
913 terms[0] = bu27034_fixp_calc_t1(c->A, ch0, ch1, gain0, gain1);
914 terms[1] = bu27034_fixp_calc_t23(c->B, ch1, gain1);
915 terms[2] = bu27034_fixp_calc_t23(c->C, ch0, gain0);
917 /* First, add positive terms */
920 res += terms[i];
926 /* Then, subtract negative terms (if any) */
934 if (terms[i] >= res)
937 res -= terms[
[all...]
/linux-master/drivers/hwmon/
H A Dbt1-pvt.h240 * @terms: polynomial terms up to a free one.
244 struct pvt_poly_term terms[]; member in struct:pvt_poly
H A Dbt1-pvt.c71 .terms = {
82 .terms = {
103 .terms = {
111 .terms = {
689 * Finally recalculate the timeout in terms of the reference clock
H A Dlan966x-hwmon.c36 .terms = {
/linux-master/tools/perf/arch/x86/util/
H A Dintel-pt.c67 struct parse_events_terms terms; local
71 parse_events_terms__init(&terms);
72 err = parse_events_terms(&terms, str, /*input=*/ NULL);
77 err = perf_pmu__config_terms(pmu, &attr, &terms, /*zero=*/true, /*err=*/NULL);
83 parse_events_terms__exit(&terms);
/linux-master/arch/x86/crypto/
H A Dcrct10dif-pcl-asm_64.S13 # licenses. You may choose to be licensed under the terms of the GNU
/linux-master/Documentation/sound/cards/
H A Dmultisound.sh458 X * it under the terms of the GNU General Public License as published by
565 X * it under the terms of the GNU General Public License as published by
1073 X * it under the terms of the GNU General Public License as published by
/linux-master/arch/alpha/lib/
H A Dudiv-qrnnd.S7 # it under the terms of the GNU General Public License as published by
/linux-master/arch/arm/crypto/
H A Dsha1-armv4-large.S6 @ you can redistribute it and/or modify it under the terms of the GNU General
56 @ Cortex A8 core and in absolute terms ~870 cycles per input block

Completed in 339 milliseconds

12