Lines Matching refs:pagemask
230 chip->page_shift) & chip->pagemask; in nand_bbm_get_next_page()
259 first_page = (int)(ofs >> chip->page_shift) & chip->pagemask; in nand_block_bad()
476 status = chip->ecc.write_oob_raw(chip, page & chip->pagemask); in nand_do_write_oob()
478 status = chip->ecc.write_oob(chip, page & chip->pagemask); in nand_do_write_oob()
3567 page = realpage & chip->pagemask; in nand_do_read_ops()
3698 page = realpage & chip->pagemask; in nand_do_read_ops()
3911 page = realpage & chip->pagemask; in nand_do_read_oob()
3936 page = realpage & chip->pagemask; in nand_do_read_oob()
4447 page = realpage & chip->pagemask; in nand_do_write_ops()
4512 page = realpage & chip->pagemask; in nand_do_write_ops()
4682 ret = nand_erase_op(chip, (page & chip->pagemask) >> in nand_erase_nand()
4696 if (len && !(page & chip->pagemask)) { in nand_erase_nand()
5355 chip->pagemask = (targetsize >> chip->page_shift) - 1; in nand_detect()