pdc_desc_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay so bestie, welcome to the Kernel API Manual β€” this page is pdc_desc_count(9), and it is literally here to count the number of DMA descriptors that will be required for a given scatterlist. It also accounts for the max length of a DMA buffer. that's the whole vibe. πŸ’–

✨ SYNOPSIS ✨

u32 pdc_desc_count (struct scatterlist *sg );

πŸ’… ARGUMENTS πŸ’…

  • sg β€” the scatterlist to be DMA'd. that's the one you're handing over, bestie 🫢

πŸ¦‹ RETURN πŸ¦‹

The number of descriptors required. it's giving β€œcount and go,” no cap ✨

🌈 SEE ALSO 🌈

Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c β€” that's where the lore lives πŸ‘‘


mwah πŸ’‹ β€” sourced from ./drivers/mailbox, dated October 2026, and this is pdc_desc_count(9) signing off. periodt πŸ‘‘

πŸ“¦ where this page comes from