ocxl_global_mmio_clear64(9)
π ocxl_global_mmio_clear64 β like, the whole manual page, bestie
okay so this is a page from the Kernel API Manual (yes, the kernel, we're built different over here) and it's all about one little function that clears bits in a 64-bit global MMIO register. no cap, that's it, that's the vibe π
β¨ NAME β¨
ocxl_global_mmio_clear64 β Set bits in a 64 bit global MMIO register π₯
(and yes bestie, the description literally says set, even though the function is called clear. I am simply the messenger. iykyk π)
π¦ SYNOPSIS π¦
int ocxl_global_mmio_clear64 (struct ocxl_afu *afu , size_t offset ,
enum ocxl_endian endian , u64 mask );
it's giving "small signature, big responsibilities" honestly π
πΈ ARGUMENTS πΈ
afuβ The AFU π like, the actual function unit you're poking at. main character energy fr.offsetβ The Offset from the start of MMIO β¨ measured from the very beginning of the MMIO, so don't go wandering off on your own.endianβ the endianness that the MMIO data is in π¦ yes, the byte-order situation. gotta respect it.maskβ a mask of the bits to set π like, the exact bits you're targeting. be precise with it.
π DESCRIPTION π
Returns 0 for success, negative on error β that's the whole description and honestly? iconic. short, sweet, zero notes.
ngl bestie, that's all the original gives us β so that's all you get. no extra lore, no invented behaviour. we stay factual in this group chat π«Ά
π§ SEE ALSO π§
Kernel file ./include/misc/ocxl.h and, like, the entire ocxl extended universe π«
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_clear32(9)
like, read the whole family bestie, they're all connected π
and that's the page!! mwah π this little manual lives in ./include/misc and it's dated October 2026 β so yeah, future vibes only. slay, go clear those bits (or set them, apparently π). periodt. π
π¦ 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