atmel_smc_cs_conf_apply(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… atmel_smc_cs_conf_apply β€” apply an SMC CS conf πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a tiny little function but she's important, so let's get into it πŸŽ€


🌸 NAME 🌸

atmel_smc_cs_conf_apply β€” literally just: apply an SMC CS conf. that's the whole vibe. no cap 🫢


✨ SYNOPSIS ✨

void atmel_smc_cs_conf_apply (struct regmap *regmap , int cs , const
struct atmel_smc_cs_conf *conf );

look at her. returns void. doesn't even need to tell you how it went. main character energy honestly πŸ‘‘


πŸ¦‹ ARGUMENTS πŸ¦‹

  • regmap β€” the SMC regmap, i.e. the hookup to the hardware registers. she needs her map, periodt πŸ—ΊοΈ
  • cs β€” the CS id. which chip select we're talking about, bestie πŸ’…
  • conf β€” the SMC CS conf to apply. the actual configuration payload getting sent in 🌈

πŸ’– DESCRIPTION πŸ’–

So what does she do? She applies an SMC CS configuration. that's it, that's the girl πŸŽ€

⚠️ heads up though: this is only valid on at91sam9 SoCs. like, exclusively. don't be trying this on anything else, fr fr πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, in the kernel file ./drivers/mfd/atmel-smc.c:

iykyk 😌✨


and that's the page, bestie!! this lil icon lives under ./drivers/mfd, dated October 2026, and it ate, no crumbs πŸ’…πŸ«Ά

πŸ“¦ where this page comes from