Lines Matching defs:buf
1542 * top-level API can be called with only data buf or OOB buf so use
1543 * chip->data_buf if data buf is null and chip->oob_poi if oob buf
1618 struct read_stats *buf;
1623 buf = (struct read_stats *)nandc->reg_read_buf;
1626 for (i = 0; i < ecc->steps; i++, buf++) {
1638 flash = le32_to_cpu(buf->flash);
1639 buffer = le32_to_cpu(buf->buffer);
1640 erased_cw = le32_to_cpu(buf->erased_cw);
1885 static int qcom_nandc_read_page(struct nand_chip *chip, u8 *buf,
1904 data_buf = buf;
1913 static int qcom_nandc_read_page_raw(struct nand_chip *chip, u8 *buf,
1920 u8 *data_buf = buf, *oob_buf = chip->oob_poi;
1959 static int qcom_nandc_write_page(struct nand_chip *chip, const u8 *buf,
1979 data_buf = (u8 *)buf;
2032 const u8 *buf, int oob_required,
2049 data_buf = (u8 *)buf;
2739 memcpy(instr->ctx.data.buf.in, &flash_status, len);
2790 memcpy(instr->ctx.data.buf.in, nandc->reg_read_buf, len);
2945 memcpy(instr->ctx.data.buf.in, nandc->data_buffer, len);