STRUCT ATMEL_HLCDC_DC(9)
π struct atmel_hlcdc_dc(9)
okay bestie, welcome to the Kernel API Manual β¨ β yes, the Kernel API Manual, that's the manual name, we're being official today. And today's main character is struct atmel_hlcdc_dc, aka the Atmel HLCDC Display Controller. It's giving hardware, it's giving display, it's giving struct. Let's get into it π
πΈ NAME
struct atmel_hlcdc_dc β the Atmel HLCDC Display Controller. That's the whole vibe. She's a display controller and she has a struct, periodt π
β¨ SYNOPSIS
Here's the whole thing, exactly as it is, no notes, no edits, we do not touch the source:
struct atmel_hlcdc_dc {
const struct atmel_hlcdc_dc_desc *desc;
struct dma_pool *dscrpool;
struct atmel_hlcdc *hlcdc;
struct drm_crtc *crtc;
struct drm_device dev;
struct atmel_hlcdc_layer *layers[ATMEL_HLCDC_MAX_LAYERS];
struct {
u32 imr;
struct drm_atomic_commit *state;
} suspend;
};
Look at her. Nested struct and everything. We love a struct with a struct inside it β it's like a little nesting doll but make it DMA πͺ
π¦ Members
okay this is the part where we meet everyone in the group chat, one by one π«Ά
descβ the HLCDC Display Controller description. The description of the description, very meta, we stan.dscrpoolβ a DMA coherent pool that's used to allocate DMA descriptors. It's the pool. It holds the descriptors. Iconic behavior honestly.hlcdcβ a pointer to theatmel_hlcdcstructure, which is provided by the MFD device. So it's a pointer to a thing that came from another thing. Networking, but for structs πcrtcβ the CRTC provided by the display controller. It's got the CRTC. As one does.layersβ the active HLCDC layers, and it's an array ofstruct atmel_hlcdc_layer *layers[ATMEL_HLCDC_MAX_LAYERS], so likeβ¦ many layers. Max layers, even. Slay.suspendβ the one and only place we store the HLCDC state when entering suspend. Sleepy time storage, lowkey cozy π΄
And then suspend has her own little inner circle:
suspend.imrβ used to read/write the LCDC Interrupt Mask Register. Reading and writing. Multitalented.suspend.stateβ the Atomic commit structure. Atomic. Like the commit. Not like the science.
quick heads up bestie: struct drm_device dev; is literally right there in the struct up top, but this page doesn't give it its own Members blurb. I'm not gonna invent one for you β we keep the facts exactly as they are, no cap. π
π₯ SEE ALSO
go check these out, iykyk:
- the Kernel file
./drivers/gpu/drm/atmel-hlcdc/atmel_hlcdc_dc.h struct atmel_lcdc_dc_ops(9)
π Sign-off
this page came to you from ./drivers/gpu/drm/atmel-hlcdc, dated October 2026, and yeah β it's struct atmel_hlcdc_dc(9) all the way down, bestie. go forth and display-control ππβ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms