Lines Matching refs:dma_buf
212 uint8_t *dma_buf; member
453 uint8_t *dma_buf; in lpc32xx_read_page() local
457 dma_buf = buf; in lpc32xx_read_page()
460 dma_buf = host->dma_buf; in lpc32xx_read_page()
486 res = lpc32xx_xmit_dma(mtd, dma_buf + i * 512, 512, in lpc32xx_read_page()
505 memcpy(buf, dma_buf, mtd->writesize); in lpc32xx_read_page()
517 uint8_t *dma_buf = (uint8_t *)buf; in lpc32xx_write_page_lowlevel() local
522 dma_buf = host->dma_buf; in lpc32xx_write_page_lowlevel()
523 memcpy(dma_buf, buf, mtd->writesize); in lpc32xx_write_page_lowlevel()
534 res = lpc32xx_xmit_dma(mtd, dma_buf + i * 512, 512, in lpc32xx_write_page_lowlevel()
663 host->dma_buf = devm_kzalloc(dev, mtd->writesize, GFP_KERNEL); in lpc32xx_nand_attach_chip()
664 if (!host->dma_buf) in lpc32xx_nand_attach_chip()