regmap_init_fsi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… regmap_init_fsi(9) πŸ’…

okay so this is a page from the Kernel API Manual (yes, the actual kernel API manual, we're fancy now πŸŽ€) and it's about regmap_init_fsi β€” literally the glow-up moment where your register map gets born. Let's get into it bestie ✨


🌸 NAME 🌸

regmap_init_fsi β€” Initialise register map

that's it. that's the whole name. short, sweet, iconic πŸ‘‘


✨ SYNOPSIS ✨

regmap_init_fsi (fsi_dev , config );

look at her go. two args, zero drama 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • fsi_dev β€” the device you're gonna be interacting with πŸ’– like, who are we even talking to here. that one.
  • config β€” the configuration for the register map. all the settings, all the vibes, all the setup 🌈

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” the return value is gonna be one of two things:

  • an ERR_PTR if something went wrong 😭 (translation: it errored out, go check it fr fr)
  • OR a valid pointer to a struct regmap πŸ‘‘ (translation: it worked, slay)

that's the whole description. no cap, that's it. lowkey obsessed with how short this is πŸ’€

heads up bestie β€” always check that return value. ERR_PTR on error, valid pointer to a struct regmap on success. don't be out here dereferencing an error like it's nothing πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the whole friend group showed up for this one, iykyk πŸ’… start with the kernel file:

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

and then, in order, the rest of the crew 🧚:


and that's the whole page bestie, go forth and initialise your register maps 🌟

signing off from ./include/linux, version October 2026, on the regmap_init_fsi(9) page β€” mwah πŸ’‹ πŸŽ€πŸ’–βœ¨

πŸ“¦ where this page comes from