mmc_is_req_done(9)
π NAME π
Okay bestie, welcome to the mmc_is_req_done(9) page from the Kernel API Manual β¨ This one is literally about determining if a 'cap_cmd_during_tfr' request is done. Thatβs the whole vibe π
β¨ SYNOPSIS β¨
bool mmc_is_req_done (struct mmc_host *host , struct mmc_request *mrq );
No cap, thatβs the function signature, copied exactly so you donβt have to squint π
π«Ά ARGUMENTS π«Ά
hostβ MMC host. The main character of the hardware side πmrqβ MMC request. The request bestie getting checked πΈ
π DESCRIPTION π
Okay so hereβs the tea: mmc_is_req_done is used with requests that have mrq->cap_cmd_during_tfr = true. Highkey important, bestie π¦
mmc_is_req_done must be called after starting a request and before waiting for it to complete. That is, either in between calls to mmc_start_req, or after mmc_wait_for_req and before mmc_wait_for_req_done. Fr fr, those are the timing windows π
If it is called at other times the result is not meaningful. Like, not βoops tiny typoβ not meaningful β the result just isnβt meaningful, periodt π
π SEE ALSO π
Kernel file ./drivers/mmc/core/core.c β the kernel file reference for this whole situation π
mmc_request_done(9)mmc_cqe_request_done(9)mmc_cqe_post_req(9)mmc_wait_for_req(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)
Thatβs the whole page, bestie π This beauty lives under ./drivers/mmc/core and is dated October 2026 β mmc_is_req_done(9) signing off π«Άβ¨
π¦ 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