Lines Matching refs:writesize
106 if (mtd->writesize == 512 && in fsl_ifc_ooblayout_free()
154 ifc_nand_ctrl->addr = priv->vbase + buf_num * (mtd->writesize * 2); in set_addr()
159 ifc_nand_ctrl->index += mtd->writesize; in set_addr()
259 if (mtd->writesize > 512) { in fsl_ifc_do_read()
309 ifc_nand_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc()
324 ifc_nand_ctrl->read_bytes = mtd->writesize + mtd->oobsize; in fsl_ifc_cmdfunc()
387 if (mtd->writesize > 512) { in fsl_ifc_cmdfunc()
427 if (column >= mtd->writesize) in fsl_ifc_cmdfunc()
435 if (column >= mtd->writesize) { in fsl_ifc_cmdfunc()
437 column -= mtd->writesize; in fsl_ifc_cmdfunc()
513 unsigned int bufsize = mtd->writesize + mtd->oobsize; in fsl_ifc_write_buf()
675 nand_read_page_op(chip, page, 0, buf, mtd->writesize); in fsl_ifc_read_page()
700 nand_prog_page_begin_op(chip, page, 0, buf, mtd->writesize); in fsl_ifc_write_page()
766 mtd->writesize); in fsl_ifc_attach_chip()