atmel_hsmc_cs_conf_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ atmel_hsmc_cs_conf_get ✨

okay so bestie, welcome to the atmel_hsmc_cs_conf_get page β€” it lives in the Kernel API Manual and honestly it's giving "small function, big job" πŸ’…


🌸 NAME 🌸

atmel_hsmc_cs_conf_get β€” retrieve the current SMC CS conf πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void atmel_hsmc_cs_conf_get (struct regmap *regmap , const struct
atmel_hsmc_reg_layout *layout , int cs , struct atmel_smc_cs_conf *conf
);

like, yes, that's the whole signature, no cap ✨


πŸ’– ARGUMENTS πŸ’–

  • regmap β€” the HSMC regmap, aka the map of registers we're reading from πŸ—ΊοΈ
  • layout β€” the layout of registers (where everything sits, so we don't get lost) 🧚
  • cs β€” the CS id, the chip-select we're looking at πŸ‘‘
  • conf β€” the SMC CS conf object where you want the current conf stored πŸ’Ύ

🌈 DESCRIPTION 🌈

Retrieve the SMC CS configuration. literally go get it and put it in your conf object 🫢

⚠️ Only valid on post-sama5 SoCs. so if you're on something older, this is not the vibe, bestie 😭

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/mfd/atmel-smc.c plus the whole friend group:


and that's the whole page, periodt πŸ’œ so this little gem comes out of ./drivers/mfd and it's dated October 2026 β€” shoutout to the source and version, mwah πŸ“πŸŒΈ

πŸ“¦ where this page comes from