ocxl_global_mmio_write64(9)
π ocxl_global_mmio_write64(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β yes, the actual kernel API manual, and yes, you're about to absolutely slay this one. This is the page for ocxl_global_mmio_write64, and it's giving "small function, big responsibility." Let's go π
πΈ NAME πΈ
ocxl_global_mmio_write64 β write a 64 bit value to global MMIO. that's it, that's the whole vibe π
β¨ SYNOPSIS β¨
int ocxl_global_mmio_write64 (struct ocxl_afu *afu , size_t offset ,
enum ocxl_endian endian , u64 val );
like, that's the signature, no cap. four things go in, an int comes out π¦
π«Ά ARGUMENTS π«Ά
afuβ The AFU. literally the star of the show, main character energy πoffsetβ The Offset from the start of MMIO. so it's measured from the beginning of the MMIO, not from wherever, iykyk πendianβ the endianness that the MMIO data is in. yes bestie, endianness matters, always has πvalβ The value to write. theu64. the actual payload. iconic π
π DESCRIPTION π
Returns 0 for success, negative on error.
that's the whole description. no extra lore. if it worked, 0 β if it didn't, something negative. that's the vibe check, periodt π
π₯ SEE ALSO π₯
Kernel file ./include/misc/ocxl.h β and honestly the whole friend group is here, so let's list them all because nobody gets left out:
ocxl_function_open(9)ocxl_function_afu_list(9)ocxl_function_fetch_afu(9)ocxl_afu_get(9)ocxl_afu_put(9)ocxl_function_config(9)ocxl_function_close(9)ocxl_context_alloc(9)ocxl_context_free(9)ocxl_context_attach(9)ocxl_context_detach(9)ocxl_afu_irq_alloc(9)ocxl_afu_irq_free(9)ocxl_afu_irq_get_addr(9)ocxl_irq_set_handler(9)ocxl_afu_config(9)ocxl_afu_set_private(9)ocxl_afu_get_private(9)ocxl_global_mmio_read32(9)ocxl_global_mmio_read64(9)ocxl_global_mmio_write32(9)ocxl_global_mmio_set32(9)ocxl_global_mmio_set64(9)ocxl_global_mmio_clear32(9)ocxl_global_mmio_clear64(9)
like, look at that roster. read32 and read64, write32 and write64, set and clear at both widthsβ¦ it's a whole family reunion π§π
ngl bestie, this page is short but that's not a bad thing β sometimes the smallest manpage ate the hardest π
and that's a wrap! π this little number lives in ./include/misc, timestamped October 2026, and it goes by ocxl_global_mmio_write64(9) β mwah, go write your 64 bits, bestie πβ¨π¦
π¦ 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