Lines Matching refs:data_buf
184 void *data_buf; member
619 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
633 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
793 ret = nand_read_page_op(chip, page, 0, host->data_buf, mtd->writesize); in mxc_nand_read_oob()
835 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob()
838 return nand_prog_page_op(chip, page, 0, host->data_buf, mtd->writesize); in mxc_nand_write_oob()
1432 devm_kfree(dev, (void *)host->data_buf); in mxcnd_attach_chip()
1433 host->data_buf = devm_kzalloc(dev, mtd->writesize + mtd->oobsize, in mxcnd_attach_chip()
1435 if (!host->data_buf) in mxcnd_attach_chip()
1537 void *buf = host->data_buf; in copy_page_from_sram()
1612 memcpy32_fromio(host->data_buf, host->main_area0, buf_len * 2); in mxcnd_do_exec_op()
1616 u16 *bufw = host->data_buf; in mxcnd_do_exec_op()
1620 memcpy(buf_read, host->data_buf, buf_len); in mxcnd_do_exec_op()
1637 memcpy32_fromio(host->data_buf, host->main_area0, mtd->writesize); in mxcnd_do_exec_op()
1638 memcpy(buf_read, host->data_buf, buf_len); in mxcnd_do_exec_op()
1642 memcpy(buf_read, host->data_buf, buf_len); in mxcnd_do_exec_op()
1702 host->data_buf = devm_kzalloc(&pdev->dev, PAGE_SIZE, GFP_KERNEL); in mxcnd_probe()
1703 if (!host->data_buf) in mxcnd_probe()