drivers/media/platform/qcom/venus/hfi_msgs.h
Source file repositories/reference/linux-study-clean/drivers/media/platform/qcom/venus/hfi_msgs.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/qcom/venus/hfi_msgs.h- Extension
.h- Size
- 5818 bytes
- Lines
- 277
- 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
- No C-style include directives detected by the generator.
Detected Declarations
struct hfi_msg_event_notify_pktstruct hfi_msg_event_release_buffer_ref_pktstruct hfi_msg_sys_init_done_pktstruct hfi_msg_sys_pc_prep_done_pktstruct hfi_msg_sys_release_resource_done_pktstruct hfi_msg_session_init_done_pktstruct hfi_msg_session_end_done_pktstruct hfi_msg_session_get_sequence_hdr_done_pktstruct hfi_msg_sys_session_abort_done_pktstruct hfi_msg_sys_idle_pktstruct hfi_msg_sys_ping_ack_pktstruct hfi_msg_sys_property_info_pktstruct hfi_msg_session_load_resources_done_pktstruct hfi_msg_session_start_done_pktstruct hfi_msg_session_stop_done_pktstruct hfi_msg_session_suspend_done_pktstruct hfi_msg_session_resume_done_pktstruct hfi_msg_session_flush_done_pktstruct hfi_msg_session_empty_buffer_done_pktstruct hfi_msg_session_fbd_compressed_pktstruct hfi_msg_session_fbd_uncompressed_plane0_pktstruct hfi_msg_session_fbd_uncompressed_plane1_pktstruct hfi_msg_session_fbd_uncompressed_plane2_pktstruct hfi_msg_session_parse_sequence_header_done_pktstruct hfi_msg_session_property_info_pktstruct hfi_msg_session_release_resources_done_pktstruct hfi_msg_session_release_buffers_done_pktstruct hfi_msg_sys_debug_pktstruct hfi_msg_sys_coverage_pktstruct venus_corestruct hfi_pkt_hdr
Annotated Snippet
struct hfi_msg_event_notify_pkt {
struct hfi_session_hdr_pkt shdr;
u32 event_id;
u32 event_data1;
u32 event_data2;
u32 ext_event_data[];
};
struct hfi_msg_event_release_buffer_ref_pkt {
u32 packet_buffer;
u32 extradata_buffer;
u32 output_tag;
};
struct hfi_msg_sys_init_done_pkt {
struct hfi_pkt_hdr hdr;
u32 error_type;
u32 num_properties;
u32 data[];
};
struct hfi_msg_sys_pc_prep_done_pkt {
struct hfi_pkt_hdr hdr;
u32 error_type;
};
struct hfi_msg_sys_release_resource_done_pkt {
struct hfi_pkt_hdr hdr;
u32 resource_handle;
u32 error_type;
};
struct hfi_msg_session_init_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
u32 num_properties;
u32 data[];
};
struct hfi_msg_session_end_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
};
struct hfi_msg_session_get_sequence_hdr_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
u32 header_len;
u32 sequence_header;
};
struct hfi_msg_sys_session_abort_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
};
struct hfi_msg_sys_idle_pkt {
struct hfi_pkt_hdr hdr;
};
struct hfi_msg_sys_ping_ack_pkt {
struct hfi_pkt_hdr hdr;
u32 client_data;
};
struct hfi_msg_sys_property_info_pkt {
struct hfi_pkt_hdr hdr;
u32 num_properties;
u32 property;
u8 data[];
};
struct hfi_msg_session_load_resources_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
};
struct hfi_msg_session_start_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
};
struct hfi_msg_session_stop_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
};
struct hfi_msg_session_suspend_done_pkt {
struct hfi_session_hdr_pkt shdr;
u32 error_type;
Annotation
- Detected declarations: `struct hfi_msg_event_notify_pkt`, `struct hfi_msg_event_release_buffer_ref_pkt`, `struct hfi_msg_sys_init_done_pkt`, `struct hfi_msg_sys_pc_prep_done_pkt`, `struct hfi_msg_sys_release_resource_done_pkt`, `struct hfi_msg_session_init_done_pkt`, `struct hfi_msg_session_end_done_pkt`, `struct hfi_msg_session_get_sequence_hdr_done_pkt`, `struct hfi_msg_sys_session_abort_done_pkt`, `struct hfi_msg_sys_idle_pkt`.
- 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.