atmel_hsmc_cs_conf_apply(9)
π 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. thestruct atmel_hsmc_reg_layout *vibe β it tells everyone where the registers actually live.csβ the CS id, as anint. which chip select we're talking to, iykyk.confβ the SMC CS conf to apply. theconst 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:
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_smc_cs_conf_get(9)atmel_hsmc_cs_conf_get(9)atmel_hsmc_get_reg_layout(9)
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
- 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