Home
last modified time | relevance | path

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

123456789

/linux/tools/perf/util/
A Dparse-events.y784 $$ = term;
797 $$ = term;
809 $$ = term;
821 $$ = term;
833 $$ = term;
842 $$ = term;
853 $$ = term;
861 $$ = term;
869 $$ = term;
884 $$ = term;
[all …]
A Dparse-events.c1324 term->val.num, term->weak); in get_config_terms()
1328 term->val.num ? 1 : 0, term->weak); in get_config_terms()
1332 term->val.num ? 0 : 1, term->weak); in get_config_terms()
1336 term->val.num, term->weak); in get_config_terms()
1340 term->val.num, term->weak); in get_config_terms()
1344 term->val.num ? 1 : 0, term->weak); in get_config_terms()
1348 term->val.num ? 0 : 1, term->weak); in get_config_terms()
1359 term->val.num ? 1 : 0, term->weak); in get_config_terms()
1363 term->val.num, term->weak); in get_config_terms()
1504 if (term && term->config && strcmp(term->config, "event")) { in parse_events__inside_hybrid_pmu()
[all …]
A Dparse-events.l177 static int term(yyscan_t scanner, int type) in term() function
283 config { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG); }
284 config1 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG1); }
285 config2 { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CONFIG2); }
286 name { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_NAME); }
288 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); }
290 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); }
293 max-stack { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_MAX_STACK); }
294 nr { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_MAX_EVENTS); }
295 inherit { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_INHERIT); }
[all …]
A Dpmu.c373 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias()
376 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias()
1264 if (term->used) in pmu_config_term()
1316 if (term->no_value && in pmu_config_term()
1326 val = term->val.num; in pmu_config_term()
1331 term->config, term->val.str); in pmu_config_term()
1412 if (term->val.num != 1) in pmu_find_alias()
1416 name = term->config; in pmu_find_alias()
1420 name = term->val.str; in pmu_find_alias()
1572 ",%s=%s", term->config, in format_alias()
[all …]
A Dbpf-loader.c858 if (!term) in bpf_map_op_setkey()
861 if (term->array.nr_ranges) { in bpf_map_op_setkey()
889 err = bpf_map_op_setkey(op, term); in bpf_map_op__new()
984 op = bpf_map_op__new(term); in bpf_map__add_newop()
998 struct parse_events_term *term) in __bpf_map__config_value() argument
1034 op->v.value = term->val.num; in __bpf_map__config_value()
1043 if (!term->err_val) { in bpf_map__config_value()
1058 struct parse_events_term *term, in __bpf_map__config_event() argument
1068 map_name, term->val.str); in __bpf_map__config_event()
1102 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.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);
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/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/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.c418 term = kzalloc(sizeof(*term), GFP_KERNEL); in siw_send_terminate()
419 if (!term) in siw_send_terminate()
423 term->ddp_mo = 0; in siw_send_terminate()
434 kfree(term); in siw_send_terminate()
456 term->flag_m = 1; in siw_send_terminate()
457 term->flag_d = 1; in siw_send_terminate()
553 term->flag_m = 1; in siw_send_terminate()
554 term->flag_d = 1; in siw_send_terminate()
560 if (term->flag_m || term->flag_d || term->flag_r) { in siw_send_terminate()
602 __rdmap_term_layer(term), __rdmap_term_etype(term), in siw_send_terminate()
[all …]
/linux/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.c72 char term; member
81 .term = '\r',
89 .term = '\r',
105 .term = ')',
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
226 char term, unsigned int *offset) in try_eprt() argument
274 struct nf_conntrack_man *cmd, char term, in try_epsv_response() argument
292 char skip, char term, in find_pattern() argument
[all …]
/linux/drivers/media/usb/uvc/
A Duvc_driver.c1256 if (term == NULL) in uvc_parse_standard_control()
1261 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1272 term->media.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control()
1274 term->media.bmTransportModes = (u8 *)term in uvc_parse_standard_control()
1315 if (term == NULL) in uvc_parse_standard_control()
1810 if (term == NULL || !UVC_ENTITY_IS_ITERM(term)) { in uvc_scan_chain_backward()
1817 if (term->chain.next || term->chain.prev) { in uvc_scan_chain_backward()
1820 term->id); in uvc_scan_chain_backward()
1869 entity = term; in uvc_scan_chain()
2060 if (term->chain.next || term->chain.prev) in uvc_scan_device()
[all …]
/linux/tools/testing/selftests/arm64/signal/testcases/
A 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/sound/usb/
A Dmixer.c805 term->id = id; in parse_term_uac2_iterm_unit()
828 term->id = id; in parse_term_uac3_iterm_unit()
834 term->channels = err; in parse_term_uac3_iterm_unit()
837 term->chconfig = 0; in parse_term_uac3_iterm_unit()
876 term->id = id; in parse_term_selector_unit()
898 term->id = id; in parse_term_proc_unit()
922 term->id = id; in parse_term_effect_unit()
933 term->id = id; in parse_term_uac2_clock_source()
945 term->id = id; in parse_term_uac3_clock_source()
975 term->id = id; in __check_input_term()
[all …]
/linux/include/drm/
A 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/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/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/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/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/drivers/net/can/dev/
A Ddev.c404 static int can_set_termination(struct net_device *ndev, u16 term) in can_set_termination() argument
409 if (term == priv->termination_gpio_ohms[CAN_TERMINATION_GPIO_ENABLED]) in can_set_termination()
424 u32 term; in can_get_termination() local
438 ret = device_property_read_u32(dev, "termination-ohms", &term); in can_get_termination()
445 if (term > U16_MAX) { in can_get_termination()
447 term, U16_MAX); in can_get_termination()
456 priv->termination_gpio_ohms[CAN_TERMINATION_GPIO_ENABLED] = term; in can_get_termination()
/linux/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
/linux/drivers/spi/
A 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()
/linux/tools/perf/tests/
A Dparse-events.c599 struct parse_events_term *term; in test__checkterms_simple() local
606 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
611 term = list_entry(term->list.next, struct parse_events_term, list); 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()
620 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
624 term->type_val == PARSE_EVENTS__TERM_TYPE_NUM); in test__checkterms_simple()
625 TEST_ASSERT_VAL("wrong val", term->val.num == 3); in test__checkterms_simple()
629 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
644 term = list_entry(term->list.next, struct parse_events_term, list); in test__checkterms_simple()
[all …]

Completed in 77 milliseconds

123456789