Lines Matching refs:tx_buf
189 if (data->ctx.tx_buf != NULL) { in ra_spi_transceive_slave()
191 tx = *(uint32_t *)(data->ctx.tx_buf); in ra_spi_transceive_slave()
193 tx = *(uint16_t *)(data->ctx.tx_buf); in ra_spi_transceive_slave()
195 tx = *(uint8_t *)(data->ctx.tx_buf); in ra_spi_transceive_slave()
251 tx = *(uint32_t *)(data->ctx.tx_buf); in ra_spi_transceive_master()
253 tx = *(uint16_t *)(data->ctx.tx_buf); in ra_spi_transceive_master()
255 tx = *(uint8_t *)(data->ctx.tx_buf); in ra_spi_transceive_master()
368 R_SPI_Write(&data->spi, data->ctx.tx_buf, data->data_len, spi_width); in transceive()
369 } else if (data->ctx.tx_buf == NULL) { in transceive()
372 R_SPI_WriteRead(&data->spi, data->ctx.tx_buf, data->ctx.rx_buf, data->data_len, in transceive()
500 data->spi.p_tx_data = data->ctx.tx_buf; in ra_spi_retransmit()
508 data->spi.p_tx_data = data->ctx.tx_buf; in ra_spi_retransmit()
565 p_info->p_src = data->ctx.tx_buf; in ra_spi_retransmit()
567 if (NULL == data->ctx.tx_buf) { in ra_spi_retransmit()
595 if (data->ctx.rx_buf != NULL && data->ctx.tx_buf != NULL) { in ra_spi_rxi_isr()
598 } else if (data->ctx.tx_buf == NULL) { in ra_spi_rxi_isr()