Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/chips/
Dcfi_cmdset_0020.c850 unsigned char chipstatus = status.x[0]; in do_erase_oneblock() local
851 if (!map_word_equal(map, status, CMD(chipstatus))) { in do_erase_oneblock()
855 chipstatus |= status.x[w] >> (cfi->device_type * 8); in do_erase_oneblock()
859 status.x[0], chipstatus); in do_erase_oneblock()
865 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
866 printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", chipstatus); in do_erase_oneblock()
868 } else if (chipstatus & 0x02) { in do_erase_oneblock()
871 } else if (chipstatus & 0x8) { in do_erase_oneblock()
873 printk(KERN_WARNING "Chip reports voltage low on erase: status 0x%x\n", chipstatus); in do_erase_oneblock()
875 } else if (chipstatus & 0x20) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0001.c1595 unsigned long chipstatus = MERGESTATUS(status); in do_write_oneword() local
1602 if (chipstatus & 0x02) { in do_write_oneword()
1604 } else if (chipstatus & 0x08) { in do_write_oneword()
1608 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus); in do_write_oneword()
1841 unsigned long chipstatus = MERGESTATUS(status); in do_write_buffer() local
1848 if (chipstatus & 0x02) { in do_write_buffer()
1850 } else if (chipstatus & 0x08) { in do_write_buffer()
1854 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus); in do_write_buffer()
1983 unsigned long chipstatus = MERGESTATUS(status); in do_erase_oneblock() local
1990 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0002.c140 unsigned long chipstatus = MERGESTATUS(status); in cfi_check_err_status() local
142 if (chipstatus & CFI_SR_ESB) in cfi_check_err_status()
144 map->name, chipstatus); in cfi_check_err_status()
145 if (chipstatus & CFI_SR_PSB) in cfi_check_err_status()
147 map->name, chipstatus); in cfi_check_err_status()
148 if (chipstatus & CFI_SR_WBASB) in cfi_check_err_status()
150 map->name, chipstatus); in cfi_check_err_status()
151 if (chipstatus & CFI_SR_SLSB) in cfi_check_err_status()
153 map->name, chipstatus); in cfi_check_err_status()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/include/
Dchipcommon.h31 u32 chipstatus; /* 0x2c, rev >= 11 */ member
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); in ai_buscore_setup()