Lines Matching refs:chipstatus
1616 unsigned long chipstatus = MERGESTATUS(status);
1623 if (chipstatus & 0x02) {
1625 } else if (chipstatus & 0x08) {
1629 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus);
1862 unsigned long chipstatus = MERGESTATUS(status);
1869 if (chipstatus & 0x02) {
1871 } else if (chipstatus & 0x08) {
1875 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus);
2004 unsigned long chipstatus = MERGESTATUS(status);
2011 if ((chipstatus & 0x30) == 0x30) {
2012 printk(KERN_ERR "%s: block erase error: (bad command sequence, status 0x%lx)\n", map->name, chipstatus);
2014 } else if (chipstatus & 0x02) {
2017 } else if (chipstatus & 0x8) {
2021 } else if (chipstatus & 0x20 && retries--) {
2022 printk(KERN_DEBUG "block erase failed at 0x%08lx: status 0x%lx. Retrying...\n", adr, chipstatus);
2028 printk(KERN_ERR "%s: block erase failed at 0x%08lx (status 0x%lx)\n", map->name, adr, chipstatus);