drivers/gpu/drm/loongson/lsdc_pixpll.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/loongson/lsdc_pixpll.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/loongson/lsdc_pixpll.h- Extension
.h- Size
- 2404 bytes
- Lines
- 87
- 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.
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
drm/drm_device.h
Detected Declarations
struct lsdc_pixpll_parmsstruct lsdc_pixpllstruct lsdc_pixpll_funcsstruct lsdc_pixpll
Annotated Snippet
struct lsdc_pixpll_parms {
unsigned int ref_clock;
unsigned int div_ref;
unsigned int loopc;
unsigned int div_out;
};
struct lsdc_pixpll;
struct lsdc_pixpll_funcs {
int (*setup)(struct lsdc_pixpll * const this);
int (*compute)(struct lsdc_pixpll * const this,
unsigned int clock,
struct lsdc_pixpll_parms *pout);
int (*update)(struct lsdc_pixpll * const this,
struct lsdc_pixpll_parms const *pin);
unsigned int (*get_rate)(struct lsdc_pixpll * const this);
void (*print)(struct lsdc_pixpll * const this,
struct drm_printer *printer);
};
struct lsdc_pixpll {
const struct lsdc_pixpll_funcs *funcs;
struct drm_device *ddev;
/* PLL register offset */
u32 reg_base;
/* PLL register size in bytes */
u32 reg_size;
void __iomem *mmio;
struct lsdc_pixpll_parms *priv;
};
int lsdc_pixpll_init(struct lsdc_pixpll * const this,
struct drm_device *ddev,
unsigned int index);
#endif
Annotation
- Immediate include surface: `drm/drm_device.h`.
- Detected declarations: `struct lsdc_pixpll_parms`, `struct lsdc_pixpll`, `struct lsdc_pixpll_funcs`, `struct lsdc_pixpll`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.