__iowrite32_copy(9)
π NAME π
__iowrite32_copy(9) β copy data to MMIO space, in 32-bit units. This one is from the Kernel API Manual, and itβs lowkey iconic for yeeting data into MMIO in neat little 32-bit pieces. β¨π¦
β¨ SYNOPSIS β¨
void __iowrite32_copy (void __iomem *to , const void *from , size_t
count );
π ARGUMENTS π
toβ destination, in MMIO space (must be 32-bit aligned). This is the MMIO destination, and yes, alignment is mandatory, bestie.fromβ source (must be 32-bit aligned). Your source pointer, also alignment-checked.countβ number of 32-bit quantities to copy. Thatβs the number of 32-bit chunks on the move.
πΈ DESCRIPTION πΈ
Okay so real talk: this copies data from kernel space to MMIO space, in units of 32 bits at a time. π
Two things are very much not guaranteed:
Order of access is not guaranteed, and a memory barrier is not performed afterwards.
So donβt build your whole personality on access order here, and donβt expect a barrier after β fr fr, no cap. π
π₯ SEE ALSO π₯
- Kernel file
./lib/iomap_copy.c __ioread32_copy(9)__iowrite64_copy(9)
Thatβs the page, bestie π«Ά Source/version: ./lib, date: October 2026, and the manual name is __iowrite32_copy(9). Mwah π
π¦ 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