Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/tools/perf/util/
Dparse-events.c328 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument
330 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term()
335 struct parse_events_term *term; in get_config_name() local
340 list_for_each_entry(term, head_terms, list) in get_config_name()
341 if (parse_events__is_name_term(term)) in get_config_name()
342 return term->val.str; in get_config_name()
445 struct parse_events_term *term,
448 struct parse_events_term *term,
789 struct parse_events_term *term; in parse_events_config_bpf() local
795 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf()
[all …]
Dparse-events.y93 %type <term> event_term
94 %destructor { parse_events_term__delete ($$); } <term>
129 struct parse_events_term *term; member
725 struct parse_events_term *term = $3; variable
728 parse_events_term__delete(term);
731 list_add_tail(&term->list, head);
738 struct parse_events_term *term = $1; variable
742 list_add_tail(&term->list, head);
749 struct parse_events_term *term; variable
751 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_CONFIG,
[all …]
Dparse-events.l173 static int term(yyscan_t scanner, int type) in term() function
279 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); }
280 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
281 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); }
282 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); }
283 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); }
284 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); }
285 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); }
286 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); }
287 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); }
[all …]
Dpmu.c316 struct parse_events_term *term; in __perf_pmu__new_alias() local
349 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias()
353 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias()
355 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias()
356 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias()
358 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias()
501 struct parse_events_term *term, *cloned; in pmu_alias_terms() local
505 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms()
506 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms()
1031 static int pmu_resolve_param_term(struct parse_events_term *term, in pmu_resolve_param_term() argument
[all …]
Dbpf-loader.c855 bpf_map_op_setkey(struct bpf_map_op *op, struct parse_events_term *term) in bpf_map_op_setkey() argument
858 if (!term) in bpf_map_op_setkey()
861 if (term->array.nr_ranges) { in bpf_map_op_setkey()
862 size_t memsz = term->array.nr_ranges * in bpf_map_op_setkey()
865 op->k.array.ranges = memdup(term->array.ranges, memsz); in bpf_map_op_setkey()
871 op->k.array.nr_ranges = term->array.nr_ranges; in bpf_map_op_setkey()
877 bpf_map_op__new(struct parse_events_term *term) in bpf_map_op__new() argument
889 err = bpf_map_op_setkey(op, term); in bpf_map_op__new()
979 bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) in bpf_map__add_newop() argument
984 op = bpf_map_op__new(term); in bpf_map__add_newop()
[all …]
Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool() local
33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
Dparse-events.h146 int parse_events__is_hardcoded_term(struct parse_events_term *term);
147 int parse_events_term__num(struct parse_events_term **term,
151 int parse_events_term__str(struct parse_events_term **term,
154 int parse_events_term__sym_hw(struct parse_events_term **term,
157 struct parse_events_term *term);
158 void parse_events_term__delete(struct parse_events_term *term);
Dbpf-loader.h72 int bpf__config_obj(struct bpf_object *obj, struct parse_events_term *term,
75 struct parse_events_term *term,
121 struct parse_events_term *term __maybe_unused, in bpf__config_obj()
184 struct parse_events_term *term __maybe_unused, in bpf__strerror_config_obj()
Devsel.c875 struct evsel_config_term *term; in evsel__apply_config_terms() local
886 list_for_each_entry(term, config_terms, list) { in evsel__apply_config_terms()
887 switch (term->type) { in evsel__apply_config_terms()
889 if (!(term->weak && opts->user_interval != ULLONG_MAX)) { in evsel__apply_config_terms()
890 attr->sample_period = term->val.period; in evsel__apply_config_terms()
896 if (!(term->weak && opts->user_freq != UINT_MAX)) { in evsel__apply_config_terms()
897 attr->sample_freq = term->val.freq; in evsel__apply_config_terms()
903 if (term->val.time) in evsel__apply_config_terms()
909 callgraph_buf = term->val.str; in evsel__apply_config_terms()
912 if (term->val.str && strcmp(term->val.str, "no")) { in evsel__apply_config_terms()
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/
Dglossary.rst17 A :term:`Device Driver` that implements the main logic to talk with
39 An API designed to control a subset of the :term:`Media Hardware`
47 A specialized :term:`Microprocessor`, with its architecture
53 An :term:`IC` circuit designed to be configured by a customer or
59 A subset of the :term:`Media Hardware`. For example an :term:`I²C` or
60 :term:`SPI` device, or an :term:`IP Block` inside an
61 :term:`SoC` or :term:`FPGA`.
64 A group of :term:`hardware components <Hardware Component>` that
66 instance, the :term:`SoC` :term:`ISP` :term:`IP Block`
70 Also known as :term:`Peripheral`.
[all …]
/kernel/linux/linux-5.10/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.c72 char term; member
81 .term = '\r',
89 .term = '\r',
105 .term = ')',
113 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) in get_ipv6_addr() argument
116 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); in get_ipv6_addr()
123 int array_size, char sep, char term) in try_number() argument
140 if ((*data == term || !term) && i == array_size - 1) in try_number()
155 struct nf_conntrack_man *cmd, char term, in try_rfc959() argument
161 length = try_number(data, dlen, array, 6, ',', term); in try_rfc959()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Diwarp.h229 static inline u8 __rdmap_term_layer(struct iwarp_terminate *term) in __rdmap_term_layer() argument
231 return term->layer; in __rdmap_term_layer()
234 static inline void __rdmap_term_set_layer(struct iwarp_terminate *term, in __rdmap_term_set_layer() argument
237 term->layer = layer & 0xf; in __rdmap_term_set_layer()
240 static inline u8 __rdmap_term_etype(struct iwarp_terminate *term) in __rdmap_term_etype() argument
242 return term->etype; in __rdmap_term_etype()
245 static inline void __rdmap_term_set_etype(struct iwarp_terminate *term, in __rdmap_term_set_etype() argument
248 term->etype = etype & 0xf; in __rdmap_term_set_etype()
251 static inline u8 __rdmap_term_ecode(struct iwarp_terminate *term) in __rdmap_term_ecode() argument
253 return term->ecode; in __rdmap_term_ecode()
[all …]
Dsiw_qp.c391 struct iwarp_terminate *term = NULL; in siw_send_terminate() local
418 term = kzalloc(sizeof(*term), GFP_KERNEL); in siw_send_terminate()
419 if (!term) in siw_send_terminate()
422 term->ddp_qn = cpu_to_be32(RDMAP_UNTAGGED_QN_TERMINATE); in siw_send_terminate()
423 term->ddp_mo = 0; in siw_send_terminate()
424 term->ddp_msn = cpu_to_be32(1); in siw_send_terminate()
426 iov[0].iov_base = term; in siw_send_terminate()
427 iov[0].iov_len = sizeof(*term); in siw_send_terminate()
434 kfree(term); in siw_send_terminate()
438 memcpy(&term->ctrl, &iwarp_pktinfo[RDMAP_TERMINATE].ctrl, in siw_send_terminate()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c30 struct _aarch64_ctx *term; in validate_extra_context() local
36 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
37 if (!term || term->magic || term->size) { in validate_extra_context()
45 else if (extra->datap != (uint64_t)term + sizeof(*term)) in validate_extra_context()
/kernel/linux/linux-5.10/drivers/media/usb/uvc/
Duvc_driver.c1142 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local
1226 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control()
1228 if (term == NULL) in uvc_parse_standard_control()
1231 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control()
1232 term->camera.bControlSize = n; in uvc_parse_standard_control()
1233 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1234 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control()
1236 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control()
1238 term->camera.wOcularFocalLength = in uvc_parse_standard_control()
1240 memcpy(term->camera.bmControls, &buffer[15], n); in uvc_parse_standard_control()
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dmixer.c771 struct usb_audio_term *term);
774 struct usb_audio_term *term, in parse_term_uac1_iterm_unit() argument
779 term->type = le16_to_cpu(d->wTerminalType); in parse_term_uac1_iterm_unit()
780 term->channels = d->bNrChannels; in parse_term_uac1_iterm_unit()
781 term->chconfig = le16_to_cpu(d->wChannelConfig); in parse_term_uac1_iterm_unit()
782 term->name = d->iTerminal; in parse_term_uac1_iterm_unit()
787 struct usb_audio_term *term, in parse_term_uac2_iterm_unit() argument
794 err = __check_input_term(state, d->bCSourceID, term); in parse_term_uac2_iterm_unit()
801 term->id = id; in parse_term_uac2_iterm_unit()
802 term->type = le16_to_cpu(d->wTerminalType); in parse_term_uac2_iterm_unit()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-scaler.c149 int term = 1 << PSC_Q_FRACTION; in exp_approx_q() local
151 term = mult_q(term, div_q(x, 1 << PSC_Q_FRACTION)); in exp_approx_q()
152 sum += term; in exp_approx_q()
153 term = mult_q(term, div_q(x, 2 << PSC_Q_FRACTION)); in exp_approx_q()
154 sum += term; in exp_approx_q()
155 term = mult_q(term, div_q(x, 3 << PSC_Q_FRACTION)); in exp_approx_q()
156 sum += term; in exp_approx_q()
157 term = mult_q(term, div_q(x, 4 << PSC_Q_FRACTION)); in exp_approx_q()
158 sum += term; in exp_approx_q()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/Documentation/driver-api/thermal/
Dpower_allocator.rst102 thermal governor allows the configuration of two proportional term
103 constants: `k_po` and `k_pu`. `k_po` is the proportional term
106 proportional term constant during temperature undershoot periods
121 proportional term will be 2 * `sustainable_power`. The default value
131 The proportional term is proportional to the difference between the
156 Therefore, the proportional term alone linearly decreases power from
163 `k_i` configures the PID loop's integral term constant. This term
164 allows the PID controller to compensate for long term drift and for
168 integral term. This term is then multiplied by `k_i` and the result
175 `k_d` configures the PID loop's derivative term constant. It's
/kernel/linux/linux-5.10/drivers/spi/
Dspi-ar934x.c37 #define AR934X_SPI_SHIFT_VAL(cs, term, count) \ argument
39 (term) << AR934X_SPI_SHIFT_TERM | (count))
85 u8 term = 0; in ar934x_spi_transfer_one_message() local
113 term = 1; in ar934x_spi_transfer_one_message()
123 reg = AR934X_SPI_SHIFT_VAL(spi->chip_select, term, in ar934x_spi_transfer_one_message()
/kernel/linux/linux-5.10/tools/perf/tests/
Dparse-events.c599 struct parse_events_term *term; in test__checkterms_simple() local
602 term = list_entry(terms->next, struct parse_events_term, list); in test__checkterms_simple()
604 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG); in test__checkterms_simple()
606 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
607 TEST_ASSERT_VAL("wrong val", term->val.num == 10); in test__checkterms_simple()
608 TEST_ASSERT_VAL("wrong config", !term->config); in test__checkterms_simple()
611 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
613 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
615 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
616 TEST_ASSERT_VAL("wrong val", term->val.num == 1); in test__checkterms_simple()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dsc2731_charger.txt11 - charge-term-current-microamp: current for charge termination phase.
19 charge-term-current-microamp = <120000>;
/kernel/linux/linux-5.10/drivers/pwm/
Dpwm-ep93xx.c69 unsigned long term; in ep93xx_pwm_config() local
93 term = readw(base + EP93XX_PWMx_TERM_COUNT); in ep93xx_pwm_config()
96 if (period_cycles > term) { in ep93xx_pwm_config()

123456789