regmap_get_max_register(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hey bestie πŸ’– you’re on the regmap_get_max_register(9) page in the Kernel API Manual, and it’s giving β€œsmall but important regmap helper” energy. no cap.

🌸 NAME 🌸

regmap_get_max_register β€” Report the max register value. That’s the whole assignment, periodt. πŸ’…

✨ SYNOPSIS ✨

int regmap_get_max_register (struct regmap *map );

πŸŽ€ ARGUMENTS πŸŽ€

  • map β€” the register map to operate on. This is the regmap you’re asking about, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

This function reports the max register value. It’s mainly intended for use by generic infrastructure built on top of regmap β€” like the reusable plumbing bestie, iykyk. It’s not trying to be extra; it just reports that max-register value.

πŸ’– SEE ALSO πŸ’–

Kernel file: ./drivers/base/regmap/regmap.c β€” yes, that’s where the source lives. The whole regmap extended family is linked too, no cap:


okay bye bestie 🫢 this was regmap_get_max_register(9) from ./drivers/base/regmap, dated October 2026 β€” slay and go read your regmaps ✨

πŸ“¦ where this page comes from