Lines Matching refs:buf_start
197 unsigned int buf_start; member
702 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
704 host->buf_start += 2; in mxc_nand_read_byte()
706 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
707 host->buf_start++; in mxc_nand_read_byte()
710 pr_debug("%s: ret=0x%hhx (start=%u)\n", __func__, ret, host->buf_start); in mxc_nand_read_byte()
720 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_word()
721 host->buf_start += 2; in mxc_nand_read_word()
734 u16 col = host->buf_start; in mxc_nand_write_buf()
741 host->buf_start += n; in mxc_nand_write_buf()
752 u16 col = host->buf_start; in mxc_nand_read_buf()
759 host->buf_start += n; in mxc_nand_read_buf()
1079 host->buf_start = 0; in mxc_nand_command()
1092 host->buf_start = column; in mxc_nand_command()
1094 host->buf_start = column + mtd->writesize; in mxc_nand_command()
1120 host->buf_start = column; in mxc_nand_command()
1144 host->buf_start = 0; in mxc_nand_command()
1161 host->buf_start = 0; in mxc_nand_command()