Lines Matching refs:chipnum
476 int chipnum = adr >> lpddr->chipshift; in do_erase_oneblock() local
477 struct flchip *chip = &lpddr->chips[chipnum]; in do_erase_oneblock()
504 int chipnum = adr >> lpddr->chipshift; in lpddr_read() local
505 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_read()
528 int chipnum = adr >> lpddr->chipshift; in lpddr_point() local
530 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_point()
537 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_point()
543 if (chipnum >= lpddr->numchips) in lpddr_point()
570 chipnum++; in lpddr_point()
571 chip = &lpddr->chips[chipnum]; in lpddr_point()
580 int chipnum = adr >> lpddr->chipshift, err = 0; in lpddr_unpoint() local
584 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_unpoint()
590 chip = &lpddr->chips[chipnum]; in lpddr_unpoint()
591 if (chipnum >= lpddr->numchips) in lpddr_unpoint()
615 chipnum++; in lpddr_unpoint()
639 int chipnum; in lpddr_writev() local
650 chipnum = to >> lpddr->chipshift; in lpddr_writev()
662 ret = do_write_buffer(map, &lpddr->chips[chipnum], in lpddr_writev()
711 int chipnum = adr >> lpddr->chipshift; in do_xxlock() local
712 struct flchip *chip = &lpddr->chips[chipnum]; in do_xxlock()
755 int chipnum = adr >> lpddr->chipshift; in word_program() local
756 struct flchip *chip = &lpddr->chips[chipnum]; in word_program()