Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mtd/lpddr/
Dlpddr_cmds.c198 if (chip->priv && (mode == FL_WRITING || mode == FL_ERASING) in get_chip()
262 if (mode == FL_ERASING && shared->erasing in get_chip()
263 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
276 if (mode == FL_ERASING) in get_chip()
303 case FL_ERASING: in chip_ready()
310 chip->oldstate = FL_ERASING; in chip_ready()
320 chip->state = FL_ERASING; in chip_ready()
385 case FL_ERASING: in put_chip()
392 chip->state = FL_ERASING; in put_chip()
493 ret = get_chip(map, chip, FL_ERASING); in do_erase_oneblock()
[all …]
/linux-2.6.39/include/linux/mtd/
Dflashchip.h36 FL_ERASING, enumerator
/linux-2.6.39/drivers/mtd/chips/
Dcfi_cmdset_0002.c686 case FL_ERASING: in get_chip()
700 chip->oldstate = FL_ERASING; in get_chip()
714 chip->state = FL_ERASING; in get_chip()
764 case FL_ERASING: in put_chip()
768 chip->state = FL_ERASING; in put_chip()
847 ((chip->state == FL_ERASING && (extp->EraseSuspend & 2))) && in xip_udelay()
1606 chip->state = FL_ERASING; in do_erase_chip()
1617 if (chip->state != FL_ERASING) { in do_erase_chip()
1674 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_oneblock()
1694 chip->state = FL_ERASING; in do_erase_oneblock()
[all …]
Dcfi_cmdset_0001.c789 case FL_ERASING: in chip_ready()
806 chip->oldstate = FL_ERASING; in chip_ready()
819 chip->state = FL_ERASING; in chip_ready()
870 (mode == FL_WRITING || mode == FL_ERASING || mode == FL_OTP_WRITE in get_chip()
934 if (mode == FL_ERASING && shared->erasing in get_chip()
935 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
948 if (mode == FL_ERASING) in get_chip()
999 case FL_ERASING: in put_chip()
1013 chip->state = FL_ERASING; in put_chip()
1099 ((chip->state == FL_ERASING && (cfip->FeatureSupport&2)) || in xip_wait_for_operation()
[all …]
Dcfi_cmdset_0020.c274 case FL_ERASING: in do_read_onechip()
285 chip->oldstate = FL_ERASING; in do_read_onechip()
298 chip->state = FL_ERASING; in do_read_onechip()
798 chip->state = FL_ERASING; in do_erase_oneblock()
809 if (chip->state != FL_ERASING) { in do_erase_oneblock()
/linux-2.6.39/drivers/mtd/nand/
Dtmio_nand.c203 msecs_to_jiffies(nand_chip->state == FL_ERASING ? 400 : 20)); in tmio_nand_wait()
208 nand_chip->state == FL_ERASING ? "erase" : "program", in tmio_nand_wait()
209 nand_chip->state == FL_ERASING ? 400 : 20); in tmio_nand_wait()
Drtc_from4.c414 if (state == FL_ERASING) { in rtc_from4_errstat()
Dnand_base.c858 if (state == FL_ERASING) in nand_wait()
869 if ((state == FL_ERASING) && (chip->options & NAND_IS_AND)) in nand_wait()
2543 nand_get_device(chip, mtd, FL_ERASING); in nand_erase_nand()
2606 status = chip->errstat(mtd, chip, FL_ERASING, in nand_erase_nand()
Dr852.c388 timeout = jiffies + (chip->state == FL_ERASING ? in r852_wait()
Domap2.c890 if (state == FL_ERASING) in omap_wait()
Dpxa3xx_nand.c753 if (this->state == FL_WRITING || this->state == FL_ERASING) { in pxa3xx_nand_waitfunc()
/linux-2.6.39/drivers/mtd/onenand/
Donenand_base.c2343 ret = this->wait(mtd, FL_ERASING); in onenand_multiblock_erase()
2414 ret = this->wait(mtd, FL_ERASING); in onenand_block_by_block_erase()
2501 onenand_get_device(mtd, FL_ERASING); in onenand_erase()
3736 ret = this->wait(mtd, FL_ERASING); in flexonenand_set_boundary()
Dsamsung.c356 case FL_ERASING: in s3c_onenand_wait()