Home
last modified time | relevance | path

Searched refs:trans_buf (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-latest/components/driver/spi/gpspi/
Dspi_master.c587 static void SPI_MASTER_ISR_ATTR spi_new_trans(spi_device_t *dev, spi_trans_priv_t *trans_buf) in spi_new_trans() argument
589 spi_transaction_t *trans = trans_buf->trans; in spi_new_trans()
819 static SPI_MASTER_ISR_ATTR void uninstall_priv_desc(spi_trans_priv_t* trans_buf) in uninstall_priv_desc() argument
821 spi_transaction_t *trans_desc = trans_buf->trans; in uninstall_priv_desc()
822 if ((void *)trans_buf->buffer_to_send != &trans_desc->tx_data[0] && in uninstall_priv_desc()
823 trans_buf->buffer_to_send != trans_desc->tx_buffer) { in uninstall_priv_desc()
824 free((void *)trans_buf->buffer_to_send); //force free, ignore const in uninstall_priv_desc()
827 if (trans_buf->buffer_to_rcv && in uninstall_priv_desc()
828 (void *)trans_buf->buffer_to_rcv != &trans_desc->rx_data[0] && in uninstall_priv_desc()
829 trans_buf->buffer_to_rcv != trans_desc->rx_buffer) { // NOLINT(clang-analyzer-unix.Malloc) in uninstall_priv_desc()
[all …]