Lines Matching refs:cptr
820 unsigned char *bptr, *cptr, *xptr; in alauda_write_lba() local
866 cptr = bptr + pagesize; in alauda_write_lba()
868 if (!nand_compare_ecc(cptr+13, ecc)) { in alauda_write_lba()
871 nand_store_ecc(cptr+13, ecc); in alauda_write_lba()
874 if (!nand_compare_ecc(cptr+8, ecc)) { in alauda_write_lba()
877 nand_store_ecc(cptr+8, ecc); in alauda_write_lba()
879 cptr[6] = cptr[11] = MSB_of(lbap); in alauda_write_lba()
880 cptr[7] = cptr[12] = LSB_of(lbap); in alauda_write_lba()
887 cptr = bptr + pagesize; in alauda_write_lba()
891 nand_store_ecc(cptr+13, ecc); in alauda_write_lba()
893 nand_store_ecc(cptr+8, ecc); in alauda_write_lba()