Home
last modified time | relevance | path

Searched full:term (Results 1 – 25 of 574) sorted by relevance

12345678910>>...23

/Linux-v5.15/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 …]
/Linux-v5.15/tools/perf/util/
Dparse-events.c12 #include "term.h"
337 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument
339 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term()
344 struct parse_events_term *term; in get_config_name() local
349 list_for_each_entry(term, head_terms, list) in get_config_name()
350 if (parse_events__is_name_term(term)) in get_config_name()
351 return term->val.str; in get_config_name()
451 struct parse_events_term *term,
454 struct parse_events_term *term,
808 struct parse_events_term *term; in parse_events_config_bpf() local
[all …]
Dparse-events.y94 %type <term> event_term
95 %destructor { parse_events_term__delete ($$); } <term>
130 struct parse_events_term *term; member
733 struct parse_events_term *term = $3; variable
736 parse_events_term__delete(term);
739 list_add_tail(&term->list, head);
746 struct parse_events_term *term = $1; variable
750 list_add_tail(&term->list, head);
757 struct parse_events_term *term; variable
759 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_CONFIG,
[all …]
Dpmu.c320 struct parse_events_term *term; in __perf_pmu__new_alias() local
367 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias()
371 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias()
373 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias()
374 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias()
376 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias()
519 struct parse_events_term *term, *cloned; in pmu_alias_terms() local
523 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms()
524 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms()
1196 * Term is a string term, and might be a param-term. Try to look up it's value
[all …]
Dparse-events.l173 static int term(yyscan_t scanner, int type) in term() function
277 * Please update config_term_names when new static term is added.
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); }
[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.h147 int parse_events__is_hardcoded_term(struct parse_events_term *term);
148 int parse_events_term__num(struct parse_events_term **term,
152 int parse_events_term__str(struct parse_events_term **term,
155 int parse_events_term__sym_hw(struct parse_events_term **term,
158 struct parse_events_term *term);
159 void parse_events_term__delete(struct parse_events_term *term);
/Linux-v5.15/net/netfilter/
Dxt_repldata.h5 * 'entries' and 'term' are never anywhere referenced by word in code. In fact,
13 * struct type##_error term;
25 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 …]
/Linux-v5.15/drivers/infiniband/sw/siw/
Diwarp.h216 static inline u8 __rdmap_term_layer(struct iwarp_terminate *term) in __rdmap_term_layer() argument
218 return term->layer; in __rdmap_term_layer()
221 static inline void __rdmap_term_set_layer(struct iwarp_terminate *term, in __rdmap_term_set_layer() argument
224 term->layer = layer & 0xf; in __rdmap_term_set_layer()
227 static inline u8 __rdmap_term_etype(struct iwarp_terminate *term) in __rdmap_term_etype() argument
229 return term->etype; in __rdmap_term_etype()
232 static inline void __rdmap_term_set_etype(struct iwarp_terminate *term, in __rdmap_term_set_etype() argument
235 term->etype = etype & 0xf; in __rdmap_term_set_etype()
238 static inline u8 __rdmap_term_ecode(struct iwarp_terminate *term) in __rdmap_term_ecode() argument
240 return term->ecode; in __rdmap_term_ecode()
[all …]
Dsiw_qp.c375 siw_dbg_qp(qp, "init TERM: layer %d, type %d, code %d, in tx %s\n", in siw_init_terminate()
391 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()
[all …]
/Linux-v5.15/drivers/media/v4l2-core/
Dv4l2-h264.c99 /* Short term pics first. */ in v4l2_h264_p_ref_list_cmp()
107 * Short term pics in descending pic num order, long term ones in in v4l2_h264_p_ref_list_cmp()
134 /* Short term pics first. */ in v4l2_h264_b0_ref_list_cmp()
141 /* Long term pics in ascending pic num order. */ in v4l2_h264_b0_ref_list_cmp()
151 * Short term pics with POC < cur POC first in POC descending order in v4l2_h264_b0_ref_list_cmp()
152 * followed by short term pics with POC > cur POC in POC ascending in v4l2_h264_b0_ref_list_cmp()
179 /* Short term pics first. */ in v4l2_h264_b1_ref_list_cmp()
186 /* Long term pics in ascending pic num order. */ in v4l2_h264_b1_ref_list_cmp()
196 * Short term pics with POC > cur POC first in POC ascending order in v4l2_h264_b1_ref_list_cmp()
197 * followed by short term pics with POC < cur POC in POC descending in v4l2_h264_b1_ref_list_cmp()
/Linux-v5.15/Documentation/driver-api/thermal/
Dpower_allocator.rst104 thermal governor allows the configuration of two proportional term
105 constants: `k_po` and `k_pu`. `k_po` is the proportional term
108 proportional term constant during temperature undershoot periods
123 proportional term will be 2 * `sustainable_power`. The default value
133 The proportional term is proportional to the difference between the
158 Therefore, the proportional term alone linearly decreases power from
165 `k_i` configures the PID loop's integral term constant. This term
166 allows the PID controller to compensate for long term drift and for
170 integral term. This term is then multiplied by `k_i` and the result
177 `k_d` configures the PID loop's derivative term constant. It's
/Linux-v5.15/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-v5.15/drivers/macintosh/
Dwindfarm_pid.c39 /* Calculate error term */ in wf_pid_run()
56 /* Calculate integral term */ in wf_pid_run()
61 /* Calculate derivative term */ in wf_pid_run()
94 /* Calculate error term */ in wf_cpu_pid_run()
114 /* Calculate integral term */ in wf_cpu_pid_run()
124 /* Calculate derivative term */ in wf_cpu_pid_run()
130 /* Calculate proportional term */ in wf_cpu_pid_run()
/Linux-v5.15/sound/usb/
Dmixer.c777 struct usb_audio_term *term);
780 struct usb_audio_term *term, in parse_term_uac1_iterm_unit() argument
785 term->type = le16_to_cpu(d->wTerminalType); in parse_term_uac1_iterm_unit()
786 term->channels = d->bNrChannels; in parse_term_uac1_iterm_unit()
787 term->chconfig = le16_to_cpu(d->wChannelConfig); in parse_term_uac1_iterm_unit()
788 term->name = d->iTerminal; in parse_term_uac1_iterm_unit()
793 struct usb_audio_term *term, in parse_term_uac2_iterm_unit() argument
800 err = __check_input_term(state, d->bCSourceID, term); in parse_term_uac2_iterm_unit()
804 /* save input term properties after recursion, in parse_term_uac2_iterm_unit()
807 term->id = id; in parse_term_uac2_iterm_unit()
[all …]
/Linux-v5.15/drivers/media/usb/uvc/
Duvc_driver.c348 * Stop if the current term is bigger than or equal to the given in uvc_simplify_fraction()
1172 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local
1255 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control()
1257 if (term == NULL) in uvc_parse_standard_control()
1260 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control()
1261 term->camera.bControlSize = n; in uvc_parse_standard_control()
1262 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1263 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control()
1265 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control()
1267 term->camera.wOcularFocalLength = in uvc_parse_standard_control()
[all …]
/Linux-v5.15/tools/testing/selftests/arm64/signal/testcases/
Dtestcases.c30 struct _aarch64_ctx *term; in validate_extra_context() local
36 term = GET_RESV_NEXT_HEAD(extra); 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()
/Linux-v5.15/lib/math/
Drational-test.c16 { 1230, 10, 100, 20, 100, 1, "Exceeds bounds, semi-convergent term > 1/2 last term" },
17 { 34567,100, 120, 20, 120, 1, "Exceeds bounds, semi-convergent term < 1/2 last term" },
Drational.c49 * a is current term of the continued fraction. in rational_best_approximation()
62 /* Find next term in continued fraction, 'a', via in rational_best_approximation()
71 * convergent), n2/d2, using the term just found and in rational_best_approximation()
79 * largest semi-convergent, the final term of which is in rational_best_approximation()
/Linux-v5.15/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-v5.15/drivers/tty/hvc/
Dhvc_rtas.c71 rtascons_put_char_token = rtas_token("put-term-char"); in hvc_rtas_init()
76 rtascons_get_char_token = rtas_token("get-term-char"); in hvc_rtas_init()
97 rtascons_put_char_token = rtas_token("put-term-char"); in hvc_rtas_console_init()
101 rtascons_get_char_token = rtas_token("get-term-char"); in hvc_rtas_console_init()
/Linux-v5.15/drivers/net/slip/
DKconfig28 want to run term (term is a program which gives you almost full
31 <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP
/Linux-v5.15/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()
603 TEST_ASSERT_VAL("wrong type term", 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()
612 TEST_ASSERT_VAL("wrong type term", in test__checkterms_simple()
613 term->type_term == PARSE_EVENTS__TERM_TYPE_CONFIG1); in test__checkterms_simple()
[all …]

12345678910>>...23