Lines Matching refs:data_poi
378 this->data_poi[i] = readb (this->IO_ADDR_R); in nand_write_page()
381 this->calculate_ecc (&this->data_poi[0], &(ecc_code[0])); in nand_write_page()
387 this->calculate_ecc (&this->data_poi[256], &(ecc_code[3])); in nand_write_page()
399 this->data_poi[i] = 0xff; in nand_write_page()
403 this->data_poi[i] = 0xff; in nand_write_page()
414 writeb ( this->data_poi[i] , this->IO_ADDR_W); in nand_write_page()
421 writeb ( this->data_poi[i] , this->IO_ADDR_W); in nand_write_page()
430 writeb ( this->data_poi[i] , this->IO_ADDR_W); in nand_write_page()
441 writeb ( this->data_poi[i] , this->IO_ADDR_W); in nand_write_page()
451 writeb ( this->data_poi[i] , this->IO_ADDR_W); in nand_write_page()
496 if (this->data_poi[i] != readb (this->IO_ADDR_R)) { in nand_write_page()
557 u_char *data_poi, *oob_data = oob_buf; in nand_read_ecc() local
607 data_poi = &buf[read]; in nand_read_ecc()
609 data_poi = this->data_buf; in nand_read_ecc()
621 data_poi[j++] = readb (this->IO_ADDR_R); in nand_read_ecc()
626 data_poi[j++] = readb (this->IO_ADDR_R); in nand_read_ecc()
627 this->calculate_ecc (&data_poi[0], &ecc_calc[0]); in nand_read_ecc()
629 this->calculate_ecc (&data_poi[256], &ecc_calc[3]); in nand_read_ecc()
635 data_poi[j++] = readb (this->IO_ADDR_R); in nand_read_ecc()
636 this->calculate_ecc (&data_poi[0], &ecc_calc[0]); /* read from hardware */ in nand_read_ecc()
641 data_poi[j++] = readb (this->IO_ADDR_R); in nand_read_ecc()
642 this->calculate_ecc (&data_poi[256], &ecc_calc[3]); /* read from hardware */ in nand_read_ecc()
650 data_poi[j++] = readb (this->IO_ADDR_R); in nand_read_ecc()
651 this->calculate_ecc (&data_poi[0], &ecc_calc[0]); /* read from hardware */ in nand_read_ecc()
672 ecc_status = this->correct_data (&data_poi[0], &ecc_code[0], &ecc_calc[0]); in nand_read_ecc()
685 ecc_status = this->correct_data (&data_poi[256], &ecc_code[3], &ecc_calc[3]); in nand_read_ecc()
698 buf[read++] = data_poi[j]; in nand_read_ecc()
834 this->data_poi = (u_char*) &buf[written]; in nand_write_ecc()
842 this->data_poi = this->data_buf; in nand_write_ecc()
1031 this->data_poi = (u_char *) vecs->iov_base; in nand_writev_ecc()
1032 this->data_poi += len; in nand_writev_ecc()
1056 this->data_poi = this->data_buf; in nand_writev_ecc()