drivers/gpu/drm/i915/display/vlv_clock.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/i915/display/vlv_clock.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/i915/display/vlv_clock.h
Extension
.h
Size
840 bytes
Lines
39
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

#ifndef __VLV_CLOCK_H__
#define __VLV_CLOCK_H__

struct drm_device;

#ifdef I915
int vlv_clock_get_hpll_vco(struct drm_device *drm);
int vlv_clock_get_hrawclk(struct drm_device *drm);
int vlv_clock_get_czclk(struct drm_device *drm);
int vlv_clock_get_cdclk(struct drm_device *drm);
int vlv_clock_get_gpll(struct drm_device *drm);
#else
static inline int vlv_clock_get_hpll_vco(struct drm_device *drm)
{
	return 0;
}
static inline int vlv_clock_get_hrawclk(struct drm_device *drm)
{
	return 0;
}
static inline int vlv_clock_get_czclk(struct drm_device *drm)
{
	return 0;
}
static inline int vlv_clock_get_cdclk(struct drm_device *drm)
{
	return 0;
}
static inline int vlv_clock_get_gpll(struct drm_device *drm)
{
	return 0;
}
#endif

#endif /* __VLV_CLOCK_H__ */

Annotation

Implementation Notes