Lines Matching refs:ui32IntStatus
553 static inline am_hal_card_cmd_err_e am_hal_sdhc_check_cmd_error_type(uint32_t ui32IntStatus) in am_hal_sdhc_check_cmd_error_type() argument
555 if (ui32IntStatus & SDIO_INTSTAT_COMMANDINDEXERROR_Msk) in am_hal_sdhc_check_cmd_error_type()
559 else if (ui32IntStatus & SDIO_INTSTAT_COMMANDENDBITERROR_Msk) in am_hal_sdhc_check_cmd_error_type()
563 else if (ui32IntStatus & SDIO_INTSTAT_COMMANDCRCERROR_Msk) in am_hal_sdhc_check_cmd_error_type()
567 else if (ui32IntStatus & SDIO_INTSTAT_COMMANDTIMEOUTERROR_Msk) in am_hal_sdhc_check_cmd_error_type()
585 uint32_t ui32IntStatus; in am_hal_sdhc_wait_cmd_done() local
596 ui32IntStatus = pSDHC->INTSTAT; in am_hal_sdhc_wait_cmd_done()
597 pCmd->eError = am_hal_sdhc_check_cmd_error_type(ui32IntStatus); in am_hal_sdhc_wait_cmd_done()
656 static inline am_hal_card_data_err_e am_hal_sdhc_check_data_error_type(uint32_t ui32IntStatus) in am_hal_sdhc_check_data_error_type() argument
658 if (ui32IntStatus & SDIO_INTSTAT_ADMAERROR_Msk) in am_hal_sdhc_check_data_error_type()
662 else if (ui32IntStatus & SDIO_INTSTAT_DATACRCERROR_Msk) in am_hal_sdhc_check_data_error_type()
666 else if (ui32IntStatus & SDIO_INTSTAT_DATATIMEOUTERROR_Msk) in am_hal_sdhc_check_data_error_type()
670 else if (ui32IntStatus & SDIO_INTSTAT_DATAENDBITERROR_Msk) in am_hal_sdhc_check_data_error_type()
695 uint32_t ui32IntStatus; in am_hal_sdhc_xfer_data() local
720 ui32IntStatus = 0; in am_hal_sdhc_xfer_data()
721 while ( !(ui32IntStatus & SDIO_INTSTAT_TRANSFERCOMPLETE_Msk) && (ui32Timeout > 0) ) in am_hal_sdhc_xfer_data()
723 ui32IntStatus = pSDHC->INTSTAT; in am_hal_sdhc_xfer_data()
725 if ( ui32IntStatus & SDIO_INTSTAT_TRANSFERCOMPLETE_Msk ) in am_hal_sdhc_xfer_data()
738 else if ( ui32IntStatus & SDIO_INTSTAT_DMAINTERRUPT_Msk ) in am_hal_sdhc_xfer_data()
750 else if ( ui32IntStatus & ui32BufReadyMask ) in am_hal_sdhc_xfer_data()
759 else if (ui32IntStatus & (SDIO_INTSTAT_ADMAERROR_Msk | in am_hal_sdhc_xfer_data()
764 pSDHC->INTSTAT = ui32IntStatus; in am_hal_sdhc_xfer_data()
765 AM_HAL_SDHC_DEBUG("Xfer Data Error - 0x%x\n", ui32IntStatus); in am_hal_sdhc_xfer_data()
766 pCmdData->eDataError = am_hal_sdhc_check_data_error_type(ui32IntStatus); in am_hal_sdhc_xfer_data()
1871 uint32_t am_hal_sdhc_interrupt_service(void *pHandle, uint32_t ui32IntStatus) in am_hal_sdhc_interrupt_service() argument
1898 if ( ui32IntStatus & SDIO_INTSTAT_BUFFERREADREADY_Msk || in am_hal_sdhc_interrupt_service()
1899 ui32IntStatus & SDIO_INTSTAT_BUFFERWRITEREADY_Msk ) in am_hal_sdhc_interrupt_service()
1908 if ( ui32IntStatus & SDIO_INTSTAT_DMAINTERRUPT_Msk ) in am_hal_sdhc_interrupt_service()
1927 if ( ui32IntStatus & SDIO_INTSTAT_TRANSFERCOMPLETE_Msk ) in am_hal_sdhc_interrupt_service()
1952 if (ui32IntStatus & (SDIO_INTSTAT_ADMAERROR_Msk | in am_hal_sdhc_interrupt_service()
1960 pHost->AsyncCmdData.eDataError = am_hal_sdhc_check_data_error_type(ui32IntStatus); in am_hal_sdhc_interrupt_service()
1967 AM_HAL_SDHC_DEBUG("Xfer ERR INT 0x%x\n", ui32IntStatus); in am_hal_sdhc_interrupt_service()
1983 if (ui32IntStatus & ( SDIO_INTSTAT_CARDREMOVAL_Msk | in am_hal_sdhc_interrupt_service()
1988 if ( ui32IntStatus & SDIO_INTSTAT_CARDREMOVAL_Msk ) in am_hal_sdhc_interrupt_service()
1993 …if ( (ui32IntStatus & SDIO_INTSTAT_CARDINSERTION_Msk) && (ui32PresentState & SDIO_PRESENT_CARDINSE… in am_hal_sdhc_interrupt_service()
2007 AM_HAL_SDHC_DEBUG("SD Card INT 0x%x\n", ui32IntStatus); in am_hal_sdhc_interrupt_service()