ocxl_global_mmio_clear32(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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