Lines Matching refs:chips

44 /* Intel chips */
49 /* STMicroelectronics chips */
53 /* Atmel chips */
56 /* Sharp chips */
169 /* Atmel chips don't use the same PRI format as Intel chips */
318 * Some chips power-up with all sectors locked by default.
563 cfi->chips[i].word_write_time =
566 cfi->chips[i].word_write_time = 50000;
569 cfi->chips[i].buffer_write_time =
574 cfi->chips[i].erase_time =
577 cfi->chips[i].erase_time = 2000000;
581 cfi->chips[i].word_write_time_max =
585 cfi->chips[i].word_write_time_max = 50000 * 8;
589 cfi->chips[i].buffer_write_time_max =
595 cfi->chips[i].erase_time_max =
599 cfi->chips[i].erase_time_max = 2000000 * 8;
601 cfi->chips[i].ref_point_counter = 0;
602 init_waitqueue_head(&(cfi->chips[i].wq));
623 //printk(KERN_DEBUG "number of CFI chips: %d\n", cfi->numchips);
655 printk(KERN_WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize);
703 * Probing of multi-partition flash chips.
764 * All functions below currently rely on all chips having
778 newcfi = kmalloc(struct_size(newcfi, chips, numvirtchips),
793 chip = &newcfi->chips[0];
798 *chip = cfi->chips[i];
809 printk(KERN_DEBUG "%s: %d set(s) of %d interleaved chips "
1125 /* TODO: chips with no XIP use should ignore and return */
1181 * suspend interleaved chips if there is already
1416 *virt = map->virt + cfi->chips[chipnum].start + ofs;
1418 *phys = map->phys + cfi->chips[chipnum].start + ofs;
1426 /* We cannot point across chips that are virtually disjoint */
1428 last_end = cfi->chips[chipnum].start;
1429 else if (cfi->chips[chipnum].start != last_end)
1437 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen);
1468 chip = &cfi->chips[chipnum];
1553 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf);
1664 ret = do_write_oneword(map, &cfi->chips[chipnum],
1685 ret = do_write_oneword(map, &cfi->chips[chipnum],
1709 ret = do_write_oneword(map, &cfi->chips[chipnum],
1739 /* Sharp LH28F640BF chips need the first address for the
1914 ret = do_write_buffer(map, &cfi->chips[chipnum],
2055 chip = &cfi->chips[i];
2071 /* Unlock the chips again */
2074 chip = &cfi->chips[i];
2334 /* we need real chips here not virtual ones */
2339 /* Some chips have OTP located in the _top_ partition only.
2351 chip = &cfi->chips[chip_num];
2537 chip = &cfi->chips[i];
2548 map_write(map, CMD(0xFF), cfi->chips[i].start);
2574 /* Unlock the chips again */
2578 chip = &cfi->chips[i];
2627 chip = &cfi->chips[i];
2635 map_write(map, CMD(0xFF), cfi->chips[i].start);
2655 struct flchip *chip = &cfi->chips[i];
2693 kfree(cfi->chips[0].priv);
2704 MODULE_DESCRIPTION("MTD chip driver for Intel/Sharp flash chips");