drivers/mmc/host/sdhci-cqhci.h

Source file repositories/reference/linux-study-clean/drivers/mmc/host/sdhci-cqhci.h

File Facts

System
Linux kernel
Corpus path
drivers/mmc/host/sdhci-cqhci.h
Extension
.h
Size
609 bytes
Lines
25
Domain
Driver Families
Bucket
drivers/mmc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef __MMC_HOST_SDHCI_CQHCI_H__
#define __MMC_HOST_SDHCI_CQHCI_H__

#include "cqhci.h"
#include "sdhci.h"

static inline void sdhci_and_cqhci_reset(struct sdhci_host *host, u8 mask)
{
	if ((host->mmc->caps2 & MMC_CAP2_CQE) && (mask & SDHCI_RESET_ALL) &&
	    host->mmc->cqe_private)
		cqhci_deactivate(host->mmc);

	sdhci_reset(host, mask);
}

#endif /* __MMC_HOST_SDHCI_CQHCI_H__ */

Annotation

Implementation Notes