Home
last modified time | relevance | path

Searched refs:feat_id (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/media/platform/verisilicon/
H A Dhantro_g2_vp9_dec.c392 unsigned char feat_id; in config_segment() local
420 feat_id = V4L2_VP9_SEG_LVL_ALT_Q; in config_segment()
424 update_feat_and_flag(vp9_ctx, seg, feat_id, segid); in config_segment()
425 if (v4l2_vp9_seg_feat_enabled(vp9_ctx->feature_enabled, feat_id, segid)) in config_segment()
427 vp9_ctx->feature_data[segid][feat_id], in config_segment()
430 hantro_reg_write(ctx->dev, &seg_regs[segid][feat_id], feat_val); in config_segment()
433 feat_id = V4L2_VP9_SEG_LVL_ALT_L; in config_segment()
437 update_feat_and_flag(vp9_ctx, seg, feat_id, segid); in config_segment()
438 if (v4l2_vp9_seg_feat_enabled(vp9_ctx->feature_enabled, feat_id, segid)) in config_segment()
440 vp9_ctx->feature_data[segid][feat_id], in config_segment()
[all …]
/linux/tools/lib/bpf/
H A Dfeatures.c591 bool feat_supported(struct kern_feature_cache *cache, enum kern_feature_id feat_id)
593 struct kern_feature_desc *feat = &feature_probes[feat_id];
600 if (READ_ONCE(cache->res[feat_id]) == FEAT_UNKNOWN) {
603 WRITE_ONCE(cache->res[feat_id], FEAT_SUPPORTED);
605 WRITE_ONCE(cache->res[feat_id], FEAT_MISSING);
608 WRITE_ONCE(cache->res[feat_id], FEAT_MISSING);
612 return READ_ONCE(cache->res[feat_id]) == FEAT_SUPPORTED;
561 feat_supported(struct kern_feature_cache * cache,enum kern_feature_id feat_id) feat_supported() argument
H A Dlibbpf_internal.h396 bool feat_supported(struct kern_feature_cache *cache, enum kern_feature_id feat_id);
397 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id);
H A Dlibbpf.c5014 bool kernel_supports(const struct bpf_object *obj, enum kern_feature_id feat_id) in kernel_supports() argument
5023 return feat_supported(obj->feat_cache, feat_id); in kernel_supports()
5025 return feat_supported(NULL, feat_id); in kernel_supports()
/linux/tools/lib/perf/include/perf/
H A Devent.h451 __u64 feat_id; member
/linux/tools/perf/
H A Dbuiltin-report.c246 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
249 if (event->feat.feat_id != HEADER_LAST_FEATURE) { in process_feature_event()
251 event->feat.feat_id); in process_feature_event()
H A Dbuiltin-annotate.c317 if (event->feat.feat_id < HEADER_LAST_FEATURE) in process_feature_event()
H A Dbuiltin-script.c3803 if (event->feat.feat_id < HEADER_LAST_FEATURE) in parse_insn_trace()
/linux/tools/perf/util/
H A Dsynthetic-events.c2329 fe->feat_id = feat; in perf_event__synthesize_features()
2342 fe->feat_id = HEADER_LAST_FEATURE; in perf_event__synthesize_features()
H A Dheader.c4333 u64 feat = fe->feat_id; in perf_event__process_feature()