drivers/gpu/drm/verisilicon/vs_crtc.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/verisilicon/vs_crtc.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/verisilicon/vs_crtc.h
Extension
.h
Size
606 bytes
Lines
32
Domain
Driver Families
Bucket
drivers/gpu
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 vs_crtc {
	struct drm_crtc base;

	struct vs_dc *dc;
	unsigned int id;
};

static inline struct vs_crtc *drm_crtc_to_vs_crtc(struct drm_crtc *crtc)
{
	return container_of(crtc, struct vs_crtc, base);
}

struct vs_crtc *vs_crtc_init(struct drm_device *drm_dev, struct vs_dc *dc,
			     unsigned int output);

#endif /* _VS_CRTC_H_ */

Annotation

Implementation Notes