ocxl_global_mmio_set64(9)
π ocxl_global_mmio_set64 β Kernel API Manual (yes that's the manual name, iykyk) π
okay bestie, sit down, we're doing kernel MMIO bits today and honestly? it's giving "small function, big personality" β¨
πΈ NAME πΈ
ocxl_global_mmio_set64 β literally the function that sets bits in a 64 bit global MMIO register. that's the whole vibe. π
π¦ SYNOPSIS π¦
int ocxl_global_mmio_set64 (struct ocxl_afu *afu , size_t offset , enum
ocxl_endian endian , u64 mask );
not me copying that signature exactly because bestie, character-for-character or it didn't happen π
β¨ ARGUMENTS β¨
afuβ The AFU. your whole entire acceleration function unit, the main character of this operation πoffsetβ The Offset from the start of MMIO. so like, how far into the register map we're poking around π«Άendianβ the endianness that the MMIO data is in. yeah, you gotta tell it which way the bytes go, no cap πmaskβ a mask of the bits to set. this is your little checklist of which bits are getting the glow-up π
π DESCRIPTION π
Returns 0 for success, negative on error. that's it. that's the description. short and iconic, honestly π
lowkey love a manpage that gets straight to the point. no rambling, just "here's the return value, bye" π¦
π SEE ALSO π
ocxl_global_mmio_set64's whole friend group lives in the kernel file./include/misc/ocxl.hβ go say hi to them fr fr: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_write64(9)ocxl_global_mmio_set32(9)ocxl_global_mmio_clear32(9)ocxl_global_mmio_clear64(9)
like, that's the entire roster. the set32's sibling, the clear64 counterpart, all of them π the read/write girlies and the set/clear girlies are all in this together π«Ά
and that's the page!! π source is ./include/misc, dated October 2026, and the page is ocxl_global_mmio_set64(9) β mwah, slay, go set some bits responsibly π
β¨π
π¦ 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