pdc_desc_count(9)
π 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 π
pdc_setup_debugfs(9)pdc_build_rxd(9)pdc_build_txd(9)pdc_receive_one(9)pdc_receive(9)pdc_tx_list_sg_add(9)pdc_tx_list_final(9)pdc_rx_list_init(9)pdc_rx_list_sg_add(9)pdc_irq_handler(9)pdc_work_cb(9)pdc_ring_init(9)pdc_rings_full(9)pdc_last_tx_done(9)pdc_send_data(9)pdc_hw_init(9)pdc_hw_disable(9)pdc_rx_buf_pool_create(9)pdc_interrupts_init(9)pdc_mb_init(9)pdc_dt_read(9)pdc_probe(9)
mwah π β sourced from ./drivers/mailbox, dated October 2026, and this is pdc_desc_count(9) signing off. periodt π
π¦ 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