sdio_readb(9)
π sdio_readb(9) π
okay so this is sdio_readb(9) from the Kernel API Manual, and it's giving βread one single byte from a SDIO functionβ energy. no cap, that's the whole vibe. π¦
πΈ NAME πΈ
sdio_readb β read a single byte from a SDIO function
π SYNOPSIS π
so the signature is literally right here, bestie:
u8 sdio_readb (struct sdio_func *func , unsigned int addr , int *err_ret
);
β¨ ARGUMENTS β¨
funcβ the SDIO function to access. that's the main character you're working with πaddrβ the address to read. yes, the actual address, don't skip it π―err_retβ optional status value from the transfer. it's optional, but it's there if you need the status tea β
π DESCRIPTION π
Reads a single byte from the address space of a given SDIO function. simple, iconic, one byte at a time. π
If there's a problem reading the address, 0xff is returned, and err_ret will contain the error code. so yeah, if things go sideways, 0xff is the little βsomething went wrongβ signal, and err_ret has the actual error code. periodt. π₯
π₯ SEE ALSO π₯
Kernel file: ./drivers/mmc/core/sdio_io.c β go check it out, iykyk π
and these besties are all in the SEE ALSO circle too:
sdio_claim_host(9)sdio_release_host(9)sdio_enable_func(9)sdio_disable_func(9)sdio_set_block_size(9)sdio_align_size(9)sdio_writeb(9)sdio_writeb_readb(9)sdio_memcpy_fromio(9)sdio_memcpy_toio(9)sdio_readsb(9)sdio_writesb(9)sdio_readw(9)sdio_writew(9)sdio_readl(9)sdio_writel(9)sdio_f0_readb(9)sdio_f0_writeb(9)sdio_get_host_pm_caps(9)sdio_set_host_pm_flags(9)sdio_retune_crc_disable(9)sdio_retune_crc_enable(9)sdio_retune_hold_now(9)sdio_retune_release(9)
that's the whole page, bestie π«Ά sending you off with the source/version ./drivers/mmc/core and the date October 2026 for sdio_readb(9) β mwah πβ¨
π¦ 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