Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/chips/
Dcfi_cmdset_0020.c848 unsigned char chipstatus = status.x[0]; in do_erase_oneblock() local
849 if (!map_word_equal(map, status, CMD(chipstatus))) { in do_erase_oneblock()
853 chipstatus |= status.x[w] >> (cfi->device_type * 8); in do_erase_oneblock()
857 status.x[0], chipstatus); in do_erase_oneblock()
863 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
864 printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", chipstatus); in do_erase_oneblock()
866 } else if (chipstatus & 0x02) { in do_erase_oneblock()
869 } else if (chipstatus & 0x8) { in do_erase_oneblock()
871 printk(KERN_WARNING "Chip reports voltage low on erase: status 0x%x\n", chipstatus); in do_erase_oneblock()
873 } else if (chipstatus & 0x20) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0001.c1616 unsigned long chipstatus = MERGESTATUS(status); in do_write_oneword() local
1623 if (chipstatus & 0x02) { in do_write_oneword()
1625 } else if (chipstatus & 0x08) { in do_write_oneword()
1629 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus); in do_write_oneword()
1862 unsigned long chipstatus = MERGESTATUS(status); in do_write_buffer() local
1869 if (chipstatus & 0x02) { in do_write_buffer()
1871 } else if (chipstatus & 0x08) { in do_write_buffer()
1875 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus); in do_write_buffer()
2004 unsigned long chipstatus = MERGESTATUS(status); in do_erase_oneblock() local
2011 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0002.c147 unsigned long chipstatus = MERGESTATUS(status); in cfi_check_err_status() local
149 if (chipstatus & CFI_SR_ESB) in cfi_check_err_status()
151 map->name, chipstatus); in cfi_check_err_status()
152 if (chipstatus & CFI_SR_PSB) in cfi_check_err_status()
154 map->name, chipstatus); in cfi_check_err_status()
155 if (chipstatus & CFI_SR_WBASB) in cfi_check_err_status()
157 map->name, chipstatus); in cfi_check_err_status()
158 if (chipstatus & CFI_SR_SLSB) in cfi_check_err_status()
160 map->name, chipstatus); in cfi_check_err_status()
163 if (chipstatus & (CFI_SR_ESB | CFI_SR_PSB)) in cfi_check_err_status()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/include/
Dchipcommon.h31 u32 chipstatus; /* 0x2c, rev >= 11 */ member
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/
Daiutils.c454 sii->chipst = bcma_read32(cc, CHIPCREGOFFS(chipstatus)); in ai_buscore_setup()