Lines Matching refs:chipstatus
851 unsigned char chipstatus = status.x[0]; in do_erase_oneblock() local
852 if (!map_word_equal(map, status, CMD(chipstatus))) { in do_erase_oneblock()
856 chipstatus |= status.x[w] >> (cfi->device_type * 8); in do_erase_oneblock()
860 status.x[0], chipstatus); in do_erase_oneblock()
866 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
867 printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", chipstatus); in do_erase_oneblock()
869 } else if (chipstatus & 0x02) { in do_erase_oneblock()
872 } else if (chipstatus & 0x8) { in do_erase_oneblock()
874 printk(KERN_WARNING "Chip reports voltage low on erase: status 0x%x\n", chipstatus); in do_erase_oneblock()
876 } else if (chipstatus & 0x20) { in do_erase_oneblock()
878 printk(KERN_DEBUG "Chip erase failed at 0x%08lx: status 0x%x. Retrying...\n", adr, chipstatus); in do_erase_oneblock()
884 printk(KERN_DEBUG "Chip erase failed at 0x%08lx: status 0x%x\n", adr, chipstatus); in do_erase_oneblock()