Lines Matching refs:chips

45 /* Intel chips */
50 /* STMicroelectronics chips */
54 /* Atmel chips */
57 /* Sharp chips */
171 /* Atmel chips don't use the same PRI format as Intel chips */
320 * Some chips power-up with all sectors locked by default.
565 cfi->chips[i].word_write_time =
568 cfi->chips[i].word_write_time = 50000;
571 cfi->chips[i].buffer_write_time =
576 cfi->chips[i].erase_time =
579 cfi->chips[i].erase_time = 2000000;
583 cfi->chips[i].word_write_time_max =
587 cfi->chips[i].word_write_time_max = 50000 * 8;
591 cfi->chips[i].buffer_write_time_max =
597 cfi->chips[i].erase_time_max =
601 cfi->chips[i].erase_time_max = 2000000 * 8;
603 cfi->chips[i].ref_point_counter = 0;
604 init_waitqueue_head(&(cfi->chips[i].wq));
625 //printk(KERN_DEBUG "number of CFI chips: %d\n", cfi->numchips);
657 printk(KERN_WARNING "Sum of regions (%lx) != total size of set of interleaved chips (%lx)\n", offset, devsize);
705 * Probing of multi-partition flash chips.
766 * All functions below currently rely on all chips having
780 newcfi = kmalloc(struct_size(newcfi, chips, numvirtchips),
795 chip = &newcfi->chips[0];
800 *chip = cfi->chips[i];
811 printk(KERN_DEBUG "%s: %d set(s) of %d interleaved chips "
1127 /* TODO: chips with no XIP use should ignore and return */
1183 * suspend interleaved chips if there is already
1418 *virt = map->virt + cfi->chips[chipnum].start + ofs;
1420 *phys = map->phys + cfi->chips[chipnum].start + ofs;
1428 /* We cannot point across chips that are virtually disjoint */
1430 last_end = cfi->chips[chipnum].start;
1431 else if (cfi->chips[chipnum].start != last_end)
1439 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen);
1470 chip = &cfi->chips[chipnum];
1555 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf);
1666 ret = do_write_oneword(map, &cfi->chips[chipnum],
1687 ret = do_write_oneword(map, &cfi->chips[chipnum],
1711 ret = do_write_oneword(map, &cfi->chips[chipnum],
1741 /* Sharp LH28F640BF chips need the first address for the
1916 ret = do_write_buffer(map, &cfi->chips[chipnum],
2057 chip = &cfi->chips[i];
2073 /* Unlock the chips again */
2076 chip = &cfi->chips[i];
2336 /* we need real chips here not virtual ones */
2341 /* Some chips have OTP located in the _top_ partition only.
2353 chip = &cfi->chips[chip_num];
2539 chip = &cfi->chips[i];
2550 map_write(map, CMD(0xFF), cfi->chips[i].start);
2577 /* Unlock the chips again */
2581 chip = &cfi->chips[i];
2630 chip = &cfi->chips[i];
2638 map_write(map, CMD(0xFF), cfi->chips[i].start);
2658 struct flchip *chip = &cfi->chips[i];
2696 kfree(cfi->chips[0].priv);
2707 MODULE_DESCRIPTION("MTD chip driver for Intel/Sharp flash chips");