Home
last modified time | relevance | path

Searched refs:txWatermark (Results 1 – 19 of 19) sorted by relevance

/hal_nxp-2.7.6/mcux/drivers/imxrt6xx/
Dfsl_flexspi.c333 base->IPTXFCR |= FLEXSPI_IPTXFCR_TXWMRK((uint32_t)config->txWatermark / 8U - 1U); in FLEXSPI_Init()
363 config->txWatermark = 8; in FLEXSPI_GetDefaultConfig()
617 …uint32_t txWatermark = ((base->IPTXFCR & FLEXSPI_IPTXFCR_TXWMRK_MASK) >> FLEXSPI_IPTXFCR_TXWMRK_SH… in FLEXSPI_WriteBlocking() local
638 if (size >= 8U * txWatermark) in FLEXSPI_WriteBlocking()
640 for (i = 0U; i < 2U * txWatermark; i++) in FLEXSPI_WriteBlocking()
645 size = size - 8U * txWatermark; in FLEXSPI_WriteBlocking()
992 uint32_t txWatermark; in FLEXSPI_TransferHandleIRQ() local
1060txWatermark = ((base->IPTXFCR & FLEXSPI_IPTXFCR_TXWMRK_MASK) >> FLEXSPI_IPTXFCR_TXWMRK_SHIFT) + 1U; in FLEXSPI_TransferHandleIRQ()
1062 if (handle->dataSize >= 8U * txWatermark) in FLEXSPI_TransferHandleIRQ()
1064 for (i = 0; i < 2U * txWatermark; i++) in FLEXSPI_TransferHandleIRQ()
[all …]
Dfsl_spi.c142 config->txWatermark = (uint8_t)kSPI_TxFifo0; in SPI_MasterGetDefaultConfig()
225 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_MasterInit()
265 config->txWatermark = (uint8_t)kSPI_TxFifo0; in SPI_SlaveGetDefaultConfig()
332 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_SlaveInit()
499 handle->txWatermark = (uint8_t)SPI_FIFOTRIG_TXLVL_GET(base); in SPI_MasterTransferCreateHandle()
1064 … SPI_FIFOTRIG_RXLVL(handle->rxWatermark) | SPI_FIFOTRIG_TXLVL(handle->txWatermark); in SPI_MasterTransferHandleIRQ()
Dfsl_spi.h182 uint8_t txWatermark; /*!< txFIFO watermark */ member
196 uint8_t txWatermark; /*!< txFIFO watermark */ member
285 uint8_t txWatermark; /*!< txFIFO watermark */ member
Dfsl_usart.h156 usart_txfifo_watermark_t txWatermark; /*!< txFIFO watermark */ member
205 uint8_t txWatermark; /*!< txFIFO watermark */ member
Dfsl_usart.c217 base->FIFOTRIG |= USART_FIFOTRIG_TXLVL(config->txWatermark); in USART_Init()
318 config->txWatermark = kUSART_TxFifo0; in USART_GetDefaultConfig()
693 handle->txWatermark = (uint8_t)USART_FIFOTRIG_TXLVL_GET(base); in USART_TransferCreateHandle()
Dfsl_flexspi.h245 uint8_t txWatermark; /*!< FLEXSPI IP transmit watermark value. */ member
/hal_nxp-2.7.6/mcux/drivers/imx/
Dfsl_flexspi.c333 base->IPTXFCR |= FLEXSPI_IPTXFCR_TXWMRK((uint32_t)config->txWatermark / 8U - 1U); in FLEXSPI_Init()
363 config->txWatermark = 8; in FLEXSPI_GetDefaultConfig()
617 …uint32_t txWatermark = ((base->IPTXFCR & FLEXSPI_IPTXFCR_TXWMRK_MASK) >> FLEXSPI_IPTXFCR_TXWMRK_SH… in FLEXSPI_WriteBlocking() local
638 if (size >= 8U * txWatermark) in FLEXSPI_WriteBlocking()
640 for (i = 0U; i < 2U * txWatermark; i++) in FLEXSPI_WriteBlocking()
645 size = size - 8U * txWatermark; in FLEXSPI_WriteBlocking()
992 uint32_t txWatermark; in FLEXSPI_TransferHandleIRQ() local
1060txWatermark = ((base->IPTXFCR & FLEXSPI_IPTXFCR_TXWMRK_MASK) >> FLEXSPI_IPTXFCR_TXWMRK_SHIFT) + 1U; in FLEXSPI_TransferHandleIRQ()
1062 if (handle->dataSize >= 8U * txWatermark) in FLEXSPI_TransferHandleIRQ()
1064 for (i = 0; i < 2U * txWatermark; i++) in FLEXSPI_TransferHandleIRQ()
[all …]
Dfsl_lpspi.c1114 uint8_t txWatermark; in LPSPI_MasterTransferNonBlocking() local
1156 txWatermark = 1U; in LPSPI_MasterTransferNonBlocking()
1161 txWatermark = 0U; in LPSPI_MasterTransferNonBlocking()
1164 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_MasterTransferNonBlocking()
1614 uint8_t txWatermark; in LPSPI_SlaveTransferNonBlocking() local
1645 txWatermark = 1U; in LPSPI_SlaveTransferNonBlocking()
1650 txWatermark = 0U; in LPSPI_SlaveTransferNonBlocking()
1653 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_SlaveTransferNonBlocking()
Dfsl_flexspi.h245 uint8_t txWatermark; /*!< FLEXSPI IP transmit watermark value. */ member
/hal_nxp-2.7.6/mcux/drivers/lpc/
Dfsl_spi.c142 config->txWatermark = (uint8_t)kSPI_TxFifo0; in SPI_MasterGetDefaultConfig()
225 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_MasterInit()
265 config->txWatermark = (uint8_t)kSPI_TxFifo0; in SPI_SlaveGetDefaultConfig()
332 tmpConfig |= SPI_FIFOTRIG_TXLVL(config->txWatermark) | SPI_FIFOTRIG_RXLVL(config->rxWatermark); in SPI_SlaveInit()
499 handle->txWatermark = (uint8_t)SPI_FIFOTRIG_TXLVL_GET(base); in SPI_MasterTransferCreateHandle()
1064 … SPI_FIFOTRIG_RXLVL(handle->rxWatermark) | SPI_FIFOTRIG_TXLVL(handle->txWatermark); in SPI_MasterTransferHandleIRQ()
Dfsl_spi.h182 uint8_t txWatermark; /*!< txFIFO watermark */ member
196 uint8_t txWatermark; /*!< txFIFO watermark */ member
285 uint8_t txWatermark; /*!< txFIFO watermark */ member
Dfsl_usart.h156 usart_txfifo_watermark_t txWatermark; /*!< txFIFO watermark */ member
205 uint8_t txWatermark; /*!< txFIFO watermark */ member
Dfsl_usart.c217 base->FIFOTRIG |= USART_FIFOTRIG_TXLVL(config->txWatermark); in USART_Init()
318 config->txWatermark = kUSART_TxFifo0; in USART_GetDefaultConfig()
693 handle->txWatermark = (uint8_t)USART_FIFOTRIG_TXLVL_GET(base); in USART_TransferCreateHandle()
/hal_nxp-2.7.6/mcux/drivers/kinetis/
Dfsl_lpspi.c1063 uint8_t txWatermark; in LPSPI_MasterTransferNonBlocking() local
1091 txWatermark = 1U; in LPSPI_MasterTransferNonBlocking()
1096 txWatermark = 0U; in LPSPI_MasterTransferNonBlocking()
1100 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_MasterTransferNonBlocking()
1548 uint8_t txWatermark; in LPSPI_SlaveTransferNonBlocking() local
1551 txWatermark = 1U; in LPSPI_SlaveTransferNonBlocking()
1556 txWatermark = 0U; in LPSPI_SlaveTransferNonBlocking()
1559 LPSPI_SetFifoWatermarks(base, txWatermark, handle->rxWatermark); in LPSPI_SlaveTransferNonBlocking()
Dfsl_spi.c399 config->txWatermark = kSPI_TxFifoOneHalfEmpty; in SPI_MasterGetDefaultConfig()
438 … base->C3 = SPI_C3_TNEAREF_MARK(config->txWatermark) | SPI_C3_RNFULLF_MARK(config->rxWatermark) | in SPI_MasterInit()
466 config->txWatermark = kSPI_TxFifoOneHalfEmpty; in SPI_SlaveGetDefaultConfig()
498 … base->C3 = SPI_C3_TNEAREF_MARK(config->txWatermark) | SPI_C3_RNFULLF_MARK(config->rxWatermark) | in SPI_SlaveInit()
Dfsl_lpspi_edma.c229 uint8_t txWatermark = 0; in LPSPI_MasterTransferEDMA() local
267 LPSPI_SetFifoWatermarks(base, txWatermark, rxWatermark); in LPSPI_MasterTransferEDMA()
761 uint8_t txWatermark = 0; in LPSPI_SlaveTransferEDMA() local
794 LPSPI_SetFifoWatermarks(base, txWatermark, rxWatermark); in LPSPI_SlaveTransferEDMA()
Dfsl_spi.h189 spi_txfifo_watermark_t txWatermark; /*!< Tx watermark settings */ member
209 spi_txfifo_watermark_t txWatermark; /*!< Tx watermark settings */ member
Dfsl_qspi.c165 base->TBCT |= QuadSPI_TBCT_WMRK((uint32_t)config->txWatermark - 1U); in QSPI_Init()
191 config->txWatermark = 8U; in QSPI_GetDefaultQspiConfig()
Dfsl_qspi.h250 … uint8_t txWatermark; /*!< QSPI transmit watermark value */ member