Lines Matching refs:data_buf
183 uint8_t *data_buf; member
615 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
629 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
893 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob()
895 return mxc_nand_write_page(chip, host->data_buf, false, page); in mxc_nand_write_oob()
909 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
913 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
934 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf()
953 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf()
1386 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_command()
1408 memcpy32_toio(host->main_area0, host->data_buf, mtd->writesize); in mxc_nand_set_features()
1426 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_get_features()
1712 devm_kfree(dev, (void *)host->data_buf); in mxcnd_attach_chip()
1713 host->data_buf = devm_kzalloc(dev, mtd->writesize + mtd->oobsize, in mxcnd_attach_chip()
1715 if (!host->data_buf) in mxcnd_attach_chip()
1775 host->data_buf = devm_kzalloc(&pdev->dev, PAGE_SIZE, GFP_KERNEL); in mxcnd_probe()
1776 if (!host->data_buf) in mxcnd_probe()