pdc_ring_init(9)
π« pdc_ring_init(9) β it's giving "kernel API manual" β¨
Ok bestie, buckle up, because this is pdc_ring_init(9) from the Kernel API Manual, and it is lowkey iconic π
πΈ NAME πΈ
pdc_ring_init β allocate DMA rings and initialize the constant fields of the descriptors in one ringset. Like, both things. One function. We love a multitasker π
π¦ SYNOPSIS π¦
int pdc_ring_init (struct pdc_state *pdcs , int ringset );
π ARGUMENTS π
pdcsβ the PDC instance state, aka the main character of this whole situation π«Άringsetβ the index of the ringset being used, so it knows which one we're talking about β¨
β RETURN β
Returns PDC_SUCCESS if the ring got initialized β and if it's < 0, welp, that's the "otherwise" case π (i.e. it did not slay).
π₯ SEE ALSO π₯
First up, the source file itself, Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c β go read her fr fr ππ
Then the whole friend group, no cap:
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_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)
π reminder: this is a kernel API page, so everything here is serious business β but you're doing amazing sweetie π
Sign-off time, bestie π This lil masterpiece lives in ./drivers/mailbox and it's dated October 2026 β periodt, that's the whole footer, mwah ππ§
π¦ 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