drivers/media/platform/st/sti/hva/hva-mem.h

Source file repositories/reference/linux-study-clean/drivers/media/platform/st/sti/hva/hva-mem.h

File Facts

System
Linux kernel
Corpus path
drivers/media/platform/st/sti/hva/hva-mem.h
Extension
.h
Size
717 bytes
Lines
35
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.

Dependency Surface

Detected Declarations

Annotated Snippet

struct hva_buffer {
	const char		*name;
	dma_addr_t		paddr;
	void			*vaddr;
	u32			size;
};

int hva_mem_alloc(struct hva_ctx *ctx,
		  __u32 size,
		  const char *name,
		  struct hva_buffer **buf);

void hva_mem_free(struct hva_ctx *ctx,
		  struct hva_buffer *buf);

#endif /* HVA_MEM_H */

Annotation

Implementation Notes