Lines Matching refs:baseAddr

187         UDMA_MODE_BASIC, buf, (void *) (hwAttrs->baseAddr + MCSPI_O_TX0),  in configDMA()
211 UDMA_MODE_BASIC, (void *) (hwAttrs->baseAddr + MCSPI_O_RX0), buf, in configDMA()
234 MAP_SPIDmaEnable(hwAttrs->baseAddr, SPI_RX_DMA | SPI_TX_DMA); in configDMA()
235 MAP_SPIIntClear(hwAttrs->baseAddr, SPI_INT_DMARX); in configDMA()
236 MAP_SPIIntEnable(hwAttrs->baseAddr, SPI_INT_DMARX); in configDMA()
237 MAP_SPIWordCountSet(hwAttrs->baseAddr, object->currentXferAmt); in configDMA()
245 MAP_SPIEnable(hwAttrs->baseAddr); in configDMA()
246 MAP_SPICSEnable(hwAttrs->baseAddr); in configDMA()
265 static uint16_t getPowerMgrId(uint32_t baseAddr) in getPowerMgrId() argument
267 switch (baseAddr) { in getPowerMgrId()
288 MAP_SPICSDisable(hwAttrs->baseAddr); in initHw()
289 MAP_SPIDisable(hwAttrs->baseAddr); in initHw()
290 MAP_SPIReset(hwAttrs->baseAddr); in initHw()
292 MAP_SPIConfigSetExpClk(hwAttrs->baseAddr, in initHw()
298 MAP_SPIFIFOEnable(hwAttrs->baseAddr, SPI_RX_FIFO | SPI_TX_FIFO); in initHw()
299 MAP_SPIFIFOLevelSet(hwAttrs->baseAddr, object->txFifoTrigger, in initHw()
332 intFlags = MAP_SPIIntStatus(hwAttrs->baseAddr, false); in spiHwiFxn()
334 MAP_SPIIntDisable(hwAttrs->baseAddr, SPI_INT_DMATX); in spiHwiFxn()
335 MAP_SPIIntClear(hwAttrs->baseAddr, SPI_INT_DMATX); in spiHwiFxn()
344 MAP_SPIDmaDisable(hwAttrs->baseAddr, SPI_RX_DMA | SPI_TX_DMA); in spiHwiFxn()
345 MAP_SPIIntDisable(hwAttrs->baseAddr, SPI_INT_DMARX); in spiHwiFxn()
346 MAP_SPIIntClear(hwAttrs->baseAddr, SPI_INT_DMARX); in spiHwiFxn()
347 MAP_SPICSDisable(hwAttrs->baseAddr); in spiHwiFxn()
348 MAP_SPIDisable(hwAttrs->baseAddr); in spiHwiFxn()
421 MAP_SPIWordCountSet(hwAttrs->baseAddr, 0); in spiPollingTransfer()
422 MAP_SPIEnable(hwAttrs->baseAddr); in spiPollingTransfer()
423 MAP_SPICSEnable(hwAttrs->baseAddr); in spiPollingTransfer()
427 MAP_SPIDataPut(hwAttrs->baseAddr, *((uint8_t *) txBuf)); in spiPollingTransfer()
428 MAP_SPIDataGet(hwAttrs->baseAddr, (unsigned long *)&dummyBuffer); in spiPollingTransfer()
432 MAP_SPIDataPut(hwAttrs->baseAddr, *((uint16_t *) txBuf)); in spiPollingTransfer()
433 MAP_SPIDataGet(hwAttrs->baseAddr, (unsigned long *) &dummyBuffer); in spiPollingTransfer()
437 MAP_SPIDataPut(hwAttrs->baseAddr, *((uint32_t *) txBuf)); in spiPollingTransfer()
438 MAP_SPIDataGet(hwAttrs->baseAddr, (unsigned long * ) rxBuf); in spiPollingTransfer()
450 MAP_SPICSDisable(hwAttrs->baseAddr); in spiPollingTransfer()
451 MAP_SPIDisable(hwAttrs->baseAddr); in spiPollingTransfer()
463 MAP_SPICSDisable(hwAttrs->baseAddr); in SPICC32XXDMA_close()
464 MAP_SPIDisable(hwAttrs->baseAddr); in SPICC32XXDMA_close()
465 MAP_SPIFIFODisable(hwAttrs->baseAddr, SPI_RX_FIFO | SPI_TX_FIFO); in SPICC32XXDMA_close()
468 Power_releaseDependency(getPowerMgrId(hwAttrs->baseAddr)); in SPICC32XXDMA_close()
559 powerMgrId = getPowerMgrId(hwAttrs->baseAddr); in SPICC32XXDMA_open()
780 MAP_SPIIntDisable(hwAttrs->baseAddr, SPI_INT_DMARX); in SPICC32XXDMA_transferCancel()
781 MAP_SPIIntClear(hwAttrs->baseAddr, SPI_INT_DMARX); in SPICC32XXDMA_transferCancel()
782 MAP_SPIDmaDisable(hwAttrs->baseAddr, SPI_RX_DMA | SPI_TX_DMA); in SPICC32XXDMA_transferCancel()