pdc_tx_list_sg_add(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 pdc_tx_list_sg_add(9) 🌸

okay so bestie, this is the Kernel API Manual entry for pdc_tx_list_sg_add, and it's literally about adding scatterlist buffers into the transmit descriptors for a given SPU. Those scatterlist buffers are the ones carrying the data for a SPU request message. slay. πŸ’…

✨ NAME ✨

pdc_tx_list_sg_add β€” add the buffers in a scatterlist to the transmit descriptors for a given SPU. The scatterlist buffers contain the data for a SPU request message. πŸ¦‹

πŸŽ€ SYNOPSIS πŸŽ€

int pdc_tx_list_sg_add (struct pdc_state *pdcs , struct scatterlist *sg
       );

πŸ’– ARGUMENTS πŸ’–

  • pdcs β€” PDC state for the SPU that will process this request.
  • sg β€” Scatterlist whose buffers contain part of the SPU request.

🌈 DESCRIPTION 🌈

okay so here's the vibe: if a scatterlist buffer is larger than PDC_DMA_BUF_MAX, the function writes multiple descriptors for that buffer, and every one of those descriptors is <= PDC_DMA_BUF_MAX byte in length. no cap, it really said "one descriptor per buffer? not always, bestie." ✨

πŸ‘‘ RETURN πŸ‘‘

It gives you PDC_SUCCESS if successful, and < 0 otherwise. periodt. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/mailbox/bcm-pdc-mailbox.c


okay byeee bestie β€” signing off from ./drivers/mailbox, dated October 2026 πŸ’–βœ¨

πŸ“¦ where this page comes from