Searched refs:dma_safe_buf (Results 1 – 1 of 1) sorted by relevance
216 void *dma_safe_buf; in spi_nor_read_sfdp_dma_unsafe() local219 dma_safe_buf = kmalloc(len, GFP_KERNEL); in spi_nor_read_sfdp_dma_unsafe()220 if (!dma_safe_buf) in spi_nor_read_sfdp_dma_unsafe()223 ret = spi_nor_read_sfdp(nor, addr, len, dma_safe_buf); in spi_nor_read_sfdp_dma_unsafe()224 memcpy(buf, dma_safe_buf, len); in spi_nor_read_sfdp_dma_unsafe()225 kfree(dma_safe_buf); in spi_nor_read_sfdp_dma_unsafe()
Completed in 7 milliseconds