atmel_hsmc_cs_conf_get(9)
β¨ 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:
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_smc_cs_conf_apply(9)atmel_hsmc_cs_conf_apply(9)atmel_smc_cs_conf_get(9)atmel_hsmc_get_reg_layout(9)
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
- 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