sdio_readsb(9)
π sdio_readsb β like, the SDIO FIFO reader you've been waiting for
okay so bestie, welcome to sdio_readsb(9) from the Kernel API Manual β yes it's a kernel manpage, yes it's giving serious main character energy, and yes we're gonna get through it together π«Άβ¨
β¨ NAME β¨
sdio_readsb β read from a FIFO on a SDIO function
That's it. That's the whole vibe. You're reading bytes out of a FIFO that lives on an SDIO function. Slay π
πΈ SYNOPSIS πΈ
int sdio_readsb (struct sdio_func *func , void *dst , unsigned int addr
, int count );
look at her. iconic signature. no notes π₯
π ARGUMENTS π
funcβ the SDIO function you're accessing, like, the thing you're talking to πdstβ the buffer where the data gets stored (this is where the goods land π)addrβ address of the (single byte) FIFO. yes, single byte, the original said it, so I'm saying it π―countβ number of bytes to read, i.e. how much you're grabbing π
π¦ DESCRIPTION π¦
So here's the tea β β this function reads from the specified FIFO of a given SDIO function. That's the whole job. It's giving "I do one thing and I do it well" π
The return value tells you if the transfer succeeded or not. Success? Slay. Failure? Well. You'll know π That's literally all the original says, and I'm not out here inventing lore, periodt.
ngl the whole thing is short and sweet β read the FIFO, return whether it worked. no cap, that's the entire plot π
π SEE ALSO π
okay this list is LONG and honestly kind of iconic for it π
Kernel file ./drivers/mmc/core/sdio_io.c, plus these besties:
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_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)
twenty-four besties in the group chat and every single one of them ate πβ¨
and that's the whole page, bestie!! π§ from ./drivers/mmc/core, dated October 2026, page sdio_readsb(9) β go forth and read those FIFOs, you've got this ππ
π¦ 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