Searched refs:MTD_ERASE_FAILED (Results 1 – 10 of 10) sorted by relevance
424 instr->state = MTD_ERASE_FAILED; in blkmtd_erase()451 instr->state = MTD_ERASE_FAILED; in blkmtd_erase()455 if(instr->state != MTD_ERASE_FAILED) { in blkmtd_erase()461 instr->state = MTD_ERASE_FAILED; in blkmtd_erase()
474 erase->state = MTD_ERASE_FAILED; in flashcard_periodic()492 erase->state = MTD_ERASE_FAILED; in flashcard_periodic()
425 instr->state = MTD_ERASE_FAILED; in flash_erase()
837 instr->state = MTD_ERASE_FAILED; in doc_erase()
1120 instr->state = MTD_ERASE_FAILED; in doc_erase()
336 erase->state != MTD_ERASE_FAILED) in mtd_ioctl()341 ret = (erase->state == MTD_ERASE_FAILED)?-EIO:0; in mtd_ioctl()
174 if (erase->state != MTD_ERASE_DONE && erase->state != MTD_ERASE_FAILED) in concat_dev_erase()179 err = (erase->state == MTD_ERASE_FAILED) ? -EIO : 0; in concat_dev_erase()
319 if (instr->state == MTD_ERASE_FAILED) { in NFTL_formatblock()
1134 instr->state = MTD_ERASE_FAILED; in nand_erase()1148 instr->state = MTD_ERASE_FAILED; in nand_erase()1164 instr->state = MTD_ERASE_FAILED; in nand_erase()
115 #define MTD_ERASE_FAILED 0x10 macro