Lines Matching refs:tx_buf
315 const void *tx_buf; member
509 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs); in stm32f4_spi_write_tx()
514 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs); in stm32f4_spi_write_tx()
539 const u32 *tx_buf32 = (const u32 *)(spi->tx_buf + offs); in stm32h7_spi_write_txfifo()
544 const u16 *tx_buf16 = (const u16 *)(spi->tx_buf + offs); in stm32h7_spi_write_txfifo()
549 const u8 *tx_buf8 = (const u8 *)(spi->tx_buf + offs); in stm32h7_spi_write_txfifo()
823 if (spi->tx_buf) in stm32f4_spi_irq_event()
833 else if (spi->tx_buf)/* Load data for discontinuous mode */ in stm32f4_spi_irq_event()
943 if (!spi->cur_usedma && (spi->tx_buf && (spi->tx_len > 0))) in stm32h7_spi_irq_thread()
1150 if (spi->tx_buf) in stm32f4_spi_transfer_one_irq()
1172 if (spi->tx_buf && spi->rx_buf) /* Full Duplex */ in stm32h7_spi_transfer_one_irq()
1174 else if (spi->tx_buf) /* Half-Duplex TX dir or Simplex TX */ in stm32h7_spi_transfer_one_irq()
1188 if (spi->tx_buf) in stm32h7_spi_transfer_one_irq()
1277 if (spi->tx_buf && spi->dma_tx) { in stm32_spi_transfer_one_dma()
1288 if ((spi->tx_buf && spi->dma_tx && !tx_dma_desc) || in stm32_spi_transfer_one_dma()
1420 if (!transfer->tx_buf) in stm32_spi_communication_type()
1425 if (!transfer->tx_buf) in stm32_spi_communication_type()
1638 spi->tx_buf = transfer->tx_buf; in stm32_spi_transfer_one()
1640 spi->tx_len = spi->tx_buf ? transfer->len : 0; in stm32_spi_transfer_one()