Searched refs:tx_ch (Results 1 – 3 of 3) sorted by relevance
| /bsp/loongson/ls1cdev/libraries/ |
| A D | ls1c_spi.c | 267 unsigned char ls1c_spi_txrx_byte(void *spi_base, unsigned char tx_ch) in ls1c_spi_txrx_byte() argument 272 reg_write_8(tx_ch, spi_base + LS1C_SPI_TxFIFO_OFFSET); // 开始发送 in ls1c_spi_txrx_byte()
|
| A D | ls1c_spi.h | 119 unsigned char ls1c_spi_txrx_byte(void *spi_base, unsigned char tx_ch);
|
| /bsp/ck802/libraries/common/spi/ |
| A D | dw_spi.c | 285 int32_t tx_ch = csi_dma_alloc_channel(spi_priv->dma_handle, -1); in dw_spi_dma_transfer() local 287 if (tx_ch < 0) { in dw_spi_dma_transfer() 288 return tx_ch; in dw_spi_dma_transfer() 291 spi_priv->dma_tx_id = tx_ch; in dw_spi_dma_transfer() 352 …ret = csi_dma_config(spi_priv->dma_handle, tx_ch, dma_send_buf, (uint8_t *) & (addr->DR), spi_priv… in dw_spi_dma_transfer() 372 ret = csi_dma_start(spi_priv->dma_handle, tx_ch); in dw_spi_dma_transfer() 378 while (csi_dma_get_status(spi_priv->dma_handle, tx_ch) != DMA_STATE_DONE); in dw_spi_dma_transfer() 392 csi_dma_stop(spi_priv->dma_handle, tx_ch); in dw_spi_dma_transfer() 399 csi_dma_release_channel(spi_priv->dma_handle, tx_ch); in dw_spi_dma_transfer()
|
Completed in 6 milliseconds