STRUCT PL08X_DMA_CHAN(9)
π struct pl08x_dma_chan(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this is the page for struct pl08x_dma_chan, and honestly? it's kind of a big deal. one quick heads-up before we dive in: this struct is what wraps a DMA ENGINE channel π. that's the whole assignment, that's the vibe.
β¨ SYNOPSIS β¨
struct pl08x_dma_chan {
struct virt_dma_chan vc;
struct pl08x_phy_chan *phychan;
const char *name;
struct pl08x_channel_data *cd;
struct dma_slave_config cfg;
struct pl08x_txd *at;
struct pl08x_driver_data *host;
enum pl08x_dma_chan_state state;
bool slave;
int signal;
unsigned mux_use;
unsigned long waiting_at;
};
no cap, that's the whole struct right there π
πΈ Members πΈ
like, the moment you've all been waiting for. let's do a vibe check on every single field, one by one π«Ά
vcβ the wrapped virtual channel β¨ (it's giving "inner circle")phychanβ the physical channel utilized by this channel, if there is one β typestruct pl08x_phy_chan *. note the "if there is one", bestie, sometimes there just isn't πnameβ name of channel π·οΈcdβ channel platform data πΎcfgβ slave configurationatβ the active transaction on this channel π₯ (main character energy fr)hostβ a pointer to the host (internal use) π β yes, internal, don't touch, it's not for youstateβ whether the channel is idle, paused, running, etc. β it's literally the mood ring of the channel πslaveβ whether this channel is a device (slave) or for memcpy β a whole identity crisis in oneboolπsignalβ the physical DMA request signal which this channel is using π‘mux_useβ count of descriptors using this DMA request signal setting π’waiting_atβ time in jiffies when this channel moved to waiting state β³ β it's giving "timestamped longing", iconic
π SEE ALSO π
go read these next, i'm obsessed with the whole friend group π¦:
- 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_driver_data(9)
and that's a wrap, bestie πΈ mwah π β this little number lives in ./drivers/dma, dated October 2026, and it's brought to you by struct pl08x_dma_chan(9). slay, go read your kernel source, i believe in you πβ¨
π¦ 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