Lines Matching refs:dmaMode

57 …tartTransfer(SDHC_Type *base, sdhc_command_t *command, sdhc_data_t *data, sdhc_dma_mode_t dmaMode);
147 static status_t SDHC_TransferDataBlocking(sdhc_dma_mode_t dmaMode, SDHC_Type *base, sdhc_data_t *da…
233 …StartTransfer(SDHC_Type *base, sdhc_command_t *command, sdhc_data_t *data, sdhc_dma_mode_t dmaMode) in SDHC_StartTransfer() argument
295 if (dmaMode != kSDHC_DmaModeNo) in SDHC_StartTransfer()
645 static status_t SDHC_TransferDataBlocking(sdhc_dma_mode_t dmaMode, SDHC_Type *base, sdhc_data_t *da… in SDHC_TransferDataBlocking() argument
649 if (dmaMode == kSDHC_DmaModeNo) in SDHC_TransferDataBlocking()
658 else if (dmaMode == kSDHC_DmaModeAdma1) in SDHC_TransferDataBlocking()
812 assert(config->dmaMode != kSDHC_DmaModeAdma1); in SDHC_Init()
838 proctl |= (SDHC_PROCTL_EMODE(config->endianMode) | SDHC_PROCTL_DMAS(config->dmaMode)); in SDHC_Init()
1208 sdhc_dma_mode_t dmaMode, in SDHC_SetAdmaTableConfig() argument
1224 ((dmaMode == kSDHC_DmaModeAdma1) || (dmaMode == kSDHC_DmaModeAdma2))) || in SDHC_SetAdmaTableConfig()
1227 || (dmaMode == kSDHC_DmaModeAdma1) in SDHC_SetAdmaTableConfig()
1233 …else if (((dmaMode == kSDHC_DmaModeAdma2) && (((uint32_t)startAddress % SDHC_ADMA2_LENGTH_ALIGN) !… in SDHC_SetAdmaTableConfig()
1235 …|| ((dmaMode == kSDHC_DmaModeAdma1) && (((uint32_t)startAddress % SDHC_ADMA1_LENGTH_ALIGN) != 0UL)) in SDHC_SetAdmaTableConfig()
1244 if (dmaMode == kSDHC_DmaModeAdma1) in SDHC_SetAdmaTableConfig()
1300 if (dmaMode == kSDHC_DmaModeAdma2) in SDHC_SetAdmaTableConfig()
1387 sdhc_dma_mode_t dmaMode = in SDHC_TransferBlocking() local
1409 error = SDHC_SetAdmaTableConfig(base, (sdhc_dma_mode_t)dmaMode, admaTable, admaTableWords, in SDHC_TransferBlocking()
1415 dmaMode = (sdhc_dma_mode_t)kSDHC_DmaModeNo; in SDHC_TransferBlocking()
1423 …(uint32_t)(dmaMode == kSDHC_DmaModeNo ? kSDHC_DataFlag : kSDHC_DataDMAFlag) | (uint32_t)kSDHC_Comm… in SDHC_TransferBlocking()
1431 SDHC_StartTransfer(base, command, data, (sdhc_dma_mode_t)dmaMode); in SDHC_TransferBlocking()
1441 error = SDHC_TransferDataBlocking((sdhc_dma_mode_t)dmaMode, base, data); in SDHC_TransferBlocking()
1514 sdhc_dma_mode_t dmaMode = in SDHC_TransferNonBlocking() local
1536 error = SDHC_SetAdmaTableConfig(base, dmaMode, admaTable, admaTableWords, in SDHC_TransferNonBlocking()
1543 dmaMode = kSDHC_DmaModeNo; in SDHC_TransferNonBlocking()
1558 …(uint32_t)(dmaMode == kSDHC_DmaModeNo ? kSDHC_DataFlag : kSDHC_DataDMAFlag) | (uint32_t)kSDHC_Comm… in SDHC_TransferNonBlocking()
1559 …SDHC_EnableInterruptSignal(base, (uint32_t)(dmaMode == kSDHC_DmaModeNo ? kSDHC_DataFlag : kSDHC_Da… in SDHC_TransferNonBlocking()
1568 SDHC_StartTransfer(base, command, data, dmaMode); in SDHC_TransferNonBlocking()