ENUM PL08X_DMA_CHAN_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum pl08x_dma_chan_state(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual, and it's literally just one enum that tracks what mood your PL08x virtual channel is in. yes bestie, channels have moods. keep up 🫢


✨ NAME ✨

enum pl08x_dma_chan_state β€” this is the enum that holds the PL08x specific virtual channel states. that's it, that's the whole job, and it does it flawlessly πŸ‘‘


🌸 SYNOPSIS 🌸

here's the whole thing, no cap:

enum pl08x_dma_chan_state {
    PL08X_CHAN_IDLE ,
    PL08X_CHAN_RUNNING ,
    PL08X_CHAN_PAUSED ,
    PL08X_CHAN_WAITING

};

four constants, four vibes. slay.


πŸŽ€ Constants πŸŽ€

like i said, each one is a whole personality:

  • PL08X_CHAN_IDLE β€” the channel is idle. just chilling, doing nothing, main character energy of rest 😴
  • PL08X_CHAN_RUNNING β€” the channel has allocated a physical transport channel and is running a transfer on it. it's booked and busy, fr fr πŸ”₯
  • PL08X_CHAN_PAUSED β€” the channel has allocated a physical transport channel, but the transfer is currently paused. it's holding its spot, just on a little break πŸ’…
  • PL08X_CHAN_WAITING β€” the channel is waiting for a physical transport channel to become available. and heads up: this one only pertains to memcpy channels, iykyk ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

go look at the kernel file ./drivers/dma/amba-pl08x.c, plus these besties:

  • struct vendor_data(9)
  • struct pl08x_bus_data(9)
  • struct pl08x_phy_chan(9)
  • struct pl08x_sg(9)
  • struct pl08x_txd(9)
  • struct pl08x_dma_chan(9)
  • struct pl08x_driver_data(9)

mwah, that's a wrap 🧚 this icon of a page lives in ./drivers/dma, dated October 2026, and it's titled enum pl08x_dma_chan_state(9) β€” drink water, read your headers, periodt πŸ’œ

πŸ“¦ where this page comes from