pdc_build_txd(9)
β¨ pdc_build_txd(9) β¨
from the Kernel API Manual β okay bestie, this is the page for building a DMA descriptor that sends a SPU request off to hardware. Letβs get into it π
πΈ NAME πΈ
okay so pdc_build_txd is literally the function that builds a DMA descriptor to transmit a SPU request to hardware. Thatβs the whole vibe. No cap.
π SYNOPSIS π
the exact signature is giving:
void pdc_build_txd (struct pdc_state *pdcs , dma_addr_t dma_addr , u32
buf_len , u32 flags );
π ARGUMENTS π
pdcsβ the PDC state for the SPU thatβs gonna process this request π«Άdma_addrβ the DMA address of the packet to be transmitted β¨buf_lenβ the length of the tx buffer, in bytes πflagsβ the flags that get stored in the descriptor π¦
π¦ SEE ALSO π¦
Kernel file: ./drivers/mailbox/bcm-pdc-mailbox.c β go peek, bestie π
the rest of the crew is right here:
pdc_setup_debugfs(9)pdc_build_rxd(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_desc_count(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 π thatβs the whole page β source/version is ./drivers/mailbox, dated October 2026, and thatβs the cute little footer vibe, 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