Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/
Dmtdcore.c1379 struct erase_info adjinstr; in mtd_erase() local
1383 adjinstr = *instr; in mtd_erase()
1399 adjinstr.addr = (loff_t)mtd_div_by_eb(instr->addr, mtd) * in mtd_erase()
1401 adjinstr.len = ((u64)mtd_div_by_eb(instr->addr + instr->len, mtd) * in mtd_erase()
1403 adjinstr.addr; in mtd_erase()
1406 adjinstr.addr += mst_ofs; in mtd_erase()
1408 ret = master->_erase(master, &adjinstr); in mtd_erase()
1410 if (adjinstr.fail_addr != MTD_FAIL_ADDR_UNKNOWN) { in mtd_erase()
1411 instr->fail_addr = adjinstr.fail_addr - mst_ofs; in mtd_erase()