Home
last modified time | relevance | path

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

/Linux-v5.15/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.c1599 unsigned long chipstatus = MERGESTATUS(status); in do_write_oneword() local
1606 if (chipstatus & 0x02) { in do_write_oneword()
1608 } else if (chipstatus & 0x08) { in do_write_oneword()
1612 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus); in do_write_oneword()
1845 unsigned long chipstatus = MERGESTATUS(status); in do_write_buffer() local
1852 if (chipstatus & 0x02) { in do_write_buffer()
1854 } else if (chipstatus & 0x08) { in do_write_buffer()
1858 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus); in do_write_buffer()
1987 unsigned long chipstatus = MERGESTATUS(status); in do_erase_oneblock() local
1994 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0002.c144 unsigned long chipstatus = MERGESTATUS(status); in cfi_check_err_status() local
146 if (chipstatus & CFI_SR_ESB) in cfi_check_err_status()
148 map->name, chipstatus); in cfi_check_err_status()
149 if (chipstatus & CFI_SR_PSB) in cfi_check_err_status()
151 map->name, chipstatus); in cfi_check_err_status()
152 if (chipstatus & CFI_SR_WBASB) in cfi_check_err_status()
154 map->name, chipstatus); in cfi_check_err_status()
155 if (chipstatus & CFI_SR_SLSB) in cfi_check_err_status()
157 map->name, chipstatus); in cfi_check_err_status()
160 if (chipstatus & (CFI_SR_ESB | CFI_SR_PSB)) in cfi_check_err_status()
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/include/
Dchipcommon.h31 u32 chipstatus; /* 0x2c, rev >= 11 */ member
/Linux-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); in ai_buscore_setup()