STRUCT PL08X_DRIVER_DATA(9)
π struct pl08x_driver_data(9) β like, the whole vibe
okay bestie, so this is from the Kernel API Manual, and it's literally all about struct pl08x_driver_data β the local state holder for the PL08x β¨ that's it, that's the name section, no notes π
πΈ SYNOPSIS πΈ
like, here's the whole struct, character for character, no cap:
struct pl08x_driver_data {
struct dma_device slave;
struct dma_device memcpy;
bool has_slave;
void __iomem *base;
struct amba_device *adev;
const struct vendor_data *vd;
struct pl08x_platform_data *pd;
struct pl08x_phy_chan *phy_chans;
struct dma_pool *pool;
u8 lli_buses;
u8 mem_buses;
u8 lli_words;
};
she's giving organized. she's giving main character struct. π
π¦ Members π¦
time for the member-by-member vibe check, bestie β every single one, let's go π
slaveβ the optional slave engine for this instance. optional!! she doesn't have to show up, and that's valid πmemcpyβ thememcpyengine for this instance. this one's the copy machine, periodt βhas_slaveβ aboolthat says whether the PL08x has a slave engine (like, routed signals β¨)baseβ virtual memory base (remapped) for the PL08x. remapped, so it's not where you left it πadevβ the corresponding AMBA (PrimeCell) bus entry πvdβ vendor data for this PL08x variant. every variant's got lore πpdβ platform data passed in from the platform/machine π«Άphy_chansβ array of data for the physical channels. array!! plural!! she contains multitudes πpoolβ a pool for the LLI descriptors πlli_busesβ bitmask to OR in to the LLI pointer selecting the AHB port for LLI fetches π₯ (yes, "or in", it's a bitmask thing, iykyk)mem_busesβ set to indicate memory transfers on AHB2 π§lli_wordsβ how many words are used in each LLI item for this variant. counting words, iconic β
π SEE ALSO π
go read these next, bestie, they're all in the Kernel file ./drivers/dma/amba-pl08x.c:
struct vendor_data(9)struct pl08x_bus_data(9)struct pl08x_phy_chan(9)struct pl08x_sg(9)struct pl08x_txd(9)enum pl08x_dma_chan_state(9)struct pl08x_dma_chan(9)
like a whole friend group fr fr π
ngl this page lives in ./drivers/dma and it's dated October 2026 β so yeah, basically from the future πβ¨
and that's the whole struct pl08x_driver_data(9) tea, bestie β slay, you ate, now go read the source πΈπ¦π
π¦ 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