ioat_enumerate_channels(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ioat_enumerate_channels β€” a kernel API manual moment (section 9, bestie)

okay so real talk, this is ioat_enumerate_channels(9) from the Kernel API Manual, and it's literally the function that goes and finds all the channels on your device and gets them all set up. she's a matchmaker, but for DMA channels πŸŽ€


✨ NAME ✨

ioat_enumerate_channels β€” find and initialize the device's channels

like, she looks around, spots every channel the device has, and then gets each one ready to actually do stuff. no cap, that's the whole job πŸ’–


🌸 SYNOPSIS 🌸

void ioat_enumerate_channels (struct ioatdma_device *ioat_dma );

note that she returns void β€” our girl isn't handing you back a value, she's just out here doing the work and moving on, main character energy πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ioat_dma β€” the ioat dma device to be enumerated. that's your pointer to the struct ioatdma_device she's gonna poke through, so she knows which device's channels she's rounding up 🫢
like, don't hand her a random struct and expect magic, okay? she wants the ioat dma device. give her the ioat dma device πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘

those last three are her besties fr fr β€” self test, interrupt setup, and the one who frees the chan resources afterwards 🌈


πŸ’œ okay that's the page!! this one comes from ./drivers/dma/ioat and it's dated October 2026, so go forth and enumerate those channels, bestie β€” slay βœ¨πŸŽ€

πŸ“¦ where this page comes from