sdhci_arasan_syscon_write(9)
π sdhci_arasan_syscon_write(9) π
okay bestie, this page is straight out of the Kernel API Manual β and it's giving βtiny helper function with strong boundariesβ energy β¨ It writes a value into a field in the sdhci_arasan_soc_ctl registers. Let's get into it π
πΈ NAME πΈ
sdhci_arasan_syscon_write β Write to a field in soc_ctl registers π¦
π¦ SYNOPSIS π¦
int sdhci_arasan_syscon_write (struct sdhci_host *host , const struct
sdhci_arasan_soc_ctl_field *fld , u32 val );
π ARGUMENTS π
hostβ Thesdhci_host. That's the host, bestie π«Άfldβ The field to write to. This is your target π―valβ The value to write. The actual payload π
β¨ DESCRIPTION β¨
This function allows writing to fields in sdhci_arasan_soc_ctl_map β yes, that exact map, no cap. You give it a field and a value, and it does the write. Periodt π
Heads up bestie π¨: if a field is specified as not available (shift < 0), then this function will silently return an error code. Like, no noise, just an error code back π But for any other (unexpected) errors, it will be noisy and print errors β so the quiet treatment is only forshift < 0, everything else is loud π’
π RETURN π
0 on success, and an error value on error. That's it, that's the return vibe π
π SEE ALSO π
Kernel file: ./drivers/mmc/host/sdhci-of-arasan.c β go look, bestie π§
struct sdhci_arasan_soc_ctl_field(9)struct sdhci_arasan_soc_ctl_map(9)struct sdhci_arasan_clk_ops(9)struct sdhci_arasan_clk_data(9)struct sdhci_arasan_data(9)sdhci_arasan_suspend(9)sdhci_arasan_resume(9)sdhci_arasan_sdcardclk_recalc_rate(9)sdhci_arasan_sampleclk_recalc_rate(9)sdhci_zynqmp_sdcardclk_set_phase(9)sdhci_zynqmp_sampleclk_set_phase(9)sdhci_versal_sdcardclk_set_phase(9)sdhci_versal_sampleclk_set_phase(9)sdhci_arasan_update_clockmultiplier(9)sdhci_arasan_update_baseclkfreq(9)arasan_dt_parse_clk_phases(9)sdhci_arasan_register_sdcardclk(9)sdhci_arasan_register_sampleclk(9)sdhci_arasan_unregister_sdclk(9)sdhci_arasan_update_support64b(9)sdhci_arasan_register_sdclk(9)
okay that's the whole page, bestie! source/version: ./drivers/mmc/host; date: October 2026; footer title: sdhci_arasan_syscon_write(9). bye and slay π«Άπ
π¦ 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