Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/include/linux/mtd/
Dflashchip.h36 FL_ERASING, enumerator
/Linux-v4.19/drivers/mtd/nand/raw/
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()
Dr852.c372 timeout = jiffies + (chip->state == FL_ERASING ? in r852_wait()
Domap2.c992 if (state == FL_ERASING) in omap_wait()
Dnand_base.c4710 nand_get_device(mtd, FL_ERASING); in nand_erase_nand()
/Linux-v4.19/drivers/mtd/chips/
Dcfi_cmdset_0001.c842 case FL_ERASING: in chip_ready()
868 chip->oldstate = FL_ERASING; in chip_ready()
929 (mode == FL_WRITING || mode == FL_ERASING || mode == FL_OTP_WRITE in get_chip()
993 if (mode == FL_ERASING && shared->erasing in get_chip()
994 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
1007 if (mode == FL_ERASING) in get_chip()
1058 case FL_ERASING: in put_chip()
1071 chip->state = FL_ERASING; in put_chip()
1155 ((chip->state == FL_ERASING && (cfip->FeatureSupport&2)) || in xip_wait_for_operation()
1187 if (oldstate == FL_ERASING) { in xip_wait_for_operation()
[all …]
Dcfi_cmdset_0002.c814 case FL_ERASING: in get_chip()
829 chip->oldstate = FL_ERASING; in get_chip()
891 case FL_ERASING: in put_chip()
897 chip->state = FL_ERASING; in put_chip()
974 ((chip->state == FL_ERASING && (extp->EraseSuspend & 2))) && in xip_udelay()
2269 chip->state = FL_ERASING; in do_erase_chip()
2281 if (chip->state != FL_ERASING) { in do_erase_chip()
2344 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_oneblock()
2365 chip->state = FL_ERASING; in do_erase_oneblock()
2377 if (chip->state != FL_ERASING) { in do_erase_oneblock()
Dcfi_cmdset_0020.c273 case FL_ERASING: in do_read_onechip()
284 chip->oldstate = FL_ERASING; in do_read_onechip()
297 chip->state = FL_ERASING; in do_read_onechip()
794 chip->state = FL_ERASING; in do_erase_oneblock()
805 if (chip->state != FL_ERASING) { in do_erase_oneblock()
/Linux-v4.19/drivers/mtd/nand/onenand/
Donenand_base.c2238 ret = this->wait(mtd, FL_ERASING); in onenand_multiblock_erase()
2304 ret = this->wait(mtd, FL_ERASING); in onenand_block_by_block_erase()
2383 onenand_get_device(mtd, FL_ERASING); in onenand_erase()
3615 ret = this->wait(mtd, FL_ERASING); in flexonenand_set_boundary()
Dsamsung.c327 case FL_ERASING: in s3c_onenand_wait()
/Linux-v4.19/drivers/staging/mt29f_spinand/
Dmt29f_spinand.c706 if (state == FL_ERASING) in spinand_wait()