Searched refs:erasesize_shift (Results 1 – 3 of 3) sorted by relevance
188 unsigned int erasesize_shift; member462 if (mtd->erasesize_shift) in mtd_div_by_eb()463 return sz >> mtd->erasesize_shift; in mtd_div_by_eb()470 if (mtd->erasesize_shift) in mtd_mod_by_eb()
42 uint16_t erasesize_shift; member
450 mtd->erasesize_shift = ffs(mtd->erasesize) - 1; in add_mtd_device()452 mtd->erasesize_shift = 0; in add_mtd_device()459 mtd->erasesize_mask = (1 << mtd->erasesize_shift) - 1; in add_mtd_device()
Completed in 9 milliseconds