Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/mtd/chips/
Dcfi_cmdset_0020.c851 unsigned char chipstatus = status.x[0]; in do_erase_oneblock() local
852 if (!map_word_equal(map, status, CMD(chipstatus))) { in do_erase_oneblock()
856 chipstatus |= status.x[w] >> (cfi->device_type * 8); in do_erase_oneblock()
860 status.x[0], chipstatus); in do_erase_oneblock()
866 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
867 printk(KERN_NOTICE "Chip reports improper command sequence: status 0x%x\n", chipstatus); in do_erase_oneblock()
869 } else if (chipstatus & 0x02) { in do_erase_oneblock()
872 } else if (chipstatus & 0x8) { in do_erase_oneblock()
874 printk(KERN_WARNING "Chip reports voltage low on erase: status 0x%x\n", chipstatus); in do_erase_oneblock()
876 } else if (chipstatus & 0x20) { in do_erase_oneblock()
[all …]
Dcfi_cmdset_0001.c1537 unsigned long chipstatus = MERGESTATUS(status); in do_write_oneword() local
1544 if (chipstatus & 0x02) { in do_write_oneword()
1546 } else if (chipstatus & 0x08) { in do_write_oneword()
1550 printk(KERN_ERR "%s: word write error (status 0x%lx)\n", map->name, chipstatus); in do_write_oneword()
1780 unsigned long chipstatus = MERGESTATUS(status); in do_write_buffer() local
1787 if (chipstatus & 0x02) { in do_write_buffer()
1789 } else if (chipstatus & 0x08) { in do_write_buffer()
1793 printk(KERN_ERR "%s: buffer write error (status 0x%lx)\n", map->name, chipstatus); in do_write_buffer()
1920 unsigned long chipstatus = MERGESTATUS(status); in do_erase_oneblock() local
1927 if ((chipstatus & 0x30) == 0x30) { in do_erase_oneblock()
[all …]
/linux-2.6.39/drivers/staging/brcm80211/util/
Dhndpmu.c1633 if ((R_REG(&cc->chipstatus) & 0x40000) != 0) in si_pmu5_clock()
1719 (cc->chipstatus & CST43236_BP_CLK) ? (120000 * in si_pmu_si_clock()
2159 SPINWAIT(0 == (R_REG(&cc->chipstatus) & 0x08), in si_pmu_rcal()
2161 ASSERT(R_REG(&cc->chipstatus) & 0x08); in si_pmu_rcal()
2165 (u8) (R_REG(&cc->chipstatus) >> 5) & 0x0f; in si_pmu_rcal()
2168 R_REG(&cc->chipstatus), rcal_code)); in si_pmu_rcal()
Dsiutils.c182 sii->pub.chipst = R_REG(&cc->chipstatus); in si_buscore_setup()
593 if ((cc->chipstatus & CST43236_BP_CLK) != 0) { in si_doattach()
/linux-2.6.39/drivers/staging/brcm80211/include/
Dsbchipc.h47 u32 chipstatus; /* 0x2c, rev >= 11 */ member