Lines Matching refs:dma_buf
201 uint8_t *dma_buf; member
443 uint8_t *dma_buf; in lpc32xx_read_page() local
447 dma_buf = buf; in lpc32xx_read_page()
450 dma_buf = host->dma_buf; in lpc32xx_read_page()
476 res = lpc32xx_xmit_dma(mtd, dma_buf + i * 512, 512, in lpc32xx_read_page()
495 memcpy(buf, dma_buf, mtd->writesize); in lpc32xx_read_page()
507 uint8_t *dma_buf = (uint8_t *)buf; in lpc32xx_write_page_lowlevel() local
512 dma_buf = host->dma_buf; in lpc32xx_write_page_lowlevel()
513 memcpy(dma_buf, buf, mtd->writesize); in lpc32xx_write_page_lowlevel()
524 res = lpc32xx_xmit_dma(mtd, dma_buf + i * 512, 512, in lpc32xx_write_page_lowlevel()
656 host->dma_buf = devm_kzalloc(dev, mtd->writesize, GFP_KERNEL); in lpc32xx_nand_attach_chip()
657 if (!host->dma_buf) in lpc32xx_nand_attach_chip()