Searched refs:rx_temp (Results 1 – 1 of 1) sorted by relevance
80 uint8_t *rx_temp = NULL; in spi_esp32_transfer() local104 rx_temp = k_calloc(((dma_len_rx << 3) + 31) / 8, sizeof(uint8_t)); in spi_esp32_transfer()105 if (!rx_temp) { in spi_esp32_transfer()116 hal_trans->rcv_buffer = rx_temp ? rx_temp : ctx->rx_buf; in spi_esp32_transfer()141 if (rx_temp) { in spi_esp32_transfer()142 memcpy(&ctx->rx_buf[0], rx_temp, transfer_len_bytes); in spi_esp32_transfer()148 k_free(rx_temp); in spi_esp32_transfer()