ocxl_global_mmio_clear32(9)
π ocxl_global_mmio_clear32 π
okay so bestie, welcome to the Kernel API Manual β yes that's the whole manual name, we're fancy here, and today's main character is ocxl_global_mmio_clear32. sit down, hydrate, let's go π«Ά
β¨ NAME β¨
ocxl_global_mmio_clear32 β Set bits in a 32 bit global MMIO register
(no bc I know, i know, it says "clear" and it says "set" β that's literally what the page says and I am NOT the one who gets to argue with the kernel docs, so we're keeping it exactly as-is π iykyk)
π SYNOPSIS π
int ocxl_global_mmio_clear32 (struct ocxl_afu *afu , size_t offset ,
enum ocxl_endian endian , u32 mask );
that's the whole signature, character for character, no notes π
πΈ ARGUMENTS πΈ
here's the lineup, and every single one of them matters:
afuβ The AFU. the whole entire AFU. she's the context this call lives inside πoffsetβ The Offset from the start of MMIO. like how far from home we're wandering, measured from the very start β¨endianβ the endianness that the MMIO data is in. the byte-order vibe check, if you will π¦maskβ a mask of the bits to set. literally the bit mask, that's it, that's the whole thing π―
π₯ DESCRIPTION π₯
Returns 0 for success, negative on error.
that's it. that's the description. short and iconic, she ate and left no crumbs π
lowkey the most drama-free manpage section i've ever read β no giant essay, just "works? 0. didn't work? negative." periodt.
ngl bestie, the full description really is just that one line β please don't go looking for more lore, there isn't any in the source page π
π SEE ALSO π
so this one's got a whole friend group, and they're all required reading:
- Kernel file
./include/misc/ocxl.h 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_set64(9)ocxl_global_mmio_clear64(9)
like, the entire ocxl cinematic universe fr fr β read them all, bestie, they all reference each other π
and that's the page!! source lives at ./include/misc, version October 2026, and the title, as always, is ocxl_global_mmio_clear32(9). go forth and clear those (set those?) 32-bit global MMIO bits, you absolute icon π§πβ
π¦ 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