regmap_init_i2c(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay bestie, this is regmap_init_i2c(9) from the Kernel API Manual, and it is literally here to do one iconic thing: Initialise register map.

So the name vibe is: regmap_init_i2c β€” Initialise register map. That’s it, that’s the whole name, and it ate. πŸ’…


✨ SYNOPSIS ✨

The signature is exactly this, no cap:

regmap_init_i2c (i2c , config );

🌸 ARGUMENTS 🌸

  • i2c β€” Device that will be interacted with. That’s the device bestie, periodt.
  • config β€” Configuration for register map. The config for the register map, fr fr.

πŸ’… DESCRIPTION πŸ’…

This part is short and sweet, so listen up: the return value will be an ERR_PTR on error or a valid pointer to a struct regmap.

That’s the whole description, and honestly? Iconic minimalism. ✨


πŸ”— SEE ALSO πŸ”—

Kernel file: ./include/linux/regmap.h

The full SEE ALSO crew, all present and accounted for:


Source/version: ./include/linux β€’ date: October 2026 β€” mwah, bestie, that’s the cute little footer sign-off πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from