Lines Matching refs:tx_buf
177 if (data->ctx.tx_buf != NULL) { in ra_spi_b_transceive_slave()
179 tx = *(uint32_t *)(data->ctx.tx_buf); in ra_spi_b_transceive_slave()
181 tx = *(uint16_t *)(data->ctx.tx_buf); in ra_spi_b_transceive_slave()
183 tx = *(uint8_t *)(data->ctx.tx_buf); in ra_spi_b_transceive_slave()
226 tx = *(uint32_t *)(data->ctx.tx_buf); in ra_spi_b_transceive_master()
228 tx = *(uint16_t *)(data->ctx.tx_buf); in ra_spi_b_transceive_master()
230 tx = *(uint8_t *)(data->ctx.tx_buf); in ra_spi_b_transceive_master()
330 R_SPI_B_Write(&data->spi, data->ctx.tx_buf, data->data_len, spi_width); in transceive()
331 } else if (data->ctx.tx_buf == NULL) { in transceive()
334 R_SPI_B_WriteRead(&data->spi, data->ctx.tx_buf, data->ctx.rx_buf, data->data_len, in transceive()
458 data->spi.p_tx_data = data->ctx.tx_buf; in ra_spi_retransmit()
466 data->spi.p_tx_data = data->ctx.tx_buf; in ra_spi_retransmit()
522 p_info->p_src = data->ctx.tx_buf; in ra_spi_retransmit()
524 if (NULL == data->ctx.tx_buf) { in ra_spi_retransmit()
548 if (data->ctx.rx_buf != NULL && data->ctx.tx_buf != NULL) { in ra_spi_rxi_isr()
551 } else if (data->ctx.tx_buf == NULL) { in ra_spi_rxi_isr()