Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/lpddr/
Dlpddr_cmds.c190 if (chip->priv && (mode == FL_WRITING || mode == FL_ERASING) in get_chip()
254 if (mode == FL_ERASING && shared->erasing in get_chip()
255 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
268 if (mode == FL_ERASING) in get_chip()
295 case FL_ERASING: in chip_ready()
302 chip->oldstate = FL_ERASING; in chip_ready()
372 case FL_ERASING: in put_chip()
378 chip->state = FL_ERASING; in put_chip()
479 ret = get_chip(map, chip, FL_ERASING); in do_erase_oneblock()
485 chip->state = FL_ERASING; in do_erase_oneblock()
/linux-4.1.27/include/linux/mtd/
Dflashchip.h36 FL_ERASING, enumerator
/linux-4.1.27/drivers/mtd/nand/
Dtmio_nand.c200 msecs_to_jiffies(nand_chip->state == FL_ERASING ? 400 : 20)); in tmio_nand_wait()
205 nand_chip->state == FL_ERASING ? "erase" : "program", in tmio_nand_wait()
206 nand_chip->state == FL_ERASING ? 400 : 20); in tmio_nand_wait()
Dr852.c369 timeout = jiffies + (chip->state == FL_ERASING ? in r852_wait()
Dnand_base.c897 unsigned long timeo = (state == FL_ERASING ? 400 : 20); in nand_wait()
2748 nand_get_device(mtd, FL_ERASING); in nand_erase_nand()
2798 status = chip->errstat(mtd, chip, FL_ERASING, in nand_erase_nand()
Dsunxi_nand.c340 unsigned long timeo = (sunxi_nand->nand.state == FL_ERASING ? 400 : 20); in sunxi_nfc_dev_ready()
Dpxa3xx_nand.c1224 if (this->state == FL_WRITING || this->state == FL_ERASING) { in pxa3xx_nand_waitfunc()
Domap2.c1010 if (state == FL_ERASING) in omap_wait()
/linux-4.1.27/drivers/mtd/chips/
Dcfi_cmdset_0001.c821 case FL_ERASING: in chip_ready()
838 chip->oldstate = FL_ERASING; in chip_ready()
899 (mode == FL_WRITING || mode == FL_ERASING || mode == FL_OTP_WRITE in get_chip()
963 if (mode == FL_ERASING && shared->erasing in get_chip()
964 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
977 if (mode == FL_ERASING) in get_chip()
1028 case FL_ERASING: in put_chip()
1041 chip->state = FL_ERASING; in put_chip()
1125 ((chip->state == FL_ERASING && (cfip->FeatureSupport&2)) || in xip_wait_for_operation()
1157 if (oldstate == FL_ERASING) { in xip_wait_for_operation()
[all …]
Dcfi_cmdset_0002.c811 case FL_ERASING: in get_chip()
825 chip->oldstate = FL_ERASING; in get_chip()
887 case FL_ERASING: in put_chip()
893 chip->state = FL_ERASING; in put_chip()
970 ((chip->state == FL_ERASING && (extp->EraseSuspend & 2))) && in xip_udelay()
2265 chip->state = FL_ERASING; in do_erase_chip()
2276 if (chip->state != FL_ERASING) { in do_erase_chip()
2334 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_oneblock()
2354 chip->state = FL_ERASING; in do_erase_oneblock()
2365 if (chip->state != FL_ERASING) { in do_erase_oneblock()
Dcfi_cmdset_0020.c272 case FL_ERASING: in do_read_onechip()
283 chip->oldstate = FL_ERASING; in do_read_onechip()
296 chip->state = FL_ERASING; in do_read_onechip()
793 chip->state = FL_ERASING; in do_erase_oneblock()
804 if (chip->state != FL_ERASING) { in do_erase_oneblock()
/linux-4.1.27/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c689 if (state == FL_ERASING) in spinand_wait()
/linux-4.1.27/drivers/mtd/onenand/
Donenand_base.c2350 ret = this->wait(mtd, FL_ERASING); in onenand_multiblock_erase()
2421 ret = this->wait(mtd, FL_ERASING); in onenand_block_by_block_erase()
2501 onenand_get_device(mtd, FL_ERASING); in onenand_erase()
3739 ret = this->wait(mtd, FL_ERASING); in flexonenand_set_boundary()
Dsamsung.c332 case FL_ERASING: in s3c_onenand_wait()