cb710_sg_dwiter_read_to_io(9)
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 π₯
- Kernel file
./include/linux/cb710.h cb710_sg_dwiter_write_from_io(9)
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
- 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