Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c204 if (chip->priv && (mode == FL_WRITING || mode == FL_ERASING) in get_chip()
268 if (mode == FL_ERASING && shared->erasing in get_chip()
269 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
282 if (mode == FL_ERASING) in get_chip()
309 case FL_ERASING: in chip_ready()
316 chip->oldstate = FL_ERASING; in chip_ready()
386 case FL_ERASING: in put_chip()
392 chip->state = FL_ERASING; in put_chip()
490 ret = get_chip(map, chip, FL_ERASING); in do_erase_oneblock()
496 chip->state = FL_ERASING; in do_erase_oneblock()
/openbmc/linux/include/linux/mtd/
H A Dflashchip.h22 FL_ERASING, enumerator
/openbmc/u-boot/include/linux/mtd/
H A Dflashchip.h25 FL_ERASING, enumerator
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c864 case FL_ERASING: in chip_ready()
890 chip->oldstate = FL_ERASING; in chip_ready()
1015 if (mode == FL_ERASING && shared->erasing in get_chip()
1016 && shared->erasing->oldstate == FL_ERASING) { in get_chip()
1029 if (mode == FL_ERASING) in get_chip()
1080 case FL_ERASING: in put_chip()
1093 chip->state = FL_ERASING; in put_chip()
1209 if (oldstate == FL_ERASING) { in xip_wait_for_operation()
1327 if (chip->erase_suspended && chip_state == FL_ERASING) { in inval_cache_and_wait_for_operation()
1964 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_oneblock()
[all …]
H A Dcfi_cmdset_0002.c908 case FL_ERASING: in get_chip()
923 chip->oldstate = FL_ERASING; in get_chip()
985 case FL_ERASING: in put_chip()
991 chip->state = FL_ERASING; in put_chip()
1068 ((chip->state == FL_ERASING && (extp->EraseSuspend & 2))) && in xip_udelay()
2424 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_chip()
2445 chip->state = FL_ERASING; in do_erase_chip()
2457 if (chip->state != FL_ERASING) { in do_erase_chip()
2524 ret = get_chip(map, chip, adr, FL_ERASING); in do_erase_oneblock()
2545 chip->state = FL_ERASING; in do_erase_oneblock()
[all …]
H A 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()
795 chip->state = FL_ERASING; in do_erase_oneblock()
806 if (chip->state != FL_ERASING) { in do_erase_oneblock()
/openbmc/u-boot/drivers/mtd/onenand/
H A Dsamsung.c222 case FL_ERASING: in s3c_onenand_wait()
H A Donenand_base.c1774 onenand_get_device(mtd, FL_ERASING); in onenand_erase()
1794 ret = this->wait(mtd, FL_ERASING); in onenand_erase()
2493 ret = this->wait(mtd, FL_ERASING); in flexonenand_set_boundary()
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c2239 ret = this->wait(mtd, FL_ERASING); in onenand_multiblock_erase()
2305 ret = this->wait(mtd, FL_ERASING); in onenand_block_by_block_erase()
2384 onenand_get_device(mtd, FL_ERASING); in onenand_erase()
3620 ret = this->wait(mtd, FL_ERASING); in flexonenand_set_boundary()
H A Donenand_samsung.c324 case FL_ERASING: in s3c_onenand_wait()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dpxa3xx_nand.c1430 if (this->state == FL_WRITING || this->state == FL_ERASING) { in pxa3xx_nand_waitfunc()
H A Dsunxi_nand.c385 unsigned long timeo = (sunxi_nand->nand.state == FL_ERASING ? 400 : 20); in sunxi_nfc_dev_ready()
H A Dnand_base.c2830 nand_get_device(mtd, FL_ERASING); in nand_erase_nand()