Home
last modified time | relevance | path

Searched refs:writesize_shift (Results 1 – 3 of 3) sorted by relevance

/external/u-boot/include/linux/mtd/
Dmtd.h189 unsigned int writesize_shift; member
478 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()
/external/u-boot/tools/
Dmtk_image.h41 uint16_t writesize_shift; member
/external/u-boot/drivers/mtd/
Dmtdcore.c453 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()