Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/mtd/
Dmtdcore.c1371 struct erase_info adjinstr; in mtd_erase() local
1375 adjinstr = *instr; in mtd_erase()
1391 adjinstr.addr = (loff_t)mtd_div_by_eb(instr->addr, mtd) * in mtd_erase()
1393 adjinstr.len = ((u64)mtd_div_by_eb(instr->addr + instr->len, mtd) * in mtd_erase()
1395 adjinstr.addr; in mtd_erase()
1398 adjinstr.addr += mst_ofs; in mtd_erase()
1400 ret = master->_erase(master, &adjinstr); in mtd_erase()
1402 if (adjinstr.fail_addr != MTD_FAIL_ADDR_UNKNOWN) { in mtd_erase()
1403 instr->fail_addr = adjinstr.fail_addr - mst_ofs; in mtd_erase()