sdio_f0_readb(9)
π sdio_f0_readb(9) β like, the Kernel API Manual entry, bestie π
okay so picture this: it's giving "one tiny byte, zero drama" and honestly? iconic. this is sdio_f0_readb from the kernel API manual, and she's here to grab exactly one (1) byte out of SDIO function 0's address space. no more, no less. main character energy fr fr π
β¨ NAME β¨
sdio_f0_readb β read a single byte from SDIO function 0 πΈ
β¨ SYNOPSIS β¨
unsigned char sdio_f0_readb (struct sdio_func *func , unsigned int addr
, int *err_ret );
β¨ ARGUMENTS β¨
funcβ an SDIO function of the card π¦ like, the function you're poking ataddrβ address to read π the exact spot you want the byte fromerr_retβ optional status value from transfer π optional in the sense that you can pass it, and if you do, it'll tell you how things went
β¨ DESCRIPTION β¨
Reads a single byte from the address space of SDIO function 0. one byte. that's the whole vibe. π
If there is a problem reading the address, 0xff is returned and err_ret will contain the error code. so yeah β the failure signal is 0xff, and ngl that's exactly why you want to hand in an err_ret so you can actually tell "real byte" from "something went sideways" π no cap, check it.
fr fr:0xffon its own does not mean "the byte was 0xff." it means "bestie, there was an error." that's whyerr_retexists π«Ά
β¨ SEE ALSO β¨
Kernel file ./drivers/mmc/core/sdio_io.c β and like, the whole girlies here, go say hi π
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_readb(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_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)
k that's the whole page bestie, go read your one byte and slay π
π· mwah, this lil page lives in ./drivers/mmc/core, dated October 2026, and that's the sign-off π« bye pookie! π
π¦ 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