Home
last modified time | relevance | path

Searched refs:hsq (Results 1 – 3 of 3) sorted by relevance

/drivers/mmc/host/
Dmmc_hsq.c21 struct mmc_hsq *hsq = container_of(work, struct mmc_hsq, retry_work); in mmc_hsq_retry_handler() local
22 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_retry_handler()
24 mmc->ops->request(mmc, hsq->mrq); in mmc_hsq_retry_handler()
27 static void mmc_hsq_pump_requests(struct mmc_hsq *hsq) in mmc_hsq_pump_requests() argument
29 struct mmc_host *mmc = hsq->mmc; in mmc_hsq_pump_requests()
34 spin_lock_irqsave(&hsq->lock, flags); in mmc_hsq_pump_requests()
37 if (hsq->mrq || hsq->recovery_halt) { in mmc_hsq_pump_requests()
38 spin_unlock_irqrestore(&hsq->lock, flags); in mmc_hsq_pump_requests()
43 if (!hsq->qcnt || !hsq->enabled) { in mmc_hsq_pump_requests()
44 spin_unlock_irqrestore(&hsq->lock, flags); in mmc_hsq_pump_requests()
[all …]
Dsdhci-sprd.c559 struct mmc_hsq *hsq; in sdhci_sprd_probe() local
676 hsq = devm_kzalloc(&pdev->dev, sizeof(*hsq), GFP_KERNEL); in sdhci_sprd_probe()
677 if (!hsq) { in sdhci_sprd_probe()
682 ret = mmc_hsq_init(hsq, host->mmc); in sdhci_sprd_probe()
Dmmc_hsq.h26 int mmc_hsq_init(struct mmc_hsq *hsq, struct mmc_host *mmc);