Home
last modified time | relevance | path

Searched refs:term (Results 1 – 25 of 175) sorted by relevance

1234567

/Linux-v4.19/tools/perf/util/
Dparse-events.y77 %type <term> event_term
104 struct parse_events_term *term; member
526 struct parse_events_term *term = $3; variable
529 list_add_tail(&term->list, head);
536 struct parse_events_term *term = $1; variable
540 list_add_tail(&term->list, head);
547 struct parse_events_term *term; variable
549 ABORT_ON(parse_events_term__str(&term, PARSE_EVENTS__TERM_TYPE_USER,
551 $$ = term;
556 struct parse_events_term *term; variable
[all …]
Dparse-events.c297 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument
299 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term()
304 struct parse_events_term *term; in get_config_name() local
309 list_for_each_entry(term, head_terms, list) in get_config_name()
310 if (parse_events__is_name_term(term)) in get_config_name()
311 return term->val.str; in get_config_name()
373 struct parse_events_term *term,
376 struct parse_events_term *term,
708 struct parse_events_term *term; in parse_events_config_bpf() local
714 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf()
[all …]
Dpmu.c312 struct parse_events_term *term; in __perf_pmu__new_alias() local
344 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias()
348 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias()
350 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias()
351 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias()
353 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias()
494 struct parse_events_term *term, *cloned; in pmu_alias_terms() local
498 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms()
499 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms()
950 static int pmu_resolve_param_term(struct parse_events_term *term, in pmu_resolve_param_term() argument
[all …]
Ddrv_configs.c28 struct perf_evsel_config_term *term; in perf_evsel__apply_drv_configs() local
37 list_for_each_entry(term, &evsel->config_terms, list) { in perf_evsel__apply_drv_configs()
38 if (term->type != PERF_EVSEL__CONFIG_TERM_DRV_CFG) in perf_evsel__apply_drv_configs()
48 *err_term = term; in perf_evsel__apply_drv_configs()
52 err = pmu->set_drv_config(term); in perf_evsel__apply_drv_configs()
54 *err_term = term; in perf_evsel__apply_drv_configs()
Dparse-events.l157 static int term(yyscan_t scanner, int type) in term() function
261 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); }
262 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
263 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); }
264 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); }
265 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); }
266 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); }
267 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); }
268 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); }
269 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); }
[all …]
Dbpf-loader.c872 bpf_map_op_setkey(struct bpf_map_op *op, struct parse_events_term *term) in bpf_map_op_setkey() argument
875 if (!term) in bpf_map_op_setkey()
878 if (term->array.nr_ranges) { in bpf_map_op_setkey()
879 size_t memsz = term->array.nr_ranges * in bpf_map_op_setkey()
882 op->k.array.ranges = memdup(term->array.ranges, memsz); in bpf_map_op_setkey()
888 op->k.array.nr_ranges = term->array.nr_ranges; in bpf_map_op_setkey()
894 bpf_map_op__new(struct parse_events_term *term) in bpf_map_op__new() argument
906 err = bpf_map_op_setkey(op, term); in bpf_map_op__new()
996 bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) in bpf_map__add_newop() argument
1001 op = bpf_map_op__new(term); in bpf_map__add_newop()
[all …]
Dparse-events.h125 int parse_events__is_hardcoded_term(struct parse_events_term *term);
126 int parse_events_term__num(struct parse_events_term **term,
130 int parse_events_term__str(struct parse_events_term **term,
133 int parse_events_term__sym_hw(struct parse_events_term **term,
136 struct parse_events_term *term);
Dbpf-loader.h75 int bpf__config_obj(struct bpf_object *obj, struct parse_events_term *term,
78 struct parse_events_term *term,
122 struct parse_events_term *term __maybe_unused, in bpf__config_obj()
185 struct parse_events_term *term __maybe_unused, in bpf__strerror_config_obj()
Dcolor.c33 char *term = getenv("TERM"); in perf_config_colorbool() local
34 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
Devsel_fprintf.c66 const char *term = "sample_freq"; in perf_evsel__fprintf() local
69 term = "sample_period"; in perf_evsel__fprintf()
72 term, (u64)evsel->attr.sample_freq); in perf_evsel__fprintf()
/Linux-v4.19/net/netfilter/
Dxt_repldata.h25 struct type##_error *term; \
27 __alignof__(*term) - 1) & ~(__alignof__(*term) - 1); \
28 tbl = kzalloc(term_offset + sizeof(*term), GFP_KERNEL); \
31 term = (struct type##_error *)&(((char *)tbl)[term_offset]); \
33 *term = (struct type##_error)typ2##_ERROR_INIT; \
Dnf_conntrack_ftp.c73 char term; member
82 .term = '\r',
90 .term = '\r',
106 .term = ')',
114 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) in get_ipv6_addr() argument
117 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); in get_ipv6_addr()
124 int array_size, char sep, char term) in try_number() argument
141 if ((*data == term || !term) && i == array_size - 1) in try_number()
156 struct nf_conntrack_man *cmd, char term, in try_rfc959() argument
162 length = try_number(data, dlen, array, 6, ',', term); in try_rfc959()
[all …]
/Linux-v4.19/drivers/media/usb/uvc/
Duvc_driver.c1026 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local
1102 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control()
1104 if (term == NULL) in uvc_parse_standard_control()
1107 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control()
1108 term->camera.bControlSize = n; in uvc_parse_standard_control()
1109 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1110 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control()
1112 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control()
1114 term->camera.wOcularFocalLength = in uvc_parse_standard_control()
1116 memcpy(term->camera.bmControls, &buffer[15], n); in uvc_parse_standard_control()
[all …]
/Linux-v4.19/include/drm/
Ddrm_fixed.h191 s64 sum = DRM_FIXED_ONE, term, y = x; in drm_fixp_exp() local
197 term = y; in drm_fixp_exp()
199 while (term >= tolerance) { in drm_fixp_exp()
200 sum = sum + term; in drm_fixp_exp()
202 term = drm_fixp_mul(term, div64_s64(y, count)); in drm_fixp_exp()
/Linux-v4.19/sound/usb/
Dmixer.c785 struct usb_audio_term *term) in check_input_term() argument
791 memset(term, 0, sizeof(*term)); in check_input_term()
794 term->id = id; in check_input_term()
802 term->type = le16_to_cpu(d->wTerminalType); in check_input_term()
803 term->channels = d->bNrChannels; in check_input_term()
804 term->chconfig = le16_to_cpu(d->wChannelConfig); in check_input_term()
805 term->name = d->iTerminal; in check_input_term()
811 err = check_input_term(state, d->bCSourceID, term); in check_input_term()
818 term->id = id; in check_input_term()
819 term->type = le16_to_cpu(d->wTerminalType); in check_input_term()
[all …]
Dstream.c636 struct uac2_input_terminal_descriptor *term = NULL; in snd_usb_find_input_terminal_descriptor() local
638 while ((term = snd_usb_find_csint_desc(ctrl_iface->extra, in snd_usb_find_input_terminal_descriptor()
640 term, UAC_INPUT_TERMINAL))) { in snd_usb_find_input_terminal_descriptor()
641 if (term->bTerminalID == terminal_id) in snd_usb_find_input_terminal_descriptor()
642 return term; in snd_usb_find_input_terminal_descriptor()
653 struct uac2_output_terminal_descriptor *term = NULL; in snd_usb_find_output_terminal_descriptor() local
655 while ((term = snd_usb_find_csint_desc(ctrl_iface->extra, in snd_usb_find_output_terminal_descriptor()
657 term, UAC_OUTPUT_TERMINAL))) { in snd_usb_find_output_terminal_descriptor()
658 if (term->bTerminalID == terminal_id) in snd_usb_find_output_terminal_descriptor()
659 return term; in snd_usb_find_output_terminal_descriptor()
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-events42 <term>[=<value>][,<term>[=<value>]]...
44 Where <term> is one of the terms listed under
47 If a <term> is specified alone (without an assigned value), it
48 is implied that 0x1 is assigned to that <term>.
59 corresponding to the <term>) in the perf_event structure passed
/Linux-v4.19/Documentation/thermal/
Dpower_allocator.txt101 thermal governor allows the configuration of two proportional term
102 constants: `k_po` and `k_pu`. `k_po` is the proportional term
105 proportional term constant during temperature undershoot periods
120 proportional term will be 2 * `sustainable_power`. The default value
130 The proportional term is proportional to the difference between the
153 Therefore, the proportional term alone linearly decreases power from
160 `k_i` configures the PID loop's integral term constant. This term
161 allows the PID controller to compensate for long term drift and for
165 integral term. This term is then multiplied by `k_i` and the result
172 `k_d` configures the PID loop's derivative term constant. It's
/Linux-v4.19/tools/perf/tests/
Dparse-events.c570 struct parse_events_term *term; in test__checkterms_simple() local
573 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
575 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
577 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
578 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
579 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
582 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
584 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
586 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
587 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
[all …]
Dstat.c31 #define HAS(term, val) \ in process_stat_config_event() argument
32 has_term(config, PERF_STAT_CONFIG_TERM__##term, val) in process_stat_config_event()
/Linux-v4.19/drivers/pwm/
Dpwm-ep93xx.c78 unsigned long term; in ep93xx_pwm_config() local
102 term = readw(base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_config()
105 if (period_cycles > term) { in ep93xx_pwm_config()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dbh.c426 int rx, tx, term, suspend; in cw1200_bh() local
462 term = atomic_xchg(&priv->bh_term, 0); in cw1200_bh()
465 (rx || tx || term || suspend || priv->bh_error); in cw1200_bh()
469 rx, tx, term, suspend, priv->bh_error, status); in cw1200_bh()
473 term || priv->bh_error) { in cw1200_bh()
613 if (!term) { in cw1200_bh()
/Linux-v4.19/tools/testing/selftests/watchdog/
Dwatchdog-test.c53 static void term(int sig) in term() function
149 signal(SIGINT, term); in main()
/Linux-v4.19/drivers/scsi/arm/
Dpowertec.c55 static int term[MAX_ECARDS] = { 1, 1, 1, 1, 1, 1, 1, 1 }; variable
330 powertecscsi_terminator_ctl(host, term[ec->slot_no]); in powertecscsi_probe()
449 module_param_array(term, int, NULL, 0);
450 MODULE_PARM_DESC(term, "SCSI bus termination");
/Linux-v4.19/Documentation/devicetree/bindings/power/supply/
Dbq24190.txt15 + charge-term-current-microamp: a charge cycle terminates when the
32 charge-term-current-microamp = <128000>;

1234567