Searched refs:mtd_get_master_ofs (Results 1 – 3 of 3) sorted by relevance
/linux-6.3-rc2/drivers/mtd/ |
A D | mtdcore.c | 1330 u64 mst_ofs = mtd_get_master_ofs(mtd, 0); in mtd_erase() 1394 from = mtd_get_master_ofs(mtd, from); in mtd_point() 1410 return master->_unpoint(master, mtd_get_master_ofs(mtd, from), len); in mtd_unpoint() 1512 return master->_panic_write(master, mtd_get_master_ofs(mtd, to), len, in mtd_panic_write() 1556 from = mtd_get_master_ofs(mtd, from); in mtd_read_oob_std() 1572 to = mtd_get_master_ofs(mtd, to); in mtd_write_oob_std() 2204 return master->_lock(master, mtd_get_master_ofs(mtd, ofs), len); in mtd_lock() 2224 return master->_unlock(master, mtd_get_master_ofs(mtd, ofs), len); in mtd_unlock() 2276 return master->_block_isbad(master, mtd_get_master_ofs(mtd, ofs)); in mtd_block_isbad() 2295 ret = master->_block_markbad(master, mtd_get_master_ofs(mtd, ofs)); in mtd_block_markbad() [all …]
|
A D | mtdpart.c | 176 tmp = mtd_get_master_ofs(child, 0); in allocate_partition() 187 tmp = mtd_get_master_ofs(child, 0) + child->part.size; in allocate_partition()
|
/linux-6.3-rc2/include/linux/mtd/ |
A D | mtd.h | 411 static inline u64 mtd_get_master_ofs(struct mtd_info *mtd, u64 ofs) in mtd_get_master_ofs() function 490 return master->_max_bad_blocks(master, mtd_get_master_ofs(mtd, ofs), in mtd_max_bad_blocks()
|
Completed in 10 milliseconds