drivers/media/test-drivers/visl/visl-trace-fwht.h
Source file repositories/reference/linux-study-clean/drivers/media/test-drivers/visl/visl-trace-fwht.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/test-drivers/visl/visl-trace-fwht.h- Extension
.h- Size
- 2368 bytes
- Lines
- 67
- Domain
- Driver Families
- Bucket
- drivers/media
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/tracepoint.hvisl.htrace/define_trace.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#if !defined(_VISL_TRACE_FWHT_H_) || defined(TRACE_HEADER_MULTI_READ)
#define _VISL_TRACE_FWHT_H_
#include <linux/tracepoint.h>
#include "visl.h"
#undef TRACE_SYSTEM
#define TRACE_SYSTEM visl_fwht_controls
DECLARE_EVENT_CLASS(v4l2_ctrl_fwht_params_tmpl,
TP_PROTO(const struct v4l2_ctrl_fwht_params *p),
TP_ARGS(p),
TP_STRUCT__entry(
__field(u64, backward_ref_ts)
__field(u32, version)
__field(u32, width)
__field(u32, height)
__field(u32, flags)
__field(u32, colorspace)
__field(u32, xfer_func)
__field(u32, ycbcr_enc)
__field(u32, quantization)
),
TP_fast_assign(
__entry->backward_ref_ts = p->backward_ref_ts;
__entry->version = p->version;
__entry->width = p->width;
__entry->height = p->height;
__entry->flags = p->flags;
__entry->colorspace = p->colorspace;
__entry->xfer_func = p->xfer_func;
__entry->ycbcr_enc = p->ycbcr_enc;
__entry->quantization = p->quantization;
),
TP_printk("backward_ref_ts %llu version %u width %u height %u flags %s colorspace %u xfer_func %u ycbcr_enc %u quantization %u",
__entry->backward_ref_ts, __entry->version, __entry->width, __entry->height,
__print_flags(__entry->flags, "|",
{V4L2_FWHT_FL_IS_INTERLACED, "IS_INTERLACED"},
{V4L2_FWHT_FL_IS_BOTTOM_FIRST, "IS_BOTTOM_FIRST"},
{V4L2_FWHT_FL_IS_ALTERNATE, "IS_ALTERNATE"},
{V4L2_FWHT_FL_IS_BOTTOM_FIELD, "IS_BOTTOM_FIELD"},
{V4L2_FWHT_FL_LUMA_IS_UNCOMPRESSED, "LUMA_IS_UNCOMPRESSED"},
{V4L2_FWHT_FL_CB_IS_UNCOMPRESSED, "CB_IS_UNCOMPRESSED"},
{V4L2_FWHT_FL_CR_IS_UNCOMPRESSED, "CR_IS_UNCOMPRESSED"},
{V4L2_FWHT_FL_ALPHA_IS_UNCOMPRESSED, "ALPHA_IS_UNCOMPRESSED"},
{V4L2_FWHT_FL_I_FRAME, "I_FRAME"},
{V4L2_FWHT_FL_PIXENC_HSV, "PIXENC_HSV"},
{V4L2_FWHT_FL_PIXENC_RGB, "PIXENC_RGB"},
{V4L2_FWHT_FL_PIXENC_YUV, "PIXENC_YUV"}),
__entry->colorspace, __entry->xfer_func, __entry->ycbcr_enc,
__entry->quantization)
);
DEFINE_EVENT(v4l2_ctrl_fwht_params_tmpl, v4l2_ctrl_fwht_params,
TP_PROTO(const struct v4l2_ctrl_fwht_params *p),
TP_ARGS(p)
);
#endif
#undef TRACE_INCLUDE_PATH
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_PATH ../../drivers/media/test-drivers/visl
#define TRACE_INCLUDE_FILE visl-trace-fwht
#include <trace/define_trace.h>
Annotation
- Immediate include surface: `linux/tracepoint.h`, `visl.h`, `trace/define_trace.h`.
- Atlas domain: Driver Families / drivers/media.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.