Lines Matching refs:data_buf
197 uint8_t *data_buf; member
593 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v3()
607 memcpy32_fromio(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
735 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
739 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
753 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_word()
772 memcpy(host->data_buf + col, buf, n); in mxc_nand_write_buf()
790 memcpy(buf, host->data_buf + col, n); in mxc_nand_read_buf()
858 u8 *d = host->data_buf + mtd->writesize; in copy_spare()
1176 memcpy32_fromio(host->data_buf, host->main_area0, in mxc_nand_command()
1196 memcpy32_toio(host->main_area0, host->data_buf, mtd->writesize); in mxc_nand_command()
1226 memcpy32_fromio(host->data_buf, host->main_area0, 512); in mxc_nand_command()
1511 host->data_buf = devm_kzalloc(&pdev->dev, PAGE_SIZE, GFP_KERNEL); in mxcnd_probe()
1512 if (!host->data_buf) in mxcnd_probe()
1643 devm_kfree(&pdev->dev, (void *)host->data_buf); in mxcnd_probe()
1644 host->data_buf = devm_kzalloc(&pdev->dev, mtd->writesize + mtd->oobsize, in mxcnd_probe()
1646 if (!host->data_buf) { in mxcnd_probe()