Lines Matching refs:chipnum
485 int chipnum = adr >> lpddr->chipshift; in do_erase_oneblock() local
486 struct flchip *chip = &lpddr->chips[chipnum]; in do_erase_oneblock()
513 int chipnum = adr >> lpddr->chipshift; in lpddr_read() local
514 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_read()
537 int chipnum = adr >> lpddr->chipshift; in lpddr_point() local
539 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_point()
546 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_point()
552 if (chipnum >= lpddr->numchips) in lpddr_point()
579 chipnum++; in lpddr_point()
580 chip = &lpddr->chips[chipnum]; in lpddr_point()
589 int chipnum = adr >> lpddr->chipshift, err = 0; in lpddr_unpoint() local
593 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_unpoint()
599 chip = &lpddr->chips[chipnum]; in lpddr_unpoint()
600 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
624 chipnum++; in lpddr_unpoint()
648 int chipnum; in lpddr_writev() local
659 chipnum = to >> lpddr->chipshift; in lpddr_writev()
671 ret = do_write_buffer(map, &lpddr->chips[chipnum], in lpddr_writev()
718 int chipnum = adr >> lpddr->chipshift; in do_xxlock() local
719 struct flchip *chip = &lpddr->chips[chipnum]; in do_xxlock()