Home
last modified time | relevance | path

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

12345678910

/linux-6.3-rc2/tools/perf/util/
A Dparse-events.c1245 term->val.num, term->weak); in get_config_terms()
1249 term->val.num ? 1 : 0, term->weak); in get_config_terms()
1253 term->val.num ? 0 : 1, term->weak); in get_config_terms()
1257 term->val.num, term->weak); in get_config_terms()
1261 term->val.num, term->weak); in get_config_terms()
1265 term->val.num ? 1 : 0, term->weak); in get_config_terms()
1269 term->val.num ? 0 : 1, term->weak); in get_config_terms()
1280 term->val.num ? 1 : 0, term->weak); in get_config_terms()
1284 term->val.num, term->weak); in get_config_terms()
1436 if (term && term->config && strcmp(term->config, "event")) { in parse_events__inside_hybrid_pmu()
[all …]
A Dparse-events.y797 $$ = term;
810 $$ = term;
822 $$ = term;
834 $$ = term;
846 $$ = term;
855 $$ = term;
866 $$ = term;
874 $$ = term;
882 $$ = term;
897 $$ = term;
[all …]
A Dparse-events.l179 static int term(yyscan_t scanner, int type) in term() function
285 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); }
286 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
287 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); }
288 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); }
290 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); }
292 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); }
295 max-stack { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_MAX_STACK); }
296 nr { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_MAX_EVENTS); }
297 inherit { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_INHERIT); }
[all …]
A Dpmu.c378 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias()
381 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias()
1174 if (term->used) in pmu_config_term()
1226 if (term->no_value && in pmu_config_term()
1236 val = term->val.num; in pmu_config_term()
1241 term->config, term->val.str); in pmu_config_term()
1322 if (term->val.num != 1) in pmu_find_alias()
1326 name = term->config; in pmu_find_alias()
1330 name = term->val.str; in pmu_find_alias()
1478 ",%s=%s", term->config, in format_alias()
[all …]
A Dbpf-loader.c1214 if (!term) in bpf_map_op_setkey()
1217 if (term->array.nr_ranges) { in bpf_map_op_setkey()
1245 err = bpf_map_op_setkey(op, term); in bpf_map_op__new()
1340 op = bpf_map_op__new(term); in bpf_map__add_newop()
1354 struct parse_events_term *term) in __bpf_map__config_value() argument
1388 op->v.value = term->val.num; in __bpf_map__config_value()
1397 if (!term->err_val) { in bpf_map__config_value()
1412 struct parse_events_term *term, in __bpf_map__config_event() argument
1421 map_name, term->val.str); in __bpf_map__config_event()
1453 if (!term->err_val) { in bpf_map__config_event()
[all …]
A Dcolor_config.c32 char *term = getenv("TERM"); in perf_config_colorbool() local
33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
A Dparse-events.h135 int parse_events__is_hardcoded_term(struct parse_events_term *term);
136 int parse_events_term__num(struct parse_events_term **term,
140 int parse_events_term__str(struct parse_events_term **term,
143 int parse_events_term__sym_hw(struct parse_events_term **term,
146 struct parse_events_term *term);
147 void parse_events_term__delete(struct parse_events_term *term);
A Dbpf-loader.h75 int bpf__config_obj(struct bpf_object *obj, struct parse_events_term *term,
78 struct parse_events_term *term,
124 struct parse_events_term *term __maybe_unused, in bpf__config_obj()
187 struct parse_events_term *term __maybe_unused, in bpf__strerror_config_obj()
/linux-6.3-rc2/Documentation/userspace-api/media/
A Dglossary.rst59 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`.
66 instance, the :term:`SoC` :term:`ISP` :term:`IP Block`
70 Also known as :term:`Peripheral`.
113 - :term:`CEC API`;
114 - :term:`Digital TV API`;
115 - :term:`MC API`;
116 - :term:`RC API`; and
117 - :term:`V4L2 API`.
[all …]
/linux-6.3-rc2/lib/
A Dpolynomial.c81 const struct polynomial_term *term = poly->terms; in polynomial_calc() local
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.3-rc2/drivers/infiniband/sw/siw/
A 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 …]
A Dsiw_qp.c421 term = kzalloc(sizeof(*term), GFP_KERNEL); in siw_send_terminate()
422 if (!term) in siw_send_terminate()
426 term->ddp_mo = 0; in siw_send_terminate()
437 kfree(term); in siw_send_terminate()
459 term->flag_m = 1; in siw_send_terminate()
460 term->flag_d = 1; in siw_send_terminate()
556 term->flag_m = 1; in siw_send_terminate()
557 term->flag_d = 1; in siw_send_terminate()
563 if (term->flag_m || term->flag_d || term->flag_r) { in siw_send_terminate()
605 __rdmap_term_layer(term), __rdmap_term_etype(term), in siw_send_terminate()
[all …]
/linux-6.3-rc2/net/netfilter/
A 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; \
A Dnf_conntrack_ftp.c68 char term; member
77 .term = '\r',
85 .term = '\r',
101 .term = ')',
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
222 char term, unsigned int *offset) in try_eprt() argument
270 struct nf_conntrack_man *cmd, char term, in try_epsv_response() argument
288 char skip, char term, in find_pattern() argument
[all …]
/linux-6.3-rc2/drivers/media/usb/uvc/
A Duvc_driver.c985 if (term == NULL) in uvc_parse_standard_control()
990 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1001 term->media.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1003 term->media.bmTransportModes = (u8 *)term in uvc_parse_standard_control()
1044 if (term == NULL) in uvc_parse_standard_control()
1523 if (term == NULL || !UVC_ENTITY_IS_ITERM(term)) { in uvc_scan_chain_backward()
1530 if (term->chain.next || term->chain.prev) { in uvc_scan_chain_backward()
1533 term->id); in uvc_scan_chain_backward()
1582 entity = term; in uvc_scan_chain()
1774 if (term->chain.next || term->chain.prev) in uvc_scan_device()
[all …]
/linux-6.3-rc2/sound/usb/
A Dmixer.c806 term->id = id; in parse_term_uac2_iterm_unit()
829 term->id = id; in parse_term_uac3_iterm_unit()
835 term->channels = err; in parse_term_uac3_iterm_unit()
838 term->chconfig = 0; in parse_term_uac3_iterm_unit()
877 term->id = id; in parse_term_selector_unit()
899 term->id = id; in parse_term_proc_unit()
923 term->id = id; in parse_term_effect_unit()
934 term->id = id; in parse_term_uac2_clock_source()
946 term->id = id; in parse_term_uac3_clock_source()
976 term->id = id; in __check_input_term()
[all …]
/linux-6.3-rc2/include/drm/
A Ddrm_fixed.h192 s64 sum = DRM_FIXED_ONE, term, y = x; in drm_fixp_exp() local
198 term = y; in drm_fixp_exp()
200 while (term >= tolerance) { in drm_fixp_exp()
201 sum = sum + term; in drm_fixp_exp()
203 term = drm_fixp_mul(term, div64_s64(y, count)); in drm_fixp_exp()
/linux-6.3-rc2/tools/testing/selftests/arm64/signal/testcases/
A Dtestcases.c35 struct _aarch64_ctx *term; in validate_extra_context() local
41 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context()
42 if (!term || term->magic || term->size) { in validate_extra_context()
50 else if (extra->datap != (uint64_t)term + 0x10UL) in validate_extra_context()
/linux-6.3-rc2/Documentation/ABI/testing/
A 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-6.3-rc2/include/dt-bindings/usb/
A Dpd.h341 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
343 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \
346 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
348 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
350 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
352 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
/linux-6.3-rc2/include/linux/usb/
A Dpd_vdo.h364 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
366 | ((lat) & 0x7) << 13 | ((term) & 0x3) << 11 | (tx1d) << 10 \
369 #define VDO_PCABLE(hw, fw, ver, conn, lat, term, vbm, cur, spd) \ argument
371 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
373 #define VDO_ACABLE1(hw, fw, ver, conn, lat, term, vbm, sbu, sbut, cur, vbt, sopp, spd) \ argument
375 | ((conn) & 0x3) << 18 | ((lat) & 0xf) << 13 | ((term) & 0x3) << 11 \
/linux-6.3-rc2/drivers/gpu/drm/imx/dcss/
A Ddcss-scaler.c151 int term = 1 << PSC_Q_FRACTION; in exp_approx_q() local
153 term = mult_q(term, div_q(x, 1 << PSC_Q_FRACTION)); in exp_approx_q()
154 sum += term; in exp_approx_q()
155 term = mult_q(term, div_q(x, 2 << PSC_Q_FRACTION)); in exp_approx_q()
156 sum += term; in exp_approx_q()
157 term = mult_q(term, div_q(x, 3 << PSC_Q_FRACTION)); in exp_approx_q()
158 sum += term; in exp_approx_q()
159 term = mult_q(term, div_q(x, 4 << PSC_Q_FRACTION)); in exp_approx_q()
160 sum += term; in exp_approx_q()
/linux-6.3-rc2/drivers/spi/
A Dspi-ar934x.c37 #define AR934X_SPI_SHIFT_VAL(cs, term, count) \ argument
39 (term) << AR934X_SPI_SHIFT_TERM | (count))
85 u8 bpw, term = 0; in ar934x_spi_transfer_one_message() local
118 term = 1; in ar934x_spi_transfer_one_message()
128 reg = AR934X_SPI_SHIFT_VAL(spi->chip_select, term, in ar934x_spi_transfer_one_message()
/linux-6.3-rc2/drivers/net/can/dev/
A Ddev.c443 static int can_set_termination(struct net_device *ndev, u16 term) in can_set_termination() argument
448 if (term == priv->termination_gpio_ohms[CAN_TERMINATION_GPIO_ENABLED]) in can_set_termination()
463 u32 term; in can_get_termination() local
477 ret = device_property_read_u32(dev, "termination-ohms", &term); in can_get_termination()
484 if (term > U16_MAX) { in can_get_termination()
486 term, U16_MAX); in can_get_termination()
495 priv->termination_gpio_ohms[CAN_TERMINATION_GPIO_ENABLED] = term; in can_get_termination()
/linux-6.3-rc2/Documentation/driver-api/thermal/
A 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

Completed in 89 milliseconds

12345678910