mmc_set_data_timeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ mmc_set_data_timeout ✨

Hey bestie, welcome to the Kernel API Manual page for mmc_set_data_timeout πŸ’– This is a little function that handles data-command timeouts, and honestly? It's giving "quietly vital" energy. Let's get into it 🫢


🌸 NAME 🌸

mmc_set_data_timeout β€” set the timeout for a data command ⏰


πŸŽ€ SYNOPSIS πŸŽ€

void mmc_set_data_timeout (struct mmc_data *data , const struct mmc_card
*card );

Okay so it takes two things, and it returns void (so like, no return value, she just does her job and dips πŸ’…).


πŸ¦‹ ARGUMENTS πŸ¦‹

  • data β€” the data phase for the command. This is the struct she's going to poke at and fill in with timeout info ✨
  • card β€” the MMC card associated with the data transfer. Basically, the card whose type determines which algorithm gets used πŸ‘‘

πŸ”₯ DESCRIPTION πŸ”₯

So what does she actually do? She computes the data timeout parameters according to the correct algorithm, given the card type. That's it, that's the whole vibe β€” different card types, correct algorithm, timeout parameters set. Lowkey iconic that a one-liner description can carry so much weight 😭✨

No cap, if you're handing her a data struct and the matching card, she's going to sort out the timeout situation for you. Periodt πŸ’…


🌈 SEE ALSO 🌈

If you wanna go deeper (and honestly, why wouldn't you πŸ‘€), check out the kernel file ./drivers/mmc/core/core.c and all these fellow function besties:

Literally a whole friend group of MMC functions, iykyk πŸ§šβ€β™€οΈ


πŸ’‘ Reminder for the girlies in the back: this lives under ./drivers/mmc/core, so that's your hotspot if you're snooping around the source πŸ•΅οΈβ€β™€οΈ

And that's the whole page, bestie! No notes, she ate 🌸

Sign-off cuteness: this gem comes from the Kernel API Manual, dated October 2026, and it's filed under ./drivers/mmc/core β€” copy that into your notes and slay the day πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from