sdhci_s3c_set_clock(9)
π sdhci_s3c_set_clock(9) π
okay so bestie, welcome to the Kernel API Manual β we're talking about sdhci_s3c_set_clock today and honestly? she's giving callback-on-clock-change realness π₯
β¨ NAME β¨
sdhci_s3c_set_clock β a callback that fires on clock change πβ¨
π¦ SYNOPSIS π¦
void sdhci_s3c_set_clock (struct sdhci_host *host , unsigned int clock );
like, that's the whole signature. no cap, that's it π«Ά
π ARGUMENTS π
hostβ the SDHCI host that's being changed, i.e. the main character getting a lil glow-up πclockβ the clock rate that's being requested. the vibe she's asking for β°πΈ
π DESCRIPTION π
so here's the tea β β when the card's clock is about to be changed, this function takes a look at the new frequency and then goes and finds the best clock source to go with it. literally matchmaking, but for clock sources πβ¨ she's out here doing a whole vibe check on frequencies and picking the one that slays π₯
π SEE ALSO π
- Kernel file
./drivers/mmc/host/sdhci-s3c.c struct sdhci_s3c(9)struct sdhci_s3c_drv_data(9)sdhci_s3c_get_max_clk(9)sdhci_s3c_consider_clock(9)sdhci_s3c_get_min_clock(9)
go read them, iykyk ππ
okay that's the whole page bestie, ily, go forth and clock responsibly π§π«
β with love from ./drivers/mmc/host, dated October 2026, signed sdhci_s3c_set_clock(9) ππ¦π
π¦ 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