Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.8/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-6.8/tools/perf/util/
Dparse-events.c10 #include "term.h"
160 struct parse_events_term *term; in get_config_str() local
165 list_for_each_entry(term, &head_terms->terms, list) in get_config_str()
166 if (term->type_term == type_term) in get_config_str()
167 return term->val.str; in get_config_str()
183 * fix_raw - For each raw term see if there is an event (aka alias) in pmu that
185 * event then change the term to be an event, if not then change it to
186 * be a config term. For example, "read" may be an event of the PMU or
190 * @config_terms: the list of terms that may contain a raw term.
195 struct parse_events_term *term; in fix_raw() local
[all …]
Dparse-events.y83 %type <term> event_term
84 %destructor { parse_events_term__delete ($$); } <term>
117 struct parse_events_term *term; member
648 struct parse_events_term *term = $3; variable
651 parse_events_term__delete(term);
654 list_add_tail(&term->list, &head->terms);
661 struct parse_events_term *term = $1; variable
666 list_add_tail(&term->list, &head->terms);
675 struct parse_events_term *term; variable
676 int err = parse_events_term__str(&term, PARSE_EVENTS__TERM_TYPE_RAW,
[all …]
Dparse-events.h86 /** @list: The term list the term is a part of. */
89 * @config: The left-hand side of a term assignment, so the term
94 * @val: The right-hand side of a term assignment that can either be a
101 /** @type_val: The union variable in val to be used for the term. */
104 * @type_term: A predefined term type or PARSE_EVENTS__TERM_TYPE_USER
109 * @err_term: The column index of the term from parsing, used during
118 /** @used: Was the term used during parameterized-eval. */
121 * @weak: A term from the sysfs or json encoding of an event that
126 * @no_value: Is there no value. If a numeric term has no value then the
154 /* Holds returned terms for term parsing. */
[all …]
Dparse-events.l119 static int term(yyscan_t scanner, enum parse_events__term_type type) in term() function
226 * Please update config_term_names when new static term is added.
228 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); }
229 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
230 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); }
231 config3 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG3); }
232 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); }
233 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); }
234 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); }
235 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); }
[all …]
Dpmu.c662 struct parse_events_term *term, *cloned; in pmu_alias_terms() local
666 list_for_each_entry(term, &alias->terms.terms, list) { in pmu_alias_terms()
667 int ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms()
1106 * by passing a config term on the command line.
1117 struct evsel_config_term *term = evsel__get_config_term(evsel, CFG_CHG); in evsel__set_config_if_unset() local
1119 if (term) in evsel__set_config_if_unset()
1120 user_bits = term->val.cfg_chg; in evsel__set_config_if_unset()
1205 * Term is a string term, and might be a param-term. Try to look up it's value
1207 * - We have a term like "base-or-format-term=param-term",
1208 * - We need to find the value supplied for "param-term" (with param-term named
[all …]
Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool() local
33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
/linux-6.8/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.c68 char term; member
77 .term = '\r',
85 .term = '\r',
101 .term = ')',
109 get_ipv6_addr(const char *src, size_t dlen, struct in6_addr *dst, u_int8_t term) in get_ipv6_addr() argument
112 int ret = in6_pton(src, min_t(size_t, dlen, 0xffff), (u8 *)dst, term, &end); in get_ipv6_addr()
119 int array_size, char sep, char term) in try_number() argument
136 if ((*data == term || !term) && i == array_size - 1) in try_number()
151 struct nf_conntrack_man *cmd, char term, in try_rfc959() argument
157 length = try_number(data, dlen, array, 6, ',', term); in try_rfc959()
[all …]
/linux-6.8/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.c378 siw_dbg_qp(qp, "init TERM: layer %d, type %d, code %d, in tx %s\n", in siw_init_terminate()
394 struct iwarp_terminate *term = NULL; in siw_send_terminate() local
421 term = kzalloc(sizeof(*term), GFP_KERNEL); in siw_send_terminate()
422 if (!term) in siw_send_terminate()
425 term->ddp_qn = cpu_to_be32(RDMAP_UNTAGGED_QN_TERMINATE); in siw_send_terminate()
426 term->ddp_mo = 0; in siw_send_terminate()
427 term->ddp_msn = cpu_to_be32(1); in siw_send_terminate()
429 iov[0].iov_base = term; in siw_send_terminate()
430 iov[0].iov_len = sizeof(*term); in siw_send_terminate()
437 kfree(term); in siw_send_terminate()
[all …]
/linux-6.8/lib/
Dpolynomial.c81 const struct polynomial_term *term = poly->terms; in polynomial_calc() local
89 * We walk over each degree term up to the free one, and perform in polynomial_calc()
90 * the redistributed multiplication of the term coefficient, its in polynomial_calc()
97 tmp = term->coef; in polynomial_calc()
98 for (deg = 0; deg < term->deg; ++deg) in polynomial_calc()
99 tmp = mult_frac(tmp, data, term->divider); in polynomial_calc()
100 ret += tmp / term->divider_leftover; in polynomial_calc()
101 } while ((term++)->deg); in polynomial_calc()
/linux-6.8/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-6.8/drivers/pinctrl/intel/
Dpinctrl-tangier.c275 u32 value, term; in tng_config_get() local
283 term = (value & BUFCFG_PUPD_VAL_MASK) >> BUFCFG_PUPD_VAL_SHIFT; in tng_config_get()
295 switch (term) { in tng_config_get()
316 switch (term) { in tng_config_get()
361 u32 mask, term, value = 0; in tng_config_set_pin() local
371 term = BUFCFG_PUPD_VAL_50K; in tng_config_set_pin()
375 term = BUFCFG_PUPD_VAL_20K; in tng_config_set_pin()
378 term = BUFCFG_PUPD_VAL_2K; in tng_config_set_pin()
381 term = BUFCFG_PUPD_VAL_910; in tng_config_set_pin()
388 value = BUFCFG_PU_EN | (term << BUFCFG_PUPD_VAL_SHIFT); in tng_config_set_pin()
[all …]
/linux-6.8/include/linux/
Dpolynomial.h10 * struct polynomial_term - one term descriptor of a polynomial
11 * @deg: degree of the term.
12 * @coef: multiplication factor of the term.
26 * @terms: polynomial terms, last term must have degree of 0
/linux-6.8/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
Dsysfs-class-thermal122 The derivative term of the power allocator governor's PID
130 The integral term of the power allocator governor's PID
131 controller. This term allows the PID controller to compensate
132 for long term drift. For more information see
139 The proportional term of the power allocator governor's PID
149 The proportional term of the power allocator governor's PID
160 above which the integral term of the power allocator
162 example, if integral_cutoff is 0, then the integral term only
/linux-6.8/drivers/media/v4l2-core/
Dv4l2-h264.c65 * For long term references, frame_num is set to in v4l2_h264_init_reflist_builder()
139 /* Short term pics first. */ in v4l2_h264_p_ref_list_cmp()
147 * For frames, short term pics are in descending pic num order and long in v4l2_h264_p_ref_list_cmp()
148 * term ones in ascending order. For fields, the same direction is used in v4l2_h264_p_ref_list_cmp()
178 /* Short term pics first. */ in v4l2_h264_b0_ref_list_cmp()
185 /* Long term pics in ascending frame num order. */ in v4l2_h264_b0_ref_list_cmp()
195 * Short term pics with POC < cur POC first in POC descending order in v4l2_h264_b0_ref_list_cmp()
196 * followed by short term pics with POC > cur POC in POC ascending in v4l2_h264_b0_ref_list_cmp()
223 /* Short term pics first. */ in v4l2_h264_b1_ref_list_cmp()
230 /* Long term pics in ascending frame num order. */ in v4l2_h264_b1_ref_list_cmp()
[all …]
/linux-6.8/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-6.8/sound/usb/
Dmixer.c776 struct usb_audio_term *term);
779 struct usb_audio_term *term, in parse_term_uac1_iterm_unit() argument
784 term->type = le16_to_cpu(d->wTerminalType); in parse_term_uac1_iterm_unit()
785 term->channels = d->bNrChannels; in parse_term_uac1_iterm_unit()
786 term->chconfig = le16_to_cpu(d->wChannelConfig); in parse_term_uac1_iterm_unit()
787 term->name = d->iTerminal; in parse_term_uac1_iterm_unit()
792 struct usb_audio_term *term, in parse_term_uac2_iterm_unit() argument
799 err = __check_input_term(state, d->bCSourceID, term); in parse_term_uac2_iterm_unit()
803 /* save input term properties after recursion, in parse_term_uac2_iterm_unit()
806 term->id = id; in parse_term_uac2_iterm_unit()
[all …]
/linux-6.8/drivers/media/usb/uvc/
Duvc_driver.c924 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local
1008 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control()
1010 if (term == NULL) in uvc_parse_standard_control()
1013 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control()
1014 term->camera.bControlSize = n; in uvc_parse_standard_control()
1015 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1016 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control()
1018 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control()
1020 term->camera.wOcularFocalLength = in uvc_parse_standard_control()
1022 memcpy(term->camera.bmControls, &buffer[15], n); in uvc_parse_standard_control()
[all …]
/linux-6.8/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" },
/linux-6.8/include/drm/
Ddrm_fixed.h198 s64 sum = DRM_FIXED_ONE, term, y = x; in drm_fixp_exp() local
204 term = y; in drm_fixp_exp()
206 while (term >= tolerance) { in drm_fixp_exp()
207 sum = sum + term; in drm_fixp_exp()
209 term = drm_fixp_mul(term, div64_s64(y, count)); in drm_fixp_exp()
/linux-6.8/drivers/tty/hvc/
Dhvc_rtas.c72 rtascons_put_char_token = rtas_token("put-term-char"); in hvc_rtas_init()
77 rtascons_get_char_token = rtas_token("get-term-char"); in hvc_rtas_init()
98 rtascons_put_char_token = rtas_token("put-term-char"); in hvc_rtas_console_init()
102 rtascons_get_char_token = rtas_token("get-term-char"); in hvc_rtas_console_init()
/linux-6.8/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

12345678910>>...28