atmel_hsmc_cs_conf_apply(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… atmel_hsmc_cs_conf_apply β€” a Kernel API Manual page, bestie edition

okay so this is a page from the Kernel API Manual, and it's about one very specific little function, and honestly? she's the "hit send on the vibes" of the SMC world. let's get into it πŸ’–


✨ NAME ✨

atmel_hsmc_cs_conf_apply β€” apply an SMC CS conf. that's it. that's the whole job. she applies the conf πŸŽ€


🌸 SYNOPSIS 🌸

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

literally four arguments, no return value, void queen behavior πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • regmap β€” the HSMC regmap. this is your map of registers, your little treasure map, and we respect her.
  • layout β€” the layout of registers. the struct atmel_hsmc_reg_layout * vibe β€” it tells everyone where the registers actually live.
  • cs β€” the CS id, as an int. which chip select we're talking to, iykyk.
  • conf β€” the SMC CS conf to apply. the const struct atmel_smc_cs_conf * in question. this is the actual payload, the moment, the main character 🫢

πŸ’… DESCRIPTION πŸ’…

Applies an SMC CS configuration. that's it! she takes the conf, she applies it, she leaves. no cap.

⚠️ but listen β€” this is only valid on post-sama5 SoCs. so if you're on a sama5 or anything older, this is not for you, bestie. read the room (and the SoC). πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./drivers/mfd/atmel-smc.c is right there being iconic, and the whole friend group shows up too β€” go say hi:


okay that's the whole page, mwah πŸ’‹ this one comes from the ./drivers/mfd corner of the kernel, dated October 2026 β€” screenshot it, save it, send it to the group chat, because that's the source and the date and she ate 🌈⭐🧚

πŸ“¦ where this page comes from