Searched refs:writesize_shift (Results 1 – 3 of 3) sorted by relevance
189 unsigned int writesize_shift; member478 if (mtd->writesize_shift) in mtd_div_by_ws()479 return sz >> mtd->writesize_shift; in mtd_div_by_ws()486 if (mtd->writesize_shift) in mtd_mod_by_ws()
41 uint16_t writesize_shift; member
453 mtd->writesize_shift = ffs(mtd->writesize) - 1; in add_mtd_device()455 mtd->writesize_shift = 0; in add_mtd_device()458 mtd->writesize_mask = (1 << mtd->writesize_shift) - 1; in add_mtd_device()