Searched refs:writesize_shift (Results 1 – 3 of 3) sorted by relevance
189 unsigned int writesize_shift; member477 if (mtd->writesize_shift) in mtd_div_by_ws()478 return sz >> mtd->writesize_shift; in mtd_div_by_ws()485 if (mtd->writesize_shift) in mtd_mod_by_ws()
41 uint16_t writesize_shift; member
455 mtd->writesize_shift = ffs(mtd->writesize) - 1; in add_mtd_device()457 mtd->writesize_shift = 0; in add_mtd_device()460 mtd->writesize_mask = (1 << mtd->writesize_shift) - 1; in add_mtd_device()
Completed in 12 milliseconds