Home
last modified time | relevance | path

Searched refs:mtd_div_by_eb (Results 1 – 6 of 6) sorted by relevance

/linux-3.4.99/drivers/mtd/ubi/
Dgluebi.c260 lnum = mtd_div_by_eb(instr->addr, mtd); in gluebi_erase()
261 count = mtd_div_by_eb(instr->len, mtd); in gluebi_erase()
Dbuild.c664 ubi->peb_count = mtd_div_by_eb(ubi->mtd->size, ubi->mtd); in io_init()
/linux-3.4.99/include/linux/mtd/
Dmtd.h317 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_eb() function
/linux-3.4.99/drivers/mtd/
Dmtdoops.c96 u32 start_page_offset = mtd_div_by_eb(offset, mtd) * mtd->erasesize; in mtdoops_erase_block()
Dmtdpart.c437 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()
Dmtdswap.c1476 eblocks = mtd_div_by_eb(use_size, mtd); in mtdswap_add_mtd()