cb710_sg_dwiter_read_to_io(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the cb710_sg_dwiter_read_to_io(9) page from the Kernel API Manual πŸ’– this one's a kernel API function, and we're keeping every single deet intact while making it make sense. periodt.

✨ NAME ✨

cb710_sg_dwiter_read_to_io β€” transfer data to 32-bit IO port from mapped buffer.

πŸŽ€ SYNOPSIS πŸŽ€

void cb710_sg_dwiter_read_to_io (struct sg_mapping_iter *miter , void
       __iomem *port , size_t count );

🫢 ARGUMENTS 🫢

  • miter β€” sg mapping iter. (that's the iterator bestie)
  • port β€” PIO port - IO or MMIO address.
  • count β€” number of 32-bit words to transfer.

πŸ’… DESCRIPTION πŸ’…

Writes count 32-bit words to register port from buffer iterated through miter. If buffer ends before count words are written missing data is replaced by zeroes. miter is advanced by 4*count bytes or to the buffer's end whichever is closer.

No cap: that's the whole behavior β€” zero-fill if the buffer runs out early, and miter moves forward by whichever is closer, 4*count bytes or the end of the buffer. 🌸

🌈 CONTEXT 🌈

IRQ disabled if the SG_MITER_ATOMIC is set. Don't care otherwise.

lowkey important: that SG_MITER_ATOMIC setting is the vibe check for IRQ disabled. Otherwise? Don't care. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

go read those next, iykyk πŸ‘‘


okay that's the page, bestie πŸ’œ tiny sign-off: source/version ./include/linux, dated October 2026, and the page is cb710_sg_dwiter_read_to_io(9). slay ✨

πŸ“¦ where this page comes from