drivers/media/platform/amphion/vpu_windsor.h
Source file repositories/reference/linux-study-clean/drivers/media/platform/amphion/vpu_windsor.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/media/platform/amphion/vpu_windsor.h- Extension
.h- Size
- 1674 bytes
- Lines
- 38
- 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
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef _AMPHION_VPU_WINDSOR_H
#define _AMPHION_VPU_WINDSOR_H
u32 vpu_windsor_get_data_size(void);
void vpu_windsor_init_rpc(struct vpu_shared_addr *shared,
struct vpu_buffer *rpc, dma_addr_t boot_addr);
void vpu_windsor_set_log_buf(struct vpu_shared_addr *shared, struct vpu_buffer *log);
void vpu_windsor_set_system_cfg(struct vpu_shared_addr *shared,
u32 regs_base, void __iomem *regs, u32 core_id);
int vpu_windsor_get_stream_buffer_size(struct vpu_shared_addr *shared);
int vpu_windsor_pack_cmd(struct vpu_rpc_event *pkt, u32 index, u32 id, void *data);
int vpu_windsor_convert_msg_id(u32 msg_id);
int vpu_windsor_unpack_msg_data(struct vpu_rpc_event *pkt, void *data);
int vpu_windsor_config_memory_resource(struct vpu_shared_addr *shared,
u32 instance, u32 type, u32 index,
struct vpu_buffer *buf);
int vpu_windsor_config_stream_buffer(struct vpu_shared_addr *shared,
u32 instance, struct vpu_buffer *buf);
int vpu_windsor_update_stream_buffer(struct vpu_shared_addr *shared,
u32 instance, u32 ptr, bool write);
int vpu_windsor_get_stream_buffer_desc(struct vpu_shared_addr *shared,
u32 instance, struct vpu_rpc_buffer_desc *desc);
u32 vpu_windsor_get_version(struct vpu_shared_addr *shared);
int vpu_windsor_set_encode_params(struct vpu_shared_addr *shared,
u32 instance,
struct vpu_encode_params *params,
u32 update);
int vpu_windsor_input_frame(struct vpu_shared_addr *shared,
struct vpu_inst *inst, struct vb2_buffer *vb);
u32 vpu_windsor_get_max_instance_count(struct vpu_shared_addr *shared);
#endif
Annotation
- 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.