sdhci_arasan_syscon_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 β€” The sdhci_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 for shift < 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 🧚


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