Lines Matching full:chips
273 /* Atmel chips don't use the same PRI format as AMD chips */
287 /* Some chips got it backwards... */ in fixup_convert_atmel_pri()
307 /* Setup for chips with a secsi area */ in fixup_use_secsi()
324 * Some Atmel chips (e.g. the AT49BV6416) power-up with all sectors
426 /* Used to fix CFI-Tables of chips without Extended Query Tables */
492 * Samsung K8P2815UQB and K8D6x16UxM chips in cfi_fixup_major_minor()
494 * K8D3x16UxC chips report major=3 / minor=3. in cfi_fixup_major_minor()
504 * SST 38VF640x chips report major=0xFF / minor=0xFF. in cfi_fixup_major_minor()
705 cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp; in cfi_cmdset_0002()
706 cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp; in cfi_cmdset_0002()
707 cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp; in cfi_cmdset_0002()
716 cfi->chips[i].buffer_write_time_max = in cfi_cmdset_0002()
720 cfi->chips[i].buffer_write_time_max = 0; in cfi_cmdset_0002()
722 cfi->chips[i].buffer_write_time_max = in cfi_cmdset_0002()
723 max(cfi->chips[i].buffer_write_time_max, 2000); in cfi_cmdset_0002()
725 cfi->chips[i].ref_point_counter = 0; in cfi_cmdset_0002()
726 init_waitqueue_head(&(cfi->chips[i].wq)); in cfi_cmdset_0002()
747 printk(KERN_NOTICE "number of %s chips: %d\n", in cfi_amdstd_setup()
776 …printk(KERN_WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offs… in cfi_amdstd_setup()
800 * correctly and is therefore not done (particularly with interleaved chips
812 * For chips that support status register, check device in chip_ready()
839 * correctly and is therefore not done (particularly with interleaved chips
853 * For chips that support status register, check device in chip_good()
1024 /* TODO: chips with no XIP use should ignore and return */ in xip_disable()
1073 * interleaved chips if there is already another in xip_udelay()
1258 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read()
1367 ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, in cfi_amdstd_secsi_read()
1500 chip = &cfi->chips[chipnum]; in cfi_amdstd_otp_walk()
1758 * present - it saves time and works around buggy chips that corrupt in do_write_oneword_retry()
1825 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_write_words()
1835 mutex_lock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1837 if (cfi->chips[chipnum].state != FL_READY) { in cfi_amdstd_write_words()
1839 add_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1841 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1844 remove_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1851 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1858 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
1882 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
1897 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_write_words()
1906 mutex_lock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1908 if (cfi->chips[chipnum].state != FL_READY) { in cfi_amdstd_write_words()
1910 add_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1912 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1915 remove_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1921 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1925 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
2136 ret = do_write_buffer(map, &cfi->chips[chipnum], in cfi_amdstd_write_buffers()
2249 * present - it saves time and works around buggy chips that corrupt in do_panic_write_oneword()
2315 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_panic_write()
2324 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], bus_ofs); in cfi_amdstd_panic_write()
2336 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2360 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2376 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_panic_write()
2384 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], ofs); in cfi_amdstd_panic_write()
2392 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2620 return do_erase_chip(map, &cfi->chips[0]); in cfi_amdstd_erase_chip()
2839 sect[sectors].chip = &cfi->chips[chipnum]; in cfi_ppb_unlock()
2842 map, &cfi->chips[chipnum], adr, 0, in cfi_ppb_unlock()
2911 chip = &cfi->chips[i]; in cfi_amdstd_sync()
2947 /* Unlock the chips again */ in cfi_amdstd_sync()
2950 chip = &cfi->chips[i]; in cfi_amdstd_sync()
2972 chip = &cfi->chips[i]; in cfi_amdstd_suspend()
2997 /* Unlock the chips again */ in cfi_amdstd_suspend()
3001 chip = &cfi->chips[i]; in cfi_amdstd_suspend()
3026 chip = &cfi->chips[i]; in cfi_amdstd_resume()
3058 chip = &cfi->chips[i]; in cfi_amdstd_reset()
3102 MODULE_DESCRIPTION("MTD chip driver for AMD/Fujitsu flash chips");