Searched refs:chipnum (Results 1 – 6 of 6) sorted by relevance
/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 1014 int chipnum; in cfi_amdstd_read() local 1018 chipnum = (from >> cfi->chipshift); in cfi_amdstd_read() 1019 ofs = from - (chipnum << cfi->chipshift); in cfi_amdstd_read() 1024 if (chipnum >= cfi->numchips) in cfi_amdstd_read() 1032 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read() 1041 chipnum++; in cfi_amdstd_read() 1095 int chipnum; in cfi_amdstd_secsi_read() local 1100 chipnum=from>>3; in cfi_amdstd_secsi_read() 1106 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read() 1114 ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_secsi_read() [all …]
|
D | cfi_cmdset_0020.c | 390 int chipnum; in cfi_staa_read() local 394 chipnum = (from >> cfi->chipshift); in cfi_staa_read() 395 ofs = from - (chipnum << cfi->chipshift); in cfi_staa_read() 400 if (chipnum >= cfi->numchips) in cfi_staa_read() 408 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_staa_read() 417 chipnum++; in cfi_staa_read() 615 int chipnum; in cfi_staa_write_buffers() local 618 chipnum = to >> cfi->chipshift; in cfi_staa_write_buffers() 619 ofs = to - (chipnum << cfi->chipshift); in cfi_staa_write_buffers() 623 printk("%s: chipnum[%x] wbufsize[%x]\n", __func__, chipnum, wbufsize); in cfi_staa_write_buffers() [all …]
|
D | cfi_util.c | 172 int chipnum, ret = 0; in cfi_varsize_frob() local 219 chipnum = ofs >> cfi->chipshift; in cfi_varsize_frob() 220 adr = ofs - (chipnum << cfi->chipshift); in cfi_varsize_frob() 227 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob() 241 chipnum++; in cfi_varsize_frob() 243 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
|
D | cfi_cmdset_0001.c | 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() [all …]
|
/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 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() [all …]
|
/drivers/net/wireless/bcmdhd/include/ |
D | wlioctl.h | 1288 uint chipnum; /* chip number */ member
|