Lines Matching refs:oob_poi
1778 ret = nand_read_data_op(chip, chip->oob_poi, mtd->oobsize, in nand_read_page_raw()
1803 uint8_t *oob = chip->oob_poi; in nand_read_page_raw_syndrome()
1838 size = mtd->oobsize - (oob - chip->oob_poi); in nand_read_page_raw_syndrome()
1874 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_swecc()
1952 chip->oob_poi, mtd->oobsize, in nand_read_subpage()
1970 &chip->oob_poi[aligned_pos], in nand_read_subpage()
1977 chip->buffers->ecccode[i] = chip->oob_poi[eccpos[i + index]]; in nand_read_subpage()
2038 ret = nand_read_data_op(chip, chip->oob_poi, mtd->oobsize, false); in nand_read_page_hwecc()
2043 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_hwecc()
2099 ret = nand_read_oob_op(chip, page, 0, chip->oob_poi, mtd->oobsize); in nand_read_page_hwecc_oob_first()
2108 ecc_code[i] = chip->oob_poi[eccpos[i]]; in nand_read_page_hwecc_oob_first()
2160 uint8_t *oob = chip->oob_poi; in nand_read_page_syndrome()
2219 i = mtd->oobsize - (oob - chip->oob_poi); in nand_read_page_syndrome()
2243 memcpy(oob, chip->oob_poi + ops->ooboffs, len); in nand_transfer_oob()
2266 memcpy(oob, chip->oob_poi + boffs, bytes); in nand_transfer_oob()
2499 return nand_read_oob_op(chip, page, 0, chip->oob_poi, mtd->oobsize); in nand_read_oob_std()
2515 uint8_t *bufpoi = chip->oob_poi; in nand_read_oob_syndrome()
2566 return nand_prog_page_op(chip, page, mtd->writesize, chip->oob_poi, in nand_write_oob_std()
2583 const uint8_t *bufpoi = chip->oob_poi; in nand_write_oob_syndrome()
2807 ret = nand_write_data_op(chip, chip->oob_poi, mtd->oobsize, in nand_write_page_raw()
2833 uint8_t *oob = chip->oob_poi; in nand_write_page_raw_syndrome()
2868 size = mtd->oobsize - (oob - chip->oob_poi); in nand_write_page_raw_syndrome()
2901 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_swecc()
2937 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_hwecc()
2939 ret = nand_write_data_op(chip, chip->oob_poi, mtd->oobsize, false); in nand_write_page_hwecc()
2962 uint8_t *oob_buf = chip->oob_poi; in nand_write_subpage_hwecc()
3003 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_subpage_hwecc()
3006 ret = nand_write_data_op(chip, chip->oob_poi, mtd->oobsize, false); in nand_write_subpage_hwecc()
3034 uint8_t *oob = chip->oob_poi; in nand_write_page_syndrome()
3072 i = mtd->oobsize - (oob - chip->oob_poi); in nand_write_page_syndrome()
3146 memset(chip->oob_poi, 0xff, mtd->oobsize); in nand_fill_oob()
3152 memcpy(chip->oob_poi + ops->ooboffs, oob, len); in nand_fill_oob()
3175 memcpy(chip->oob_poi + boffs, oob, bytes); in nand_fill_oob()
3280 memset(chip->oob_poi, 0xff, mtd->oobsize); in nand_do_write_ops()
5036 chip->oob_poi = chip->buffers->databuf + mtd->writesize; in nand_scan_tail()