Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/mtd/lpddr/
Dlpddr_cmds.c192 if (chip->priv && (mode == FL_WRITING || mode == FL_ERASING) in get_chip()
256 if (mode == FL_ERASING && shared->erasing in get_chip()
257 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
270 if (mode == FL_ERASING) in get_chip()
297 case FL_ERASING: in chip_ready()
304 chip->oldstate = FL_ERASING; in chip_ready()
374 case FL_ERASING: in put_chip()
380 chip->state = FL_ERASING; in put_chip()
481 ret = get_chip(map, chip, FL_ERASING); in do_erase_oneblock()
487 chip->state = FL_ERASING; in do_erase_oneblock()
/linux-3.4.99/include/linux/mtd/
Dflashchip.h36 FL_ERASING, enumerator
/linux-3.4.99/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()
Drtc_from4.c414 if (state == FL_ERASING) { in rtc_from4_errstat()
Dnand_base.c874 if (state == FL_ERASING) in nand_wait()
887 if ((state == FL_ERASING) && (chip->options & NAND_IS_AND)) in nand_wait()
2554 nand_get_device(chip, mtd, FL_ERASING); in nand_erase_nand()
2615 status = chip->errstat(mtd, chip, FL_ERASING, in nand_erase_nand()
Dr852.c388 timeout = jiffies + (chip->state == FL_ERASING ? in r852_wait()
Domap2.c884 if (state == FL_ERASING) in omap_wait()
Dpxa3xx_nand.c788 if (this->state == FL_WRITING || this->state == FL_ERASING) { in pxa3xx_nand_waitfunc()
/linux-3.4.99/drivers/mtd/chips/
Dcfi_cmdset_0001.c789 case FL_ERASING: in chip_ready()
806 chip->oldstate = FL_ERASING; in chip_ready()
867 (mode == FL_WRITING || mode == FL_ERASING || mode == FL_OTP_WRITE in get_chip()
931 if (mode == FL_ERASING && shared->erasing in get_chip()
932 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
945 if (mode == FL_ERASING) in get_chip()
996 case FL_ERASING: in put_chip()
1009 chip->state = FL_ERASING; in put_chip()
1093 ((chip->state == FL_ERASING && (cfip->FeatureSupport&2)) || in xip_wait_for_operation()
1125 if (oldstate == FL_ERASING) { in xip_wait_for_operation()
[all …]
Dcfi_cmdset_0002.c688 case FL_ERASING: in get_chip()
702 chip->oldstate = FL_ERASING; in get_chip()
764 case FL_ERASING: in put_chip()
767 chip->state = FL_ERASING; in put_chip()
844 ((chip->state == FL_ERASING && (extp->EraseSuspend & 2))) && in xip_udelay()
1820 chip->state = FL_ERASING; in do_erase_chip()
1831 if (chip->state != FL_ERASING) { in do_erase_chip()
1889 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_oneblock()
1909 chip->state = FL_ERASING; in do_erase_oneblock()
1920 if (chip->state != FL_ERASING) { in do_erase_oneblock()
Dcfi_cmdset_0020.c275 case FL_ERASING: in do_read_onechip()
286 chip->oldstate = FL_ERASING; in do_read_onechip()
299 chip->state = FL_ERASING; in do_read_onechip()
796 chip->state = FL_ERASING; in do_erase_oneblock()
807 if (chip->state != FL_ERASING) { in do_erase_oneblock()
/linux-3.4.99/drivers/mtd/onenand/
Donenand_base.c2355 ret = this->wait(mtd, FL_ERASING); in onenand_multiblock_erase()
2426 ret = this->wait(mtd, FL_ERASING); in onenand_block_by_block_erase()
2506 onenand_get_device(mtd, FL_ERASING); in onenand_erase()
3753 ret = this->wait(mtd, FL_ERASING); in flexonenand_set_boundary()
Dsamsung.c349 case FL_ERASING: in s3c_onenand_wait()