Home
last modified time | relevance | path

Searched refs:chipstatus (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/chips/
Dcfi_cmdset_0020.c847 unsigned char chipstatus = status.x[0]; in do_erase_oneblock() local
848 if (!map_word_equal(map, status, CMD(chipstatus))) { in do_erase_oneblock()
852 chipstatus |= status.x[w] >> (cfi->device_type * 8); in do_erase_oneblock()
856 status.x[0], chipstatus); in do_erase_oneblock()
862 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
863 printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", chipstatus); in do_erase_oneblock()
865 } else if (chipstatus & 0x02) { in do_erase_oneblock()
868 } else if (chipstatus & 0x8) { in do_erase_oneblock()
870 printk(KERN_WARNING "Chip reports voltage low on erase: status 0x%x\n", chipstatus); in do_erase_oneblock()
872 } else if (chipstatus & 0x20) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0001.c1614 unsigned long chipstatus = MERGESTATUS(status); in do_write_oneword() local
1621 if (chipstatus & 0x02) { in do_write_oneword()
1623 } else if (chipstatus & 0x08) { in do_write_oneword()
1627 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus); in do_write_oneword()
1860 unsigned long chipstatus = MERGESTATUS(status); in do_write_buffer() local
1867 if (chipstatus & 0x02) { in do_write_buffer()
1869 } else if (chipstatus & 0x08) { in do_write_buffer()
1873 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus); in do_write_buffer()
2002 unsigned long chipstatus = MERGESTATUS(status); in do_erase_oneblock() local
2009 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0002.c148 unsigned long chipstatus = MERGESTATUS(status); in cfi_check_err_status() local
150 if (chipstatus & CFI_SR_ESB) in cfi_check_err_status()
152 map->name, chipstatus); in cfi_check_err_status()
153 if (chipstatus & CFI_SR_PSB) in cfi_check_err_status()
155 map->name, chipstatus); in cfi_check_err_status()
156 if (chipstatus & CFI_SR_WBASB) in cfi_check_err_status()
158 map->name, chipstatus); in cfi_check_err_status()
159 if (chipstatus & CFI_SR_SLSB) in cfi_check_err_status()
161 map->name, chipstatus); in cfi_check_err_status()
164 if (chipstatus & (CFI_SR_ESB | CFI_SR_PSB)) in cfi_check_err_status()
/drivers/net/wireless/broadcom/brcm80211/include/
Dchipcommon.h31 u32 chipstatus; /* 0x2c, rev >= 11 */ member
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); in ai_buscore_setup()