• Home
  • Raw
  • Download

Lines Matching refs:chipnum

1322 	int chipnum;  in cfi_intelext_point()  local
1331 chipnum = (from >> cfi->chipshift); in cfi_intelext_point()
1332 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_point()
1334 *virt = map->virt + cfi->chips[chipnum].start + ofs; in cfi_intelext_point()
1336 *phys = map->phys + cfi->chips[chipnum].start + ofs; in cfi_intelext_point()
1341 if (chipnum >= cfi->numchips) in cfi_intelext_point()
1346 last_end = cfi->chips[chipnum].start; in cfi_intelext_point()
1347 else if (cfi->chips[chipnum].start != last_end) in cfi_intelext_point()
1355 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); in cfi_intelext_point()
1364 chipnum++; in cfi_intelext_point()
1374 int chipnum, err = 0; in cfi_intelext_unpoint() local
1379 chipnum = (from >> cfi->chipshift); in cfi_intelext_unpoint()
1380 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_unpoint()
1386 chip = &cfi->chips[chipnum]; in cfi_intelext_unpoint()
1387 if (chipnum >= cfi->numchips) in cfi_intelext_unpoint()
1410 chipnum++; in cfi_intelext_unpoint()
1453 int chipnum; in cfi_intelext_read() local
1457 chipnum = (from >> cfi->chipshift); in cfi_intelext_read()
1458 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_read()
1463 if (chipnum >= cfi->numchips) in cfi_intelext_read()
1471 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_intelext_read()
1480 chipnum++; in cfi_intelext_read()
1565 int chipnum; in cfi_intelext_write_words() local
1568 chipnum = to >> cfi->chipshift; in cfi_intelext_write_words()
1569 ofs = to - (chipnum << cfi->chipshift); in cfi_intelext_write_words()
1582 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_intelext_write_words()
1593 chipnum ++; in cfi_intelext_write_words()
1595 if (chipnum == cfi->numchips) in cfi_intelext_write_words()
1603 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_intelext_write_words()
1614 chipnum ++; in cfi_intelext_write_words()
1616 if (chipnum == cfi->numchips) in cfi_intelext_write_words()
1627 ret = do_write_oneword(map, &cfi->chips[chipnum], in cfi_intelext_write_words()
1806 int chipnum; in cfi_intelext_writev() local
1816 chipnum = to >> cfi->chipshift; in cfi_intelext_writev()
1817 ofs = to - (chipnum << cfi->chipshift); in cfi_intelext_writev()
1826 ret = do_write_buffer(map, &cfi->chips[chipnum], in cfi_intelext_writev()
1836 chipnum ++; in cfi_intelext_writev()
1838 if (chipnum == cfi->numchips) in cfi_intelext_writev()