Lines Matching refs:chipnum
462 int chipnum = adr >> lpddr->chipshift; in do_erase_oneblock() local
463 struct flchip *chip = &lpddr->chips[chipnum]; in do_erase_oneblock()
490 int chipnum = adr >> lpddr->chipshift; in lpddr_read() local
491 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_read()
514 int chipnum = adr >> lpddr->chipshift; in lpddr_point() local
516 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_point()
523 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_point()
529 if (chipnum >= lpddr->numchips) in lpddr_point()
556 chipnum++; in lpddr_point()
557 chip = &lpddr->chips[chipnum]; in lpddr_point()
566 int chipnum = adr >> lpddr->chipshift, err = 0; in lpddr_unpoint() local
570 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_unpoint()
576 chip = &lpddr->chips[chipnum]; in lpddr_unpoint()
577 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
601 chipnum++; in lpddr_unpoint()
625 int chipnum; in lpddr_writev() local
636 chipnum = to >> lpddr->chipshift; in lpddr_writev()
648 ret = do_write_buffer(map, &lpddr->chips[chipnum], in lpddr_writev()
695 int chipnum = adr >> lpddr->chipshift; in do_xxlock() local
696 struct flchip *chip = &lpddr->chips[chipnum]; in do_xxlock()