Lines Matching refs:data_buf
135 u8 *data_buf; member
400 return meson_chip->data_buf + len; in meson_nfc_oob_ptr()
411 return meson_chip->data_buf + len; in meson_nfc_data_ptr()
766 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_write_page_sub()
800 memcpy(meson_chip->data_buf, buf, mtd->writesize); in meson_nfc_write_page_hwecc()
845 ret = meson_nfc_dma_buffer_setup(nand, meson_chip->data_buf, in meson_nfc_read_page_sub()
923 } else if (buf && buf != meson_chip->data_buf) { in meson_nfc_read_page_hwecc()
924 memcpy(buf, meson_chip->data_buf, mtd->writesize); in meson_nfc_read_page_hwecc()
1219 kfree(meson_chip->data_buf); in meson_nfc_free_buffer()
1233 meson_chip->data_buf = kmalloc(page_bytes, GFP_KERNEL); in meson_chip_buffer_init()
1234 if (!meson_chip->data_buf) in meson_chip_buffer_init()
1239 kfree(meson_chip->data_buf); in meson_chip_buffer_init()