Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/parsers/
Dsharpslpart.c169 loff_t block_adr; in sharpsl_nand_init_ftl() local
195 block_adr = (loff_t)block_num * mtd->erasesize; in sharpsl_nand_init_ftl()
197 if (mtd_block_isbad(mtd, block_adr)) in sharpsl_nand_init_ftl()
200 if (sharpsl_nand_read_oob(mtd, block_adr, oob)) in sharpsl_nand_init_ftl()
235 loff_t block_adr; in sharpsl_nand_read_laddr() local
247 block_adr = (loff_t)block_num * mtd->erasesize; in sharpsl_nand_read_laddr()
250 err = mtd_read(mtd, block_adr + block_ofs, len, &retlen, buf); in sharpsl_nand_read_laddr()
260 block_adr + block_ofs); in sharpsl_nand_read_laddr()