Lines Matching refs:data_width
426 int data_width = 4; in zynq_nand_read_oob() local
432 chip->read_buf(mtd, p, (mtd->oobsize - data_width)); in zynq_nand_read_oob()
433 p += mtd->oobsize - data_width; in zynq_nand_read_oob()
438 chip->read_buf(mtd, p, data_width); in zynq_nand_read_oob()
452 int status = 0, data_width = 4; in zynq_nand_write_oob() local
458 chip->write_buf(mtd, buf, (mtd->oobsize - data_width)); in zynq_nand_write_oob()
459 buf += mtd->oobsize - data_width; in zynq_nand_write_oob()
465 chip->write_buf(mtd, buf, data_width); in zynq_nand_write_oob()
485 unsigned long data_width = 4; in zynq_nand_read_page_raw() local
492 chip->read_buf(mtd, p, (mtd->oobsize - data_width)); in zynq_nand_read_page_raw()
493 p += (mtd->oobsize - data_width); in zynq_nand_read_page_raw()
499 chip->read_buf(mtd, p, data_width); in zynq_nand_read_page_raw()
533 unsigned long data_width = 4; in zynq_nand_write_page_raw() local
540 chip->write_buf(mtd, p, (mtd->oobsize - data_width)); in zynq_nand_write_page_raw()
541 p += (mtd->oobsize - data_width); in zynq_nand_write_page_raw()
548 chip->write_buf(mtd, p, data_width); in zynq_nand_write_page_raw()
570 unsigned long data_width = 4; in zynq_nand_write_page_hwecc() local
577 chip->write_buf(mtd, p, (eccsize - data_width)); in zynq_nand_write_page_hwecc()
578 p += eccsize - data_width; in zynq_nand_write_page_hwecc()
584 chip->write_buf(mtd, p, data_width); in zynq_nand_write_page_hwecc()
600 chip->write_buf(mtd, oob_ptr, (mtd->oobsize - data_width)); in zynq_nand_write_page_hwecc()
606 oob_ptr += (mtd->oobsize - data_width); in zynq_nand_write_page_hwecc()
607 chip->write_buf(mtd, oob_ptr, data_width); in zynq_nand_write_page_hwecc()
663 unsigned long data_width = 4; in zynq_nand_read_page_hwecc() local
670 chip->read_buf(mtd, p, (eccsize - data_width)); in zynq_nand_read_page_hwecc()
671 p += eccsize - data_width; in zynq_nand_read_page_hwecc()
677 chip->read_buf(mtd, p, data_width); in zynq_nand_read_page_hwecc()
690 chip->read_buf(mtd, oob_ptr, (mtd->oobsize - data_width)); in zynq_nand_read_page_hwecc()
697 oob_ptr += (mtd->oobsize - data_width); in zynq_nand_read_page_hwecc()
698 chip->read_buf(mtd, oob_ptr, data_width); in zynq_nand_read_page_hwecc()