Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/mtd/spi-nor/
A Dsfdp.c216 void *dma_safe_buf; in spi_nor_read_sfdp_dma_unsafe() local
219 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