Lines Matching refs:buf_start
198 unsigned int buf_start; member
735 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
737 host->buf_start += 2; in mxc_nand_read_byte()
739 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
740 host->buf_start++; in mxc_nand_read_byte()
743 pr_debug("%s: ret=0x%hhx (start=%u)\n", __func__, ret, host->buf_start); in mxc_nand_read_byte()
753 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_word()
754 host->buf_start += 2; in mxc_nand_read_word()
767 u16 col = host->buf_start; in mxc_nand_write_buf()
774 host->buf_start += n; in mxc_nand_write_buf()
785 u16 col = host->buf_start; in mxc_nand_read_buf()
792 host->buf_start += n; in mxc_nand_read_buf()
1145 host->buf_start = 0; in mxc_nand_command()
1158 host->buf_start = column; in mxc_nand_command()
1160 host->buf_start = column + mtd->writesize; in mxc_nand_command()
1186 host->buf_start = column; in mxc_nand_command()
1210 host->buf_start = 0; in mxc_nand_command()
1227 host->buf_start = 0; in mxc_nand_command()