esdhc_readl_fixup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– esdhc_readl_fixup(9) β€” Kernel API Manual, section 9 πŸ’–

okay so bestie, welcome to the Kernel API Manual entry for esdhc_readl_fixup(9). It’s giving β€œmake the eSDHC register value compatible with the SD spec,” and honestly? iconic little fixup behavior. πŸ’…


🌸 NAME 🌸

esdhc_readl_fixup β€” Fixup the value read from incompatible eSDHC register to make it compatible with SD spec. ✨


πŸŽ€ SYNOPSIS πŸŽ€

u32 esdhc_readl_fixup (struct sdhci_host *host , int spec_reg , u32 value );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • host β€” pointer to sdhci_host
  • spec_reg β€” SD spec register address
  • value β€” 32bit eSDHC register value on spec_reg address

✨ DESCRIPTION ✨

In SD spec, there are 8/16/32/64 bits registers, while all of eSDHC registers are 32 bits. So yeah, there are differences in register size, register address, register function, bit position and function between eSDHC spec and SD spec. 😭 the lore is complicated.

Return a fixed up register value β€” that’s the whole job, and it ate. 🫢


🌈 SEE ALSO 🌈


okay bye bestie 🫢 this page’s source/version is ./drivers/mmc/host, dated October 2026, and it’s literally esdhc_readl_fixup(9). mwah πŸ’‹

πŸ“¦ where this page comes from