Searched refs:eraseblock (Results 1 – 3 of 3) sorted by relevance
76 unsigned int eraseblock; member434 pos->eraseblock = do_div(tmp, nand->memorg.eraseblocks_per_lun); in nanddev_offs_to_pos()435 pos->plane = pos->eraseblock % nand->memorg.planes_per_lun; in nanddev_offs_to_pos()460 if (a->eraseblock != b->eraseblock) in nanddev_pos_cmp()461 return a->eraseblock < b->eraseblock ? -1 : 1; in nanddev_pos_cmp()486 ((pos->eraseblock + in nanddev_pos_to_offs()509 (pos->eraseblock << nand->rowconv.eraseblock_addr_shift) | in nanddev_pos_to_row()526 pos->eraseblock = 0; in nanddev_pos_next_target()548 pos->eraseblock = 0; in nanddev_pos_next_lun()562 if (pos->eraseblock >= nand->memorg.eraseblocks_per_lun - 1) in nanddev_pos_next_eraseblock()[all …]
1715 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock);
74 This is used to serialise access to the eraseblock lists, to the75 per-eraseblock lists of physical jffs2_raw_node_ref structures, and