/linux-6.1.9/tools/perf/util/ |
D | parse-events.c | 215 struct parse_events_term *term; in get_config_str() local 220 list_for_each_entry(term, head_terms, list) in get_config_str() 221 if (term->type_term == type_term) in get_config_str() 222 return term->val.str; in get_config_str() 347 struct parse_events_term *term, 350 struct parse_events_term *term, 709 struct parse_events_term *term; in parse_events_config_bpf() local 715 list_for_each_entry(term, head_config, list) { in parse_events_config_bpf() 718 if (term->type_term != PARSE_EVENTS__TERM_TYPE_USER) { in parse_events_config_bpf() 719 parse_events_error__handle(parse_state->error, term->err_term, in parse_events_config_bpf() [all …]
|
D | parse-events.y | 94 %type <term> event_term 95 %destructor { parse_events_term__delete ($$); } <term> 130 struct parse_events_term *term; member 769 struct parse_events_term *term = $3; variable 772 parse_events_term__delete(term); 775 list_add_tail(&term->list, head); 782 struct parse_events_term *term = $1; variable 786 list_add_tail(&term->list, head); 793 struct parse_events_term *term; variable 795 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_CONFIG, [all …]
|
D | parse-events.l | 179 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); } 289 period { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_PERIOD); } 290 freq { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_SAMPLE_FREQ); } 291 branch_type { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_BRANCH_SAMPLE_TYPE); } 292 time { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_TIME); } 293 call-graph { return term(yyscanner, PARSE_EVENTS__TERM_TYPE_CALLGRAPH); } [all …]
|
D | pmu.c | 320 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() 1176 static int pmu_resolve_param_term(struct parse_events_term *term, in pmu_resolve_param_term() argument [all …]
|
D | bpf-loader.c | 1216 bpf_map_op_setkey(struct bpf_map_op *op, struct parse_events_term *term) in bpf_map_op_setkey() argument 1219 if (!term) in bpf_map_op_setkey() 1222 if (term->array.nr_ranges) { in bpf_map_op_setkey() 1223 size_t memsz = term->array.nr_ranges * in bpf_map_op_setkey() 1226 op->k.array.ranges = memdup(term->array.ranges, memsz); in bpf_map_op_setkey() 1232 op->k.array.nr_ranges = term->array.nr_ranges; in bpf_map_op_setkey() 1238 bpf_map_op__new(struct parse_events_term *term) in bpf_map_op__new() argument 1250 err = bpf_map_op_setkey(op, term); in bpf_map_op__new() 1340 bpf_map__add_newop(struct bpf_map *map, struct parse_events_term *term) in bpf_map__add_newop() argument 1345 op = bpf_map_op__new(term); in bpf_map__add_newop() [all …]
|
D | color_config.c | 32 char *term = getenv("TERM"); in perf_config_colorbool() local 33 if (term && strcmp(term, "dumb")) in perf_config_colorbool()
|
D | parse-events.h | 136 int parse_events__is_hardcoded_term(struct parse_events_term *term); 137 int parse_events_term__num(struct parse_events_term **term, 141 int parse_events_term__str(struct parse_events_term **term, 144 int parse_events_term__sym_hw(struct parse_events_term **term, 147 struct parse_events_term *term); 148 void parse_events_term__delete(struct parse_events_term *term);
|
D | bpf-loader.h | 75 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.1.9/Documentation/userspace-api/media/ |
D | glossary.rst | 17 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.1.9/lib/ |
D | polynomial.c | 81 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.1.9/drivers/infiniband/sw/siw/ |
D | iwarp.h | 216 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 …]
|
D | siw_qp.c | 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() 438 memcpy(&term->ctrl, &iwarp_pktinfo[RDMAP_TERMINATE].ctrl, in siw_send_terminate() [all …]
|
/linux-6.1.9/net/netfilter/ |
D | xt_repldata.h | 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; \
|
D | nf_conntrack_ftp.c | 68 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.1.9/drivers/media/usb/uvc/ |
D | uvc_driver.c | 900 struct uvc_entity *unit, *term; in uvc_parse_standard_control() local 983 term = uvc_alloc_entity(type | UVC_TERM_INPUT, buffer[3], in uvc_parse_standard_control() 985 if (term == NULL) in uvc_parse_standard_control() 988 if (UVC_ENTITY_TYPE(term) == UVC_ITT_CAMERA) { in uvc_parse_standard_control() 989 term->camera.bControlSize = n; in uvc_parse_standard_control() 990 term->camera.bmControls = (u8 *)term + sizeof(*term); in uvc_parse_standard_control() 991 term->camera.wObjectiveFocalLengthMin = in uvc_parse_standard_control() 993 term->camera.wObjectiveFocalLengthMax = in uvc_parse_standard_control() 995 term->camera.wOcularFocalLength = in uvc_parse_standard_control() 997 memcpy(term->camera.bmControls, &buffer[15], n); in uvc_parse_standard_control() [all …]
|
/linux-6.1.9/sound/usb/ |
D | mixer.c | 776 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() 806 term->id = id; in parse_term_uac2_iterm_unit() 807 term->type = le16_to_cpu(d->wTerminalType); in parse_term_uac2_iterm_unit() [all …]
|
/linux-6.1.9/include/drm/ |
D | drm_fixed.h | 191 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-6.1.9/tools/testing/selftests/arm64/signal/testcases/ |
D | testcases.c | 31 struct _aarch64_ctx *term; in validate_extra_context() local 37 term = GET_RESV_NEXT_HEAD(&extra->head); in validate_extra_context() 38 if (!term || term->magic || term->size) { in validate_extra_context() 46 else if (extra->datap != (uint64_t)term + 0x10UL) in validate_extra_context()
|
/linux-6.1.9/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-events | 42 <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.1.9/include/dt-bindings/usb/ |
D | pd.h | 341 #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.1.9/include/linux/usb/ |
D | pd_vdo.h | 364 #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.1.9/drivers/gpu/drm/imx/dcss/ |
D | dcss-scaler.c | 151 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.1.9/drivers/spi/ |
D | spi-ar934x.c | 37 #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.1.9/drivers/net/can/dev/ |
D | dev.c | 443 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.1.9/Documentation/driver-api/thermal/ |
D | power_allocator.rst | 104 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
|