mmu_reg_load(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mmu_reg_load β€” read a lil' control register from MMU[ID]

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function page and honestly? it ate. it's giving "small but mighty" energy, and we're gonna get you across it in like thirty seconds, no cap 🫢


πŸŽ€ NAME πŸŽ€

mmu_reg_load β€” Read from a control register of MMU[ID] πŸ’–

like literally that's it, that's the whole vibe. you point at an MMU, you point at a register index, and it hands you the data back. iconic behaviour. πŸ”₯


✨ SYNOPSIS ✨

hrt_data mmu_reg_load (const mmu_ID_t ID , const unsigned int reg );

look at that signature, she's so clean 😭 <rainbow>hrt_data</rainbow> in, two const args, done. no drama, no surprises, we love a low-maintenance queen πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ID β€” the MMU identifier πŸ’« like, which MMU are we talking to? you gotta tell her. there are multiple of these bad girls and she's not gonna guess, bestie.
  • reg β€” the register index 🌸 the exact lil' slot inside that MMU you wanna peek at. precision matters, iykyk.

🌈 RETURN 🌈

MMU[ID].ctrl[reg] πŸ’–

no cap, that's the whole return value: the control register at that index, from that MMU. she gives it back to you, plain and simple, and honestly? we stan a function that doesn't overcomplicate things ✨


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file πŸ“ ./drivers/staging/media/atomisp/pci/hive_isp_css_include/host/mmu_public.h β€” yeah, that path is a whole journey, but that's where she lives 🧚
  • mmu_set_page_table_base_index(9) β€” the setter bestie for the page table base index πŸ’œ
  • mmu_get_page_table_base_index(9) β€” and her getter counterpart, they're a matched set πŸŽ€
  • mmu_invalidate_cache(9) β€” cache invalidation, the classic 😭
  • mmu_invalidate_cache_all(9) β€” same energy but all of it, go big or go home πŸ’…
  • mmu_reg_store(9) β€” the write-y sibling!! if mmu_reg_load is the reader, this one's the writer, and honestly they should be read together 🫢
ngl, if you're poking around MMU registers you probably want the whole little friend group above, not just this one. just saying πŸ’€

⭐ and that's the page!! short, sweet, slayed.

source/version: from the atomisp driver tree β€” like literally ./drivers/staging/media/atomis... and friends β€” dated October 2026 πŸ—“οΈ and the page itself is mmu_reg_load(9), in case you forgot already πŸ™ˆ

mwah, go read some registers bestie πŸ’‹βœ¨

πŸ“¦ where this page comes from