• Home
  • Raw
  • Download

Lines Matching refs:chips

732 		cfi->chips[i].word_write_time = 1<<cfi->cfiq->WordWriteTimeoutTyp;  in cfi_cmdset_0002()
733 cfi->chips[i].buffer_write_time = 1<<cfi->cfiq->BufWriteTimeoutTyp; in cfi_cmdset_0002()
734 cfi->chips[i].erase_time = 1<<cfi->cfiq->BlockEraseTimeoutTyp; in cfi_cmdset_0002()
743 cfi->chips[i].buffer_write_time_max = in cfi_cmdset_0002()
747 cfi->chips[i].buffer_write_time_max = 0; in cfi_cmdset_0002()
749 cfi->chips[i].buffer_write_time_max = in cfi_cmdset_0002()
750 max(cfi->chips[i].buffer_write_time_max, 2000); in cfi_cmdset_0002()
752 cfi->chips[i].ref_point_counter = 0; in cfi_cmdset_0002()
753 init_waitqueue_head(&(cfi->chips[i].wq)); in cfi_cmdset_0002()
1259 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read()
1368 ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, in cfi_amdstd_secsi_read()
1501 chip = &cfi->chips[chipnum]; in cfi_amdstd_otp_walk()
1828 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_write_words()
1838 mutex_lock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1840 if (cfi->chips[chipnum].state != FL_READY) { in cfi_amdstd_write_words()
1842 add_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1844 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1847 remove_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1854 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1861 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
1885 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
1900 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_write_words()
1909 mutex_lock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1911 if (cfi->chips[chipnum].state != FL_READY) { in cfi_amdstd_write_words()
1913 add_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1915 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1918 remove_wait_queue(&cfi->chips[chipnum].wq, &wait); in cfi_amdstd_write_words()
1924 mutex_unlock(&cfi->chips[chipnum].mutex); in cfi_amdstd_write_words()
1928 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_write_words()
2140 ret = do_write_buffer(map, &cfi->chips[chipnum], in cfi_amdstd_write_buffers()
2319 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_panic_write()
2328 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], bus_ofs); in cfi_amdstd_panic_write()
2340 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2364 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2380 chipstart = cfi->chips[chipnum].start; in cfi_amdstd_panic_write()
2388 ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], ofs); in cfi_amdstd_panic_write()
2396 ret = do_panic_write_oneword(map, &cfi->chips[chipnum], in cfi_amdstd_panic_write()
2630 return do_erase_chip(map, &cfi->chips[0]); in cfi_amdstd_erase_chip()
2849 sect[sectors].chip = &cfi->chips[chipnum]; in cfi_ppb_unlock()
2852 map, &cfi->chips[chipnum], adr, 0, in cfi_ppb_unlock()
2921 chip = &cfi->chips[i]; in cfi_amdstd_sync()
2960 chip = &cfi->chips[i]; in cfi_amdstd_sync()
2982 chip = &cfi->chips[i]; in cfi_amdstd_suspend()
3012 chip = &cfi->chips[i]; in cfi_amdstd_suspend()
3037 chip = &cfi->chips[i]; in cfi_amdstd_resume()
3069 chip = &cfi->chips[i]; in cfi_amdstd_reset()