Searched refs:tx_temp (Results 1 – 1 of 1) sorted by relevance
81 uint8_t *tx_temp = NULL; in spi_esp32_transfer() local90 tx_temp = k_malloc(dma_len_tx); in spi_esp32_transfer()91 if (!tx_temp) { in spi_esp32_transfer()95 memcpy(tx_temp, &ctx->tx_buf[0], dma_len_tx); in spi_esp32_transfer()107 k_free(tx_temp); in spi_esp32_transfer()115 hal_trans->send_buffer = tx_temp ? tx_temp : (uint8_t *)ctx->tx_buf; in spi_esp32_transfer()147 k_free(tx_temp); in spi_esp32_transfer()