Lines Matching refs:oldstate
924 chip->oldstate = FL_ERASING; in get_chip()
955 chip->oldstate = chip->state; in get_chip()
965 if (mode == FL_READY && chip->oldstate == FL_READY) in get_chip()
985 switch(chip->oldstate) { in put_chip()
991 chip->oldstate = FL_READY; in put_chip()
996 chip->state = chip->oldstate; in put_chip()
997 chip->oldstate = FL_READY; in put_chip()
1004 printk(KERN_ERR "MTD: put_chip() called with oldstate %d!!\n", chip->oldstate); in put_chip()
1064 flstate_t oldstate; in xip_udelay() local
1070 (cfi_interleave_is_1(cfi) || chip->oldstate == FL_READY)) { in xip_udelay()
1098 oldstate = chip->state; in xip_udelay()
1134 chip->state = oldstate; in xip_udelay()
2931 chip->oldstate = chip->state; in cfi_amdstd_sync()
2965 chip->state = chip->oldstate; in cfi_amdstd_sync()
2991 chip->oldstate = chip->state; in cfi_amdstd_suspend()
3017 chip->state = chip->oldstate; in cfi_amdstd_suspend()