mmc_wait_for_req(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to mmc_wait_for_req β€” the Kernel API Manual, section 9, has entered the chat. This one is literally β€œstart the request, then wait for it to finish” energy, and we’re keeping every detail. πŸ’…

πŸ’– NAME πŸ’–

mmc_wait_for_req β€” start a request and wait for completion.

✨ SYNOPSIS ✨

void mmc_wait_for_req (struct mmc_host *host , struct mmc_request *mrq
);

πŸŽ€ ARGUMENTS πŸŽ€

  • host β€” the MMC host to start the command on. 🫢
  • mrq β€” the MMC request to start.

πŸ¦‹ DESCRIPTION πŸ¦‹

So you hand it a host and an mrq, and it starts a new MMC custom command request for that host, then waits for the command to complete. Iconic behavior, no cap. ✨

In the case of 'cap_cmd_during_tfr' requests, the transfer is ongoing, and the caller can issue further commands that do not use the data lines, and then wait by calling mmc_wait_for_req_done. 🧚

It does not attempt to parse the response β€” like, it is not doing that job, bestie. πŸ’€

🌈 SEE ALSO 🌈


mwah πŸ’‹ β€” signing off from ./drivers/mmc/core, October 2026, on the mmc_wait_for_req(9) page πŸ«ΆπŸŽ€

πŸ“¦ where this page comes from