atmel_smc_cs_conf_apply(9)
π 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:
atmel_smc_cs_conf_init(9)atmel_smc_cs_encode_ncycles(9)atmel_smc_cs_conf_set_timing(9)atmel_smc_cs_conf_set_setup(9)atmel_smc_cs_conf_set_pulse(9)atmel_smc_cs_conf_set_cycle(9)atmel_hsmc_cs_conf_apply(9)atmel_smc_cs_conf_get(9)atmel_hsmc_cs_conf_get(9)atmel_hsmc_get_reg_layout(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms