drivers/accel/amdxdna/amdxdna_ubuf.h

Source file repositories/reference/linux-study-clean/drivers/accel/amdxdna/amdxdna_ubuf.h

File Facts

System
Linux kernel
Corpus path
drivers/accel/amdxdna/amdxdna_ubuf.h
Extension
.h
Size
341 bytes
Lines
15
Domain
Driver Families
Bucket
drivers/accel
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

#ifndef _AMDXDNA_UBUF_H_
#define _AMDXDNA_UBUF_H_

#include <drm/drm_device.h>
#include <linux/dma-buf.h>

struct dma_buf *amdxdna_get_ubuf(struct drm_device *dev,
				 u32 num_entries, void __user *va_entries);

#endif /* _AMDXDNA_UBUF_H_ */

Annotation

Implementation Notes