• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mmc/host/

Lines Matching refs:intmask

1372 static void sdhci_cmd_irq(struct sdhci_host *host, u32 intmask)
1374 BUG_ON(intmask == 0);
1379 mmc_hostname(host->mmc), (unsigned)intmask);
1384 if (intmask & SDHCI_INT_TIMEOUT)
1386 else if (intmask & (SDHCI_INT_CRC | SDHCI_INT_END_BIT |
1417 if (intmask & SDHCI_INT_RESPONSE)
1450 static void sdhci_data_irq(struct sdhci_host *host, u32 intmask)
1452 BUG_ON(intmask == 0);
1461 if (intmask & SDHCI_INT_DATA_END) {
1469 mmc_hostname(host->mmc), (unsigned)intmask);
1475 if (intmask & SDHCI_INT_DATA_TIMEOUT)
1477 else if (intmask & (SDHCI_INT_DATA_CRC | SDHCI_INT_DATA_END_BIT))
1479 else if (intmask & SDHCI_INT_ADMA_ERROR) {
1488 if (intmask & (SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL))
1496 if (intmask & SDHCI_INT_DMA_END)
1500 if (intmask & SDHCI_INT_DATA_END) {
1519 u32 intmask;
1524 intmask = sdhci_readl(host, SDHCI_INT_STATUS);
1526 if (!intmask || intmask == 0xffffffff) {
1532 mmc_hostname(host->mmc), intmask);
1534 if (intmask & (SDHCI_INT_CARD_INSERT | SDHCI_INT_CARD_REMOVE)) {
1535 sdhci_writel(host, intmask & (SDHCI_INT_CARD_INSERT |
1540 intmask &= ~(SDHCI_INT_CARD_INSERT | SDHCI_INT_CARD_REMOVE);
1542 if (intmask & SDHCI_INT_CMD_MASK) {
1543 sdhci_writel(host, intmask & SDHCI_INT_CMD_MASK,
1545 sdhci_cmd_irq(host, intmask & SDHCI_INT_CMD_MASK);
1548 if (intmask & SDHCI_INT_DATA_MASK) {
1549 sdhci_writel(host, intmask & SDHCI_INT_DATA_MASK,
1551 sdhci_data_irq(host, intmask & SDHCI_INT_DATA_MASK);
1554 intmask &= ~(SDHCI_INT_CMD_MASK | SDHCI_INT_DATA_MASK);
1556 intmask &= ~SDHCI_INT_ERROR;
1558 if (intmask & SDHCI_INT_BUS_POWER) {
1564 intmask &= ~SDHCI_INT_BUS_POWER;
1566 if (intmask & SDHCI_INT_CARD_INT)
1569 intmask &= ~SDHCI_INT_CARD_INT;
1571 if (intmask) {
1573 mmc_hostname(host->mmc), intmask);
1576 sdhci_writel(host, intmask, SDHCI_INT_STATUS);