Lines Matching refs:base
40 SPI_Type *base; member
91 SPI_Type *base = config->base; in spi_mcux_transfer_next_packet() local
137 DSPI_EnableDMA(base, (uint32_t)kDSPI_RxDmaEnable | in spi_mcux_transfer_next_packet()
139 DSPI_StartTransfer(base); in spi_mcux_transfer_next_packet()
145 DSPI_EnableInterrupts(base, in spi_mcux_transfer_next_packet()
197 status = DSPI_MasterTransferNonBlocking(base, &data->handle, &transfer); in spi_mcux_transfer_next_packet()
210 SPI_Type *base = config->base; in spi_mcux_isr() local
215 if (0U != (DSPI_GetStatusFlags(base) & in spi_mcux_isr()
221 DSPI_MasterTransferHandleIRQ(base, &data->handle); in spi_mcux_isr()
339 SPI_Type *base = config->base; in update_tx_dma() local
343 DSPI_DisableDMA(base, (uint32_t)kDSPI_TxDmaEnable); in update_tx_dma()
372 DSPI_MasterGetTxRegisterAddress(base); in update_tx_dma()
394 SPI_Type *base = config->base; in update_rx_dma() local
398 DSPI_DisableDMA(base, (uint32_t)kDSPI_RxDmaEnable); in update_rx_dma()
435 DSPI_GetRxRegisterAddress(base); in update_rx_dma()
447 DSPI_GetRxRegisterAddress(base); in update_rx_dma()
481 SPI_Type *base = config->base; in dma_callback() local
514 DSPI_StopTransfer(base); in dma_callback()
515 DSPI_FlushFifo(base, true, true); in dma_callback()
516 DSPI_ClearStatusFlags(base, in dma_callback()
540 DSPI_StopTransfer(base); in dma_callback()
541 DSPI_FlushFifo(base, true, true); in dma_callback()
542 DSPI_ClearStatusFlags(base, in dma_callback()
552 static void spi_mcux_master_transfer_callback(SPI_Type *base, in spi_mcux_master_transfer_callback() argument
570 SPI_Type *base = config->base; in spi_mcux_configure() local
649 DSPI_MasterInit(base, &master_config, clock_freq); in spi_mcux_configure()
652 DSPI_StopTransfer(base); in spi_mcux_configure()
653 DSPI_FlushFifo(base, true, true); in spi_mcux_configure()
654 DSPI_ClearStatusFlags(base, (uint32_t)kDSPI_AllStatusFlag); in spi_mcux_configure()
663 DSPI_MasterTransferCreateHandle(base, &data->handle, in spi_mcux_configure()
667 DSPI_SetDummyData(base, 0); in spi_mcux_configure()
687 SPI_Type *base = config->base; in transceive() local
702 DSPI_StopTransfer(base); in transceive()
703 DSPI_FlushFifo(base, true, true); in transceive()
704 DSPI_ClearStatusFlags(base, (uint32_t)kDSPI_AllStatusFlag); in transceive()
894 .base = (SPI_Type *)DT_INST_REG_ADDR(id), \