Lines Matching refs:dma_buf
201 uint8_t *dma_buf; member
442 uint8_t *dma_buf; in lpc32xx_read_page() local
446 dma_buf = buf; in lpc32xx_read_page()
449 dma_buf = host->dma_buf; in lpc32xx_read_page()
475 res = lpc32xx_xmit_dma(mtd, dma_buf + i * 512, 512, in lpc32xx_read_page()
494 memcpy(buf, dma_buf, mtd->writesize); in lpc32xx_read_page()
506 uint8_t *dma_buf = (uint8_t *)buf; in lpc32xx_write_page_lowlevel() local
511 dma_buf = host->dma_buf; in lpc32xx_write_page_lowlevel()
512 memcpy(dma_buf, buf, mtd->writesize); in lpc32xx_write_page_lowlevel()
523 res = lpc32xx_xmit_dma(mtd, dma_buf + i * 512, 512, in lpc32xx_write_page_lowlevel()
653 host->dma_buf = devm_kzalloc(dev, mtd->writesize, GFP_KERNEL); in lpc32xx_nand_attach_chip()
654 if (!host->dma_buf) in lpc32xx_nand_attach_chip()