drivers/gpu/drm/panthor/panthor_devfreq.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/panthor/panthor_devfreq.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/panthor/panthor_devfreq.h
Extension
.h
Size
652 bytes
Lines
24
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 __PANTHOR_DEVFREQ_H__
#define __PANTHOR_DEVFREQ_H__

struct devfreq;
struct thermal_cooling_device;

struct panthor_device;
struct panthor_devfreq;

int panthor_devfreq_init(struct panthor_device *ptdev);

void panthor_devfreq_resume(struct panthor_device *ptdev);
void panthor_devfreq_suspend(struct panthor_device *ptdev);

void panthor_devfreq_record_busy(struct panthor_device *ptdev);
void panthor_devfreq_record_idle(struct panthor_device *ptdev);

unsigned long panthor_devfreq_get_freq(struct panthor_device *ptdev);

#endif /* __PANTHOR_DEVFREQ_H__ */

Annotation

Implementation Notes