Lines Matching defs:chipstatus
840 unsigned char chipstatus = status.x[0];
841 if (!map_word_equal(map, status, CMD(chipstatus))) {
845 chipstatus |= status.x[w] >> (cfi->device_type * 8);
849 status.x[0], chipstatus);
855 if ((chipstatus & 0x30) == 0x30) {
856 printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", chipstatus);
858 } else if (chipstatus & 0x02) {
861 } else if (chipstatus & 0x8) {
863 printk(KERN_WARNING "Chip reports voltage low on erase: status 0x%x\n", chipstatus);
865 } else if (chipstatus & 0x20) {
867 printk(KERN_DEBUG "Chip erase failed at 0x%08lx: status 0x%x. Retrying...\n", adr, chipstatus);
873 printk(KERN_DEBUG "Chip erase failed at 0x%08lx: status 0x%x\n", adr, chipstatus);