pdc_receive(9)
π¦ pdc_receive β like, the whole kernel API manual moment π
okay so bestie, welcome to the pdc_receive(9) page from the Kernel API Manual β¨ pull up a chair, we're gonna talk about the rx ring and it's gonna be iconic, i promise π
πΈ NAME πΈ
pdc_receive β process as many responses as are available in the rx ring π
like, as many as are available, no cap. she's not picky, she just takes what's there π«Ά
β¨ SYNOPSIS β¨
int pdc_receive (struct pdc_state *pdcs );
that's it. that's the whole vibe check. one arg, returns an int, slay π₯
π§ ARGUMENTS π§
pdcsβ the PDC state π that's the whole description, bestie, she's lowkey mysterious like that. justβ¦ the PDC state. iykyk π
π« DESCRIPTION π«
okay so this is the part where it gets real: pdc_receive is called within the hard IRQ π hard IRQ context, fr fr β we are deep in interrupt territory, not your chill process-context little nap zone π
β οΈ bestie pls note: hard IRQ context means you do not get to be sleepy in here. that's the whole energy of this page. ok that's all it says, i'm not adding lore π
π SEE ALSO π
the whole friend group π«Ά all these live in the kernel file ./drivers/mailbox/bcm-pdc-mailbox.c, and honestly they're all main character energy:
pdc_setup_debugfs(9)πpdc_build_rxd(9)πpdc_build_txd(9)πpdc_receive_one(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)π
like. twenty-two besties. the way that list just goes π
go read them, they're all in ./drivers/mailbox/bcm-pdc-mailbox.c π¦
and that's the page, bestie!! π mwah π this one came straight outta ./drivers/mailbox, dated October 2026 β so you know it's fresh β¨ go forth and process those responses, 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