pdc_rings_full(9)
Hiii bestie π welcome to the pdc_rings_full(9) page β yes, thatβs the Kernel API Manual, and sheβs here to do a tiny ring vibe check. No cap, this is all about checking whether the tx ring has room for tx_cnt descriptors and the rx ring has room for rx_cnt descriptors.
π NAME π
pdc_rings_full β check whether the tx ring has room for tx_cnt descriptors and the rx ring has room for rx_cnt descriptors.
β¨ SYNOPSIS β¨
The whole signature, character for character:
bool pdc_rings_full (struct pdc_state *pdcs , int tx_cnt , int rx_cnt );
π ARGUMENTS π
pdcsβ PDC state. The main character struct, basically π«Ά.tx_cntβ the number of descriptors required in the tx ring.rx_cntβ the number of descriptors required in the rx ring. (The og page has a tinyitypo here β βrequired i the rx ringβ β but the meaning is exactly this ππ .)
π₯ RETURN π₯
trueβ if one of the rings does not have enough space.falseβ if sufficient space is available in both rings.
π SEE ALSO π
Kernel file: ./drivers/mailbox/bcm-pdc-mailbox.c β plus the whole squad:
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_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)
xoxo from the pdc_rings_full(9) page, ./drivers/mailbox π October 2026 π
π¦ 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