Searched refs:erasesize_shift (Results 1 – 3 of 3) sorted by relevance
188 unsigned int erasesize_shift; member463 if (mtd->erasesize_shift) in mtd_div_by_eb()464 return sz >> mtd->erasesize_shift; in mtd_div_by_eb()471 if (mtd->erasesize_shift) in mtd_mod_by_eb()
42 uint16_t erasesize_shift; member
448 mtd->erasesize_shift = ffs(mtd->erasesize) - 1; in add_mtd_device()450 mtd->erasesize_shift = 0; in add_mtd_device()457 mtd->erasesize_mask = (1 << mtd->erasesize_shift) - 1; in add_mtd_device()