drivers/gpu/drm/rockchip/rockchip_rgb.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/rockchip/rockchip_rgb.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/rockchip/rockchip_rgb.h
Extension
.h
Size
656 bytes
Lines
27
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

#ifdef CONFIG_ROCKCHIP_RGB
struct rockchip_rgb *rockchip_rgb_init(struct device *dev,
				       struct drm_crtc *crtc,
				       struct drm_device *drm_dev,
				       int video_port);
void rockchip_rgb_fini(struct rockchip_rgb *rgb);
#else
static inline struct rockchip_rgb *rockchip_rgb_init(struct device *dev,
						     struct drm_crtc *crtc,
						     struct drm_device *drm_dev,
						     int video_port)
{
	return NULL;
}

static inline void rockchip_rgb_fini(struct rockchip_rgb *rgb)
{
}
#endif

Annotation

Implementation Notes