Lines Matching refs:intMask
1837 static void SdhciCmdIrq(struct SdhciHost *host, uint32_t intMask)
1843 if (intMask & SDHCI_INTERRUPT_TIMEOUT) {
1845 } else if (intMask & (SDHCI_INTERRUPT_CRC | SDHCI_INTERRUPT_END_BIT | SDHCI_INTERRUPT_INDEX)) {
1858 if (intMask & SDHCI_INTERRUPT_RESPONSE) {
1878 static void SdhciDataIrq(struct SdhciHost *host, uint32_t intMask)
1885 if (intMask & SDHCI_INTERRUPT_DATA_TIMEOUT) {
1890 if (intMask & SDHCI_INTERRUPT_DATA_END) {
1900 if (intMask & SDHCI_INTERRUPT_DATA_TIMEOUT) {
1902 } else if (intMask & SDHCI_INTERRUPT_END_BIT) {
1904 } else if ((intMask & SDHCI_INTERRUPT_DATA_CRC)) {
1906 } else if (intMask & SDHCI_INTERRUPT_ADMA_ERROR) {
1913 HDF_LOGE("err = 0x%x, cmd = %u, interrupt = 0x%x.", cmd->data->returnError, command, intMask);
1918 if (intMask & SDHCI_INTERRUPT_DATA_END) {
1921 HDF_LOGE("do check here! intmask = 0x%x.", intMask);
1929 uint32_t intMask;
1937 while ((intMask = SdhciReadl(host, NORMAL_INT_STAT_R)) != 0) {
1938 SdhciWritel(host, intMask, NORMAL_INT_STAT_R);
1939 if (intMask & SDHCI_CART_PLUG_STATE) {
1943 SdhciWritel(host, intMask & SDHCI_CART_PLUG_STATE, NORMAL_INT_STAT_R);
1950 if (intMask & SDHCI_INT_CMD_MASK) {
1951 SdhciCmdIrq(host, (intMask & SDHCI_INT_CMD_MASK));
1953 if (intMask & SDHCI_INT_DATA_MASK) {
1954 SdhciDataIrq(host, (intMask & SDHCI_INT_DATA_MASK));
1956 if (intMask & SDHCI_INTERRUPT_BUS_POWER) {
1959 if (intMask & SDHCI_INTERRUPT_CARD_INT) {