Lines Matching full:chips

291 /* Atmel chips don't use the same PRI format as AMD chips */
305 /* Some chips got it backwards... */ in fixup_convert_atmel_pri()
325 /* Setup for chips with a secsi area */ in fixup_use_secsi()
342 * Some Atmel chips (e.g. the AT49BV6416) power-up with all sectors
453 /* Used to fix CFI-Tables of chips without Extended Query Tables */
520 * Samsung K8P2815UQB and K8D6x16UxM chips in cfi_fixup_major_minor()
522 * K8D3x16UxC chips report major=3 / minor=3. in cfi_fixup_major_minor()
532 * SST 38VF640x chips report major=0xFF / minor=0xFF. in cfi_fixup_major_minor()
733 cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp; in cfi_cmdset_0002()
734 cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp; in cfi_cmdset_0002()
735 cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp; in cfi_cmdset_0002()
744 cfi->chips[i].buffer_write_time_max = in cfi_cmdset_0002()
748 cfi->chips[i].buffer_write_time_max = 0; in cfi_cmdset_0002()
750 cfi->chips[i].buffer_write_time_max = in cfi_cmdset_0002()
751 max(cfi->chips[i].buffer_write_time_max, 2000); in cfi_cmdset_0002()
753 cfi->chips[i].ref_point_counter = 0; in cfi_cmdset_0002()
754 init_waitqueue_head(&(cfi->chips[i].wq)); in cfi_cmdset_0002()
775 printk(KERN_NOTICE "number of %s chips: %d\n", in cfi_amdstd_setup()
804 …printk(KERN_WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offs… in cfi_amdstd_setup()
830 * correctly and is therefore not done (particularly with interleaved chips
843 * For chips that support status register, check device in chip_ready()
1026 /* TODO: chips with no XIP use should ignore and return */ in xip_disable()
1075 * interleaved chips if there is already another in xip_udelay()
1260 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read()
1369 ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, in cfi_amdstd_secsi_read()
1502 chip = &cfi->chips[chipnum]; in cfi_amdstd_otp_walk()
1763 * present - it saves time and works around buggy chips that corrupt in do_write_oneword_retry()
1829 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_write_words()
1839 mutex_lock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1841 if (cfi->chips[chipnum].state != FL_READY) { in cfi_amdstd_write_words()
1843 add_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1845 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1848 remove_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1855 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1862 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
1886 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
1901 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_write_words()
1910 mutex_lock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1912 if (cfi->chips[chipnum].state != FL_READY) { in cfi_amdstd_write_words()
1914 add_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1916 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1919 remove_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1925 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1929 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
2141 ret = do_write_buffer(map, &cfi->chips[chipnum], in cfi_amdstd_write_buffers()
2254 * present - it saves time and works around buggy chips that corrupt in do_panic_write_oneword()
2320 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_panic_write()
2329 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], bus_ofs); in cfi_amdstd_panic_write()
2341 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2365 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2381 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_panic_write()
2389 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], ofs); in cfi_amdstd_panic_write()
2397 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2631 return do_erase_chip(map, &cfi->chips[0]); in cfi_amdstd_erase_chip()
2850 sect[sectors].chip = &cfi->chips[chipnum]; in cfi_ppb_unlock()
2853 map, &cfi->chips[chipnum], adr, 0, in cfi_ppb_unlock()
2922 chip = &cfi->chips[i]; in cfi_amdstd_sync()
2958 /* Unlock the chips again */ in cfi_amdstd_sync()
2961 chip = &cfi->chips[i]; in cfi_amdstd_sync()
2983 chip = &cfi->chips[i]; in cfi_amdstd_suspend()
3009 /* Unlock the chips again */ in cfi_amdstd_suspend()
3013 chip = &cfi->chips[i]; in cfi_amdstd_suspend()
3038 chip = &cfi->chips[i]; in cfi_amdstd_resume()
3070 chip = &cfi->chips[i]; in cfi_amdstd_reset()
3114 MODULE_DESCRIPTION("MTD chip driver for AMD/Fujitsu flash chips");