| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/tools/perf/util/ |
| D | parse-events.c | 10 #include "term.h" 158 struct parse_events_term *term; in get_config_str() local 163 list_for_each_entry(term, head_terms, list) in get_config_str() 164 if (term->type_term == type_term) in get_config_str() 165 return term->val.str; in get_config_str() 181 * fix_raw - For each raw term see if there is an event (aka alias) in pmu that 183 * event then change the term to be an event, if not then change it to 184 * be a config term. For example, "read" may be an event of the PMU or 188 * @config_terms: the list of terms that may contain a raw term. 193 struct parse_events_term *term; in fix_raw() local [all …]
|
| D | parse-events.y | 84 %type <term> event_term 85 %destructor { parse_events_term__delete ($$); } <term> 117 struct parse_events_term *term; member 659 struct parse_events_term *term = $3; variable 662 parse_events_term__delete(term); 665 list_add_tail(&term->list, head); 672 struct parse_events_term *term = $1; variable 677 list_add_tail(&term->list, head); 686 struct parse_events_term *term; variable 687 int err = parse_events_term__str(&term, PARSE_EVENTS__TERM_TYPE_RAW, [all …]
|
| D | parse-events.h | 87 /** @list: The term list the term is a part of. */ 90 * @config: The left-hand side of a term assignment, so the term 95 * @val: The right-hand side of a term assignment that can either be a 102 /** @type_val: The union variable in val to be used for the term. */ 105 * @type_term: A predefined term type or PARSE_EVENTS__TERM_TYPE_USER 110 * @err_term: The column index of the term from parsing, used during 119 /** @used: Was the term used during parameterized-eval. */ 122 * @weak: A term from the sysfs or json encoding of an event that 127 * @no_value: Is there no value. If a numeric term has no value then the 150 /* Holds returned terms for term parsing. */ [all …]
|
| D | parse-events.l | 119 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 …]
|
| D | pmu.c | 702 struct parse_events_term *term, *cloned; in pmu_alias_terms() local 706 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms() 707 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms() 1154 * by passing a config term on the command line. 1165 struct evsel_config_term *term = evsel__get_config_term(evsel, CFG_CHG); in evsel__set_config_if_unset() local 1167 if (term) in evsel__set_config_if_unset() 1168 user_bits = term->val.cfg_chg; in evsel__set_config_if_unset() 1253 * Term is a string term, and might be a param-term. Try to look up it's value 1255 * - We have a term like "base-or-format-term=param-term", 1256 * - We need to find the value supplied for "param-term" (with param-term named [all …]
|
| /kernel/linux/linux-5.10/tools/perf/util/ |
| D | parse-events.y | 93 %type <term> event_term 94 %destructor { parse_events_term__delete ($$); } <term> 129 struct parse_events_term *term; member 725 struct parse_events_term *term = $3; variable 728 parse_events_term__delete(term); 731 list_add_tail(&term->list, head); 738 struct parse_events_term *term = $1; variable 742 list_add_tail(&term->list, head); 749 struct parse_events_term *term; variable 751 ABORT_ON(parse_events_term__num(&term, PARSE_EVENTS__TERM_TYPE_CONFIG, [all …]
|
| D | parse-events.c | 12 #include "term.h" 328 static int parse_events__is_name_term(struct parse_events_term *term) in parse_events__is_name_term() argument 330 return term->type_term == PARSE_EVENTS__TERM_TYPE_NAME; in parse_events__is_name_term() 335 struct parse_events_term *term; in get_config_name() local 340 list_for_each_entry(term, head_terms, list) in get_config_name() 341 if (parse_events__is_name_term(term)) in get_config_name() 342 return term->val.str; in get_config_name() 445 struct parse_events_term *term, 448 struct parse_events_term *term, 789 struct parse_events_term *term; in parse_events_config_bpf() local [all …]
|
| D | pmu.c | 316 struct parse_events_term *term; in __perf_pmu__new_alias() local 349 list_for_each_entry(term, &alias->terms, list) { in __perf_pmu__new_alias() 353 if (term->type_val == PARSE_EVENTS__TERM_TYPE_NUM) in __perf_pmu__new_alias() 355 "%s=%#x", term->config, term->val.num); in __perf_pmu__new_alias() 356 else if (term->type_val == PARSE_EVENTS__TERM_TYPE_STR) in __perf_pmu__new_alias() 358 "%s=%s", term->config, term->val.str); in __perf_pmu__new_alias() 501 struct parse_events_term *term, *cloned; in pmu_alias_terms() local 505 list_for_each_entry(term, &alias->terms, list) { in pmu_alias_terms() 506 ret = parse_events_term__clone(&cloned, term); in pmu_alias_terms() 1025 * Term is a string term, and might be a param-term. Try to look up it's value [all …]
|
| D | parse-events.l | 173 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 …]
|
| D | bpf-loader.c | 855 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 …]
|
| /kernel/linux/linux-6.6/net/netfilter/ |
| D | xt_repldata.h | 5 * '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; \
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | xt_repldata.h | 5 * '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; \
|
| /kernel/linux/linux-6.6/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 | 378 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 …]
|
| /kernel/linux/linux-5.10/drivers/infiniband/sw/siw/ |
| D | iwarp.h | 229 static inline u8 __rdmap_term_layer(struct iwarp_terminate *term) in __rdmap_term_layer() argument 231 return term->layer; in __rdmap_term_layer() 234 static inline void __rdmap_term_set_layer(struct iwarp_terminate *term, in __rdmap_term_set_layer() argument 237 term->layer = layer & 0xf; in __rdmap_term_set_layer() 240 static inline u8 __rdmap_term_etype(struct iwarp_terminate *term) in __rdmap_term_etype() argument 242 return term->etype; in __rdmap_term_etype() 245 static inline void __rdmap_term_set_etype(struct iwarp_terminate *term, in __rdmap_term_set_etype() argument 248 term->etype = etype & 0xf; in __rdmap_term_set_etype() 251 static inline u8 __rdmap_term_ecode(struct iwarp_terminate *term) in __rdmap_term_ecode() argument 253 return term->ecode; in __rdmap_term_ecode() [all …]
|
| D | siw_qp.c | 375 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 …]
|
| /kernel/linux/linux-6.6/lib/ |
| D | polynomial.c | 81 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()
|
| /kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
| D | v4l2-h264.c | 99 /* 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()
|
| /kernel/linux/linux-5.10/Documentation/driver-api/thermal/ |
| D | power_allocator.rst | 102 thermal governor allows the configuration of two proportional term 103 constants: `k_po` and `k_pu`. `k_po` is the proportional term 106 proportional term constant during temperature undershoot periods 121 proportional term will be 2 * `sustainable_power`. The default value 131 The proportional term is proportional to the difference between the 156 Therefore, the proportional term alone linearly decreases power from 163 `k_i` configures the PID loop's integral term constant. This term 164 allows the PID controller to compensate for long term drift and for 168 integral term. This term is then multiplied by `k_i` and the result 175 `k_d` configures the PID loop's derivative term constant. It's
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | polynomial.h | 10 * 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
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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
|