Lines Matching refs:cptr
815 unsigned char *bptr, *cptr, *xptr; in alauda_write_lba() local
863 cptr = bptr + pagesize; in alauda_write_lba()
865 if (!nand_compare_ecc(cptr+13, ecc)) { in alauda_write_lba()
868 nand_store_ecc(cptr+13, ecc); in alauda_write_lba()
871 if (!nand_compare_ecc(cptr+8, ecc)) { in alauda_write_lba()
874 nand_store_ecc(cptr+8, ecc); in alauda_write_lba()
876 cptr[6] = cptr[11] = MSB_of(lbap); in alauda_write_lba()
877 cptr[7] = cptr[12] = LSB_of(lbap); in alauda_write_lba()
884 cptr = bptr + pagesize; in alauda_write_lba()
888 nand_store_ecc(cptr+13, ecc); in alauda_write_lba()
890 nand_store_ecc(cptr+8, ecc); in alauda_write_lba()