pdc_interrupts_init(9)
π
pdc_interrupts_init(9) π
okay so welcome to the Kernel API Manual, bestie β this is literally the page for pdc_interrupts_init(9), and it's giving βset up interrupts for a PDCβ energy. No cap.
πΈ NAME πΈ
pdc_interrupts_init β Initialize the interrupt configuration for a PDC and specify a threaded IRQ handler for deferred handling of interrupts outside of interrupt context.
β¨ SYNOPSIS β¨
int pdc_interrupts_init (struct pdc_state *pdcs );
π ARGUMENTS π
pdcsβ PDC state. That's it, bestie; it's the PDC state.
π¦ DESCRIPTION π¦
okay so here's the vibe: Set the interrupt mask for transmit and receive done. Then Set the lazy interrupt frame count to generate an interrupt for just one pkt. Periodt. That's the whole description, and yes it's iconic.
π₯ RETURN π₯
The page says: PDC_SUCCESS <0 if threaded irq request fails.
π SEE ALSO π
Kernel file ./drivers/mailbox/bcm-pdc-mailbox.c
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_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_mb_init(9)pdc_dt_read(9)pdc_probe(9)
k bye bestie π this page comes from ./drivers/mailbox, dated October 2026, and it's literally the pdc_interrupts_init(9) page signing off π«Ά
π¦ 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