Lines Matching refs:buf_start
172 unsigned int buf_start; member
689 info->buf_start = 0; in prepare_start_command()
755 info->buf_start = column; in prepare_set_command()
761 info->buf_start += mtd->writesize; in prepare_set_command()
783 info->buf_start = column; in prepare_set_command()
1132 if (info->buf_start < info->buf_count) in pxa3xx_nand_read_byte()
1134 retval = info->data_buff[info->buf_start++]; in pxa3xx_nand_read_byte()
1146 if (!(info->buf_start & 0x01) && info->buf_start < info->buf_count) { in pxa3xx_nand_read_word()
1147 retval = *((u16 *)(info->data_buff+info->buf_start)); in pxa3xx_nand_read_word()
1148 info->buf_start += 2; in pxa3xx_nand_read_word()
1158 int real_len = min_t(size_t, len, info->buf_count - info->buf_start); in pxa3xx_nand_read_buf()
1160 memcpy(buf, info->data_buff + info->buf_start, real_len); in pxa3xx_nand_read_buf()
1161 info->buf_start += real_len; in pxa3xx_nand_read_buf()
1170 int real_len = min_t(size_t, len, info->buf_count - info->buf_start); in pxa3xx_nand_write_buf()
1172 memcpy(info->data_buff + info->buf_start, buf, real_len); in pxa3xx_nand_write_buf()
1173 info->buf_start += real_len; in pxa3xx_nand_write_buf()