Lines Matching refs:chipstatus
1614 unsigned long chipstatus = MERGESTATUS(status);
1621 if (chipstatus & 0x02) {
1623 } else if (chipstatus & 0x08) {
1627 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus);
1860 unsigned long chipstatus = MERGESTATUS(status);
1867 if (chipstatus & 0x02) {
1869 } else if (chipstatus & 0x08) {
1873 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus);
2002 unsigned long chipstatus = MERGESTATUS(status);
2009 if ((chipstatus & 0x30) == 0x30) {
2010 printk(KERN_ERR "%s: block erase error: (bad command sequence, status 0x%lx)\n", map->name, chipstatus);
2012 } else if (chipstatus & 0x02) {
2015 } else if (chipstatus & 0x8) {
2019 } else if (chipstatus & 0x20 && retries--) {
2020 printk(KERN_DEBUG "block erase failed at 0x%08lx: status 0x%lx. Retrying...\n", adr, chipstatus);
2026 printk(KERN_ERR "%s: block erase failed at 0x%08lx (status 0x%lx)\n", map->name, adr, chipstatus);