mmc_wait_for_req(9)
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 π
- Kernel file
./drivers/mmc/core/core.c mmc_request_done(9)mmc_cqe_request_done(9)mmc_cqe_post_req(9)mmc_is_req_done(9)mmc_wait_for_cmd(9)mmc_set_data_timeout(9)__mmc_claim_host(9)mmc_release_host(9)mmc_vdd_to_ocrbitnum(9)mmc_vddrange_to_ocrmask(9)mmc_handle_undervoltage(9)mmc_detect_change(9)mmc_erase(9)mmc_hw_reset(9)
mwah π β signing off from ./drivers/mmc/core, October 2026, on the mmc_wait_for_req(9) page π«Άπ
π¦ 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