Lines Matching refs:data_buf
182 uint8_t *data_buf; member
613 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
627 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
891 memset(host->data_buf, 0xff, mtd->writesize); in mxc_nand_write_oob()
893 return mxc_nand_write_page(chip, host->data_buf, false, page); in mxc_nand_write_oob()
907 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
911 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
932 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf()
951 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf()
1384 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_command()
1406 memcpy32_toio(host->main_area0, host->data_buf, mtd->writesize); in mxc_nand_set_features()
1424 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_get_features()
1656 devm_kfree(dev, (void *)host->data_buf); in mxcnd_attach_chip()
1657 host->data_buf = devm_kzalloc(dev, mtd->writesize + mtd->oobsize, in mxcnd_attach_chip()
1659 if (!host->data_buf) in mxcnd_attach_chip()
1719 host->data_buf = devm_kzalloc(&pdev->dev, PAGE_SIZE, GFP_KERNEL); in mxcnd_probe()
1720 if (!host->data_buf) in mxcnd_probe()