Home
last modified time | relevance | path

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

/bsp/hpmicro/libraries/drivers/
A Ddrv_spi.c411 uint8_t *raw_alloc_tx_buf = RT_NULL; in hpm_spi_xfer_dma() local
426raw_alloc_tx_buf = (uint8_t*)rt_malloc(aligned_len + HPM_L1C_CACHELINE_SIZE - RT_ALIGN_SIZE); in hpm_spi_xfer_dma()
427 RT_ASSERT(raw_alloc_tx_buf != RT_NULL); in hpm_spi_xfer_dma()
428 aligned_tx_buf = (uint8_t*)HPM_L1C_CACHELINE_ALIGN_UP((uint32_t)raw_alloc_tx_buf); in hpm_spi_xfer_dma()
558 rt_free(raw_alloc_tx_buf); in hpm_spi_xfer_dma()
559 raw_alloc_tx_buf = RT_NULL; in hpm_spi_xfer_dma()

Completed in 4 milliseconds