Lines Matching refs:data_buf
196 uint8_t *data_buf; member
560 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
574 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
702 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
706 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
720 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_word()
739 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf()
757 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf()
818 u8 *d = host->data_buf + mtd->writesize; in copy_spare()
1110 memcpy32_fromio(host->data_buf, host->main_area0, in mxc_nand_command()
1130 memcpy32_toio(host->main_area0, host->data_buf, mtd->writesize); in mxc_nand_command()
1160 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_command()
1444 host->data_buf = devm_kzalloc(&pdev->dev, PAGE_SIZE, GFP_KERNEL); in mxcnd_probe()
1445 if (!host->data_buf) in mxcnd_probe()
1577 devm_kfree(&pdev->dev, (void *)host->data_buf); in mxcnd_probe()
1578 host->data_buf = devm_kzalloc(&pdev->dev, mtd->writesize + mtd->oobsize, in mxcnd_probe()
1580 if (!host->data_buf) { in mxcnd_probe()