rsi_setblocklength(9)
π rsi_setblocklength(9) β like, the Kernel API Manual entry, bestie π
Okay so picture this: it's section 9 of the Kernel API Manual, the function is rsi_setblocklength, and it's literally the glow-up moment where the host block length gets set. That's the whole vibe. Let's get into it β¨
πΈ NAME πΈ
rsi_setblocklength β this function sets the host block length. That's it, that's the job, and honestly? She ate. π
β¨ SYNOPSIS β¨
int rsi_setblocklength (struct rsi_hw *adapter , u32 length );
Like, you hand her an adapter and a length, and she gives you back an int. Simple. Iconic. No notes. π«Ά
π¦ ARGUMENTS π¦
adapterβ pointer to the adapter structure. Yep, the whole struct, she needs the pointer, don't @ me πlengthβ the block length to be set. That's the number going in, bestie,u32style π
π₯ RETURN π₯
status: 0 on success, -1 on failure. No cap β 0 means she slayed, -1 means it did not go well π
Heads up gorgeous:0= success,-1= failure. That's the entire return contract, so check it, fr fr.
π SEE ALSO π
The kernel file lives at ./drivers/net/wireless/rsi/rsi_91x_sdio.c β go look, it's giving main character energy π
And then there's the whole friend group, the entourage, the group chat of related functions:
rsi_sdio_set_cmd52_arg(9)rsi_cmd52writebyte(9)rsi_cmd52readbyte(9)rsi_issue_sdiocommand(9)rsi_handle_interrupt(9)rsi_reset_card(9)rsi_setclock(9)rsi_setupcard(9)rsi_sdio_read_register(9)rsi_sdio_write_register(9)rsi_sdio_ack_intr(9)rsi_sdio_read_register_multiple(9)rsi_sdio_write_register_multiple(9)rsi_sdio_host_intf_write_pkt(9)rsi_sdio_host_intf_read_pkt(9)rsi_init_sdio_interface(9)rsi_probe(9)rsi_disconnect(9)
Like, that's the whole squad right there. Read them all, iykyk πβ
Okay that's the page!! π§ Mwah, mwah π β this little writeup comes to you straight from ./drivers/net/wireless/rsi, dated October 2026, and honestly? A whole era. Go set that block length, bestie, you're gonna do amazing ππβ¨
π¦ 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