chipnum 191 drivers/gpio/gpio-max3191x.c unsigned int chipnum) chipnum 194 drivers/gpio/gpio-max3191x.c if (!max3191x->ignore_uv && test_bit(chipnum, max3191x->fault)) chipnum 200 drivers/gpio/gpio-max3191x.c return test_bit(chipnum, max3191x->crc_error) || chipnum 201 drivers/gpio/gpio-max3191x.c test_bit(chipnum, max3191x->overtemp) || chipnum 203 drivers/gpio/gpio-max3191x.c test_bit(chipnum, max3191x->undervolt1)); chipnum 209 drivers/gpio/gpio-max3191x.c int ret, chipnum, wordlen = max3191x_wordlen(max3191x); chipnum 217 drivers/gpio/gpio-max3191x.c chipnum = offset / MAX3191X_NGPIO; chipnum 218 drivers/gpio/gpio-max3191x.c if (max3191x_chip_is_faulting(max3191x, chipnum)) { chipnum 223 drivers/gpio/gpio-max3191x.c in = ((u8 *)max3191x->xfer.rx_buf)[chipnum * wordlen]; chipnum 243 drivers/gpio/gpio-max3191x.c unsigned int chipnum = bit / MAX3191X_NGPIO; chipnum 246 drivers/gpio/gpio-max3191x.c if (max3191x_chip_is_faulting(max3191x, chipnum)) { chipnum 251 drivers/gpio/gpio-max3191x.c in = ((u8 *)max3191x->xfer.rx_buf)[chipnum * wordlen]; chipnum 257 drivers/gpio/gpio-max3191x.c bit = (chipnum + 1) * MAX3191X_NGPIO; /* go to next chip */ chipnum 269 drivers/gpio/gpio-max3191x.c u32 debounce, chipnum, db0_val, db1_val; chipnum 300 drivers/gpio/gpio-max3191x.c chipnum = 0; /* all chips use the same pair of debounce pins */ chipnum 302 drivers/gpio/gpio-max3191x.c chipnum = offset / MAX3191X_NGPIO; /* per chip debounce pins */ chipnum 305 drivers/gpio/gpio-max3191x.c gpiod_set_value_cansleep(max3191x->db0_pins->desc[chipnum], db0_val); chipnum 306 drivers/gpio/gpio-max3191x.c gpiod_set_value_cansleep(max3191x->db1_pins->desc[chipnum], db1_val); chipnum 1385 drivers/mtd/chips/cfi_cmdset_0001.c int chipnum; chipnum 1394 drivers/mtd/chips/cfi_cmdset_0001.c chipnum = (from >> cfi->chipshift); chipnum 1395 drivers/mtd/chips/cfi_cmdset_0001.c ofs = from - (chipnum << cfi->chipshift); chipnum 1397 drivers/mtd/chips/cfi_cmdset_0001.c *virt = map->virt + cfi->chips[chipnum].start + ofs; chipnum 1399 drivers/mtd/chips/cfi_cmdset_0001.c *phys = map->phys + cfi->chips[chipnum].start + ofs; chipnum 1404 drivers/mtd/chips/cfi_cmdset_0001.c if (chipnum >= cfi->numchips) chipnum 1409 drivers/mtd/chips/cfi_cmdset_0001.c last_end = cfi->chips[chipnum].start; chipnum 1410 drivers/mtd/chips/cfi_cmdset_0001.c else if (cfi->chips[chipnum].start != last_end) chipnum 1418 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); chipnum 1427 drivers/mtd/chips/cfi_cmdset_0001.c chipnum++; chipnum 1437 drivers/mtd/chips/cfi_cmdset_0001.c int chipnum, err = 0; chipnum 1442 drivers/mtd/chips/cfi_cmdset_0001.c chipnum = (from >> cfi->chipshift); chipnum 1443 drivers/mtd/chips/cfi_cmdset_0001.c ofs = from - (chipnum << cfi->chipshift); chipnum 1449 drivers/mtd/chips/cfi_cmdset_0001.c chip = &cfi->chips[chipnum]; chipnum 1450 drivers/mtd/chips/cfi_cmdset_0001.c if (chipnum >= cfi->numchips) chipnum 1473 drivers/mtd/chips/cfi_cmdset_0001.c chipnum++; chipnum 1516 drivers/mtd/chips/cfi_cmdset_0001.c int chipnum; chipnum 1520 drivers/mtd/chips/cfi_cmdset_0001.c chipnum = (from >> cfi->chipshift); chipnum 1521 drivers/mtd/chips/cfi_cmdset_0001.c ofs = from - (chipnum << cfi->chipshift); chipnum 1526 drivers/mtd/chips/cfi_cmdset_0001.c if (chipnum >= cfi->numchips) chipnum 1534 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); chipnum 1543 drivers/mtd/chips/cfi_cmdset_0001.c chipnum++; chipnum 1628 drivers/mtd/chips/cfi_cmdset_0001.c int chipnum; chipnum 1631 drivers/mtd/chips/cfi_cmdset_0001.c chipnum = to >> cfi->chipshift; chipnum 1632 drivers/mtd/chips/cfi_cmdset_0001.c ofs = to - (chipnum << cfi->chipshift); chipnum 1645 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_oneword(map, &cfi->chips[chipnum], chipnum 1656 drivers/mtd/chips/cfi_cmdset_0001.c chipnum ++; chipnum 1658 drivers/mtd/chips/cfi_cmdset_0001.c if (chipnum == cfi->numchips) chipnum 1666 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_oneword(map, &cfi->chips[chipnum], chipnum 1677 drivers/mtd/chips/cfi_cmdset_0001.c chipnum ++; chipnum 1679 drivers/mtd/chips/cfi_cmdset_0001.c if (chipnum == cfi->numchips) chipnum 1690 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_oneword(map, &cfi->chips[chipnum], chipnum 1875 drivers/mtd/chips/cfi_cmdset_0001.c int chipnum; chipnum 1885 drivers/mtd/chips/cfi_cmdset_0001.c chipnum = to >> cfi->chipshift; chipnum 1886 drivers/mtd/chips/cfi_cmdset_0001.c ofs = to - (chipnum << cfi->chipshift); chipnum 1895 drivers/mtd/chips/cfi_cmdset_0001.c ret = do_write_buffer(map, &cfi->chips[chipnum], chipnum 1905 drivers/mtd/chips/cfi_cmdset_0001.c chipnum ++; chipnum 1907 drivers/mtd/chips/cfi_cmdset_0001.c if (chipnum == cfi->numchips) chipnum 1245 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 1249 drivers/mtd/chips/cfi_cmdset_0002.c chipnum = (from >> cfi->chipshift); chipnum 1250 drivers/mtd/chips/cfi_cmdset_0002.c ofs = from - (chipnum << cfi->chipshift); chipnum 1255 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum >= cfi->numchips) chipnum 1263 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); chipnum 1272 drivers/mtd/chips/cfi_cmdset_0002.c chipnum++; chipnum 1353 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 1358 drivers/mtd/chips/cfi_cmdset_0002.c chipnum=from>>3; chipnum 1364 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum >= cfi->numchips) chipnum 1372 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, chipnum 1382 drivers/mtd/chips/cfi_cmdset_0002.c chipnum++; chipnum 1493 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 1504 drivers/mtd/chips/cfi_cmdset_0002.c for (chipnum = 0; chipnum < cfi->numchips; chipnum++) { chipnum 1505 drivers/mtd/chips/cfi_cmdset_0002.c chip = &cfi->chips[chipnum]; chipnum 1826 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 1830 drivers/mtd/chips/cfi_cmdset_0002.c chipnum = to >> cfi->chipshift; chipnum 1831 drivers/mtd/chips/cfi_cmdset_0002.c ofs = to - (chipnum << cfi->chipshift); chipnum 1832 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chipnum 1842 drivers/mtd/chips/cfi_cmdset_0002.c mutex_lock(&cfi->chips[chipnum].mutex); chipnum 1844 drivers/mtd/chips/cfi_cmdset_0002.c if (cfi->chips[chipnum].state != FL_READY) { chipnum 1846 drivers/mtd/chips/cfi_cmdset_0002.c add_wait_queue(&cfi->chips[chipnum].wq, &wait); chipnum 1848 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chipnum 1851 drivers/mtd/chips/cfi_cmdset_0002.c remove_wait_queue(&cfi->chips[chipnum].wq, &wait); chipnum 1858 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chipnum 1865 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_oneword(map, &cfi->chips[chipnum], chipnum 1876 drivers/mtd/chips/cfi_cmdset_0002.c chipnum ++; chipnum 1878 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum == cfi->numchips) chipnum 1889 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_oneword(map, &cfi->chips[chipnum], chipnum 1900 drivers/mtd/chips/cfi_cmdset_0002.c chipnum ++; chipnum 1902 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum == cfi->numchips) chipnum 1904 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chipnum 1913 drivers/mtd/chips/cfi_cmdset_0002.c mutex_lock(&cfi->chips[chipnum].mutex); chipnum 1915 drivers/mtd/chips/cfi_cmdset_0002.c if (cfi->chips[chipnum].state != FL_READY) { chipnum 1917 drivers/mtd/chips/cfi_cmdset_0002.c add_wait_queue(&cfi->chips[chipnum].wq, &wait); chipnum 1919 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chipnum 1922 drivers/mtd/chips/cfi_cmdset_0002.c remove_wait_queue(&cfi->chips[chipnum].wq, &wait); chipnum 1928 drivers/mtd/chips/cfi_cmdset_0002.c mutex_unlock(&cfi->chips[chipnum].mutex); chipnum 1932 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_oneword(map, &cfi->chips[chipnum], chipnum 2107 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 2110 drivers/mtd/chips/cfi_cmdset_0002.c chipnum = to >> cfi->chipshift; chipnum 2111 drivers/mtd/chips/cfi_cmdset_0002.c ofs = to - (chipnum << cfi->chipshift); chipnum 2118 drivers/mtd/chips/cfi_cmdset_0002.c ret = cfi_amdstd_write_words(mtd, ofs + (chipnum<<cfi->chipshift), chipnum 2127 drivers/mtd/chips/cfi_cmdset_0002.c chipnum ++; chipnum 2129 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum == cfi->numchips) chipnum 2144 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_write_buffer(map, &cfi->chips[chipnum], chipnum 2155 drivers/mtd/chips/cfi_cmdset_0002.c chipnum ++; chipnum 2157 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum == cfi->numchips) chipnum 2165 drivers/mtd/chips/cfi_cmdset_0002.c ret = cfi_amdstd_write_words(mtd, ofs + (chipnum<<cfi->chipshift), chipnum 2319 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 2321 drivers/mtd/chips/cfi_cmdset_0002.c chipnum = to >> cfi->chipshift; chipnum 2322 drivers/mtd/chips/cfi_cmdset_0002.c ofs = to - (chipnum << cfi->chipshift); chipnum 2323 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chipnum 2332 drivers/mtd/chips/cfi_cmdset_0002.c ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], bus_ofs); chipnum 2344 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_panic_write_oneword(map, &cfi->chips[chipnum], chipnum 2355 drivers/mtd/chips/cfi_cmdset_0002.c chipnum++; chipnum 2357 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum == cfi->numchips) chipnum 2368 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_panic_write_oneword(map, &cfi->chips[chipnum], chipnum 2379 drivers/mtd/chips/cfi_cmdset_0002.c chipnum++; chipnum 2381 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum == cfi->numchips) chipnum 2384 drivers/mtd/chips/cfi_cmdset_0002.c chipstart = cfi->chips[chipnum].start; chipnum 2392 drivers/mtd/chips/cfi_cmdset_0002.c ret = cfi_amdstd_panic_wait(map, &cfi->chips[chipnum], ofs); chipnum 2400 drivers/mtd/chips/cfi_cmdset_0002.c ret = do_panic_write_oneword(map, &cfi->chips[chipnum], chipnum 2811 drivers/mtd/chips/cfi_cmdset_0002.c int chipnum; chipnum 2836 drivers/mtd/chips/cfi_cmdset_0002.c chipnum = 0; chipnum 2851 drivers/mtd/chips/cfi_cmdset_0002.c sect[sectors].chip = &cfi->chips[chipnum]; chipnum 2854 drivers/mtd/chips/cfi_cmdset_0002.c map, &cfi->chips[chipnum], adr, 0, chipnum 2869 drivers/mtd/chips/cfi_cmdset_0002.c chipnum++; chipnum 2871 drivers/mtd/chips/cfi_cmdset_0002.c if (chipnum >= cfi->numchips) chipnum 389 drivers/mtd/chips/cfi_cmdset_0020.c int chipnum; chipnum 393 drivers/mtd/chips/cfi_cmdset_0020.c chipnum = (from >> cfi->chipshift); chipnum 394 drivers/mtd/chips/cfi_cmdset_0020.c ofs = from - (chipnum << cfi->chipshift); chipnum 399 drivers/mtd/chips/cfi_cmdset_0020.c if (chipnum >= cfi->numchips) chipnum 407 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); chipnum 416 drivers/mtd/chips/cfi_cmdset_0020.c chipnum++; chipnum 615 drivers/mtd/chips/cfi_cmdset_0020.c int chipnum; chipnum 618 drivers/mtd/chips/cfi_cmdset_0020.c chipnum = to >> cfi->chipshift; chipnum 619 drivers/mtd/chips/cfi_cmdset_0020.c ofs = to - (chipnum << cfi->chipshift); chipnum 623 drivers/mtd/chips/cfi_cmdset_0020.c printk("%s: chipnum[%x] wbufsize[%x]\n", __func__, chipnum, wbufsize); chipnum 635 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_write_buffer(map, &cfi->chips[chipnum], chipnum 646 drivers/mtd/chips/cfi_cmdset_0020.c chipnum ++; chipnum 648 drivers/mtd/chips/cfi_cmdset_0020.c if (chipnum == cfi->numchips) chipnum 898 drivers/mtd/chips/cfi_cmdset_0020.c int chipnum, ret = 0; chipnum 945 drivers/mtd/chips/cfi_cmdset_0020.c chipnum = instr->addr >> cfi->chipshift; chipnum 946 drivers/mtd/chips/cfi_cmdset_0020.c adr = instr->addr - (chipnum << cfi->chipshift); chipnum 952 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_erase_oneblock(map, &cfi->chips[chipnum], adr); chipnum 965 drivers/mtd/chips/cfi_cmdset_0020.c chipnum++; chipnum 967 drivers/mtd/chips/cfi_cmdset_0020.c if (chipnum >= cfi->numchips) chipnum 1135 drivers/mtd/chips/cfi_cmdset_0020.c int chipnum, ret = 0; chipnum 1146 drivers/mtd/chips/cfi_cmdset_0020.c chipnum = ofs >> cfi->chipshift; chipnum 1147 drivers/mtd/chips/cfi_cmdset_0020.c adr = ofs - (chipnum << cfi->chipshift); chipnum 1157 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_lock_oneblock(map, &cfi->chips[chipnum], adr); chipnum 1173 drivers/mtd/chips/cfi_cmdset_0020.c chipnum++; chipnum 1175 drivers/mtd/chips/cfi_cmdset_0020.c if (chipnum >= cfi->numchips) chipnum 1282 drivers/mtd/chips/cfi_cmdset_0020.c int chipnum, ret = 0; chipnum 1287 drivers/mtd/chips/cfi_cmdset_0020.c chipnum = ofs >> cfi->chipshift; chipnum 1288 drivers/mtd/chips/cfi_cmdset_0020.c adr = ofs - (chipnum << cfi->chipshift); chipnum 1305 drivers/mtd/chips/cfi_cmdset_0020.c ret = do_unlock_oneblock(map, &cfi->chips[chipnum], adr); chipnum 364 drivers/mtd/chips/cfi_util.c int chipnum, ret = 0; chipnum 411 drivers/mtd/chips/cfi_util.c chipnum = ofs >> cfi->chipshift; chipnum 412 drivers/mtd/chips/cfi_util.c adr = ofs - (chipnum << cfi->chipshift); chipnum 419 drivers/mtd/chips/cfi_util.c ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); chipnum 433 drivers/mtd/chips/cfi_util.c chipnum++; chipnum 435 drivers/mtd/chips/cfi_util.c if (chipnum >= cfi->numchips) chipnum 461 drivers/mtd/lpddr/lpddr_cmds.c int chipnum = adr >> lpddr->chipshift; chipnum 462 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chipnum 489 drivers/mtd/lpddr/lpddr_cmds.c int chipnum = adr >> lpddr->chipshift; chipnum 490 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chipnum 513 drivers/mtd/lpddr/lpddr_cmds.c int chipnum = adr >> lpddr->chipshift; chipnum 515 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chipnum 522 drivers/mtd/lpddr/lpddr_cmds.c ofs = adr - (chipnum << lpddr->chipshift); chipnum 528 drivers/mtd/lpddr/lpddr_cmds.c if (chipnum >= lpddr->numchips) chipnum 555 drivers/mtd/lpddr/lpddr_cmds.c chipnum++; chipnum 556 drivers/mtd/lpddr/lpddr_cmds.c chip = &lpddr->chips[chipnum]; chipnum 565 drivers/mtd/lpddr/lpddr_cmds.c int chipnum = adr >> lpddr->chipshift, err = 0; chipnum 569 drivers/mtd/lpddr/lpddr_cmds.c ofs = adr - (chipnum << lpddr->chipshift); chipnum 575 drivers/mtd/lpddr/lpddr_cmds.c chip = &lpddr->chips[chipnum]; chipnum 576 drivers/mtd/lpddr/lpddr_cmds.c if (chipnum >= lpddr->numchips) chipnum 600 drivers/mtd/lpddr/lpddr_cmds.c chipnum++; chipnum 624 drivers/mtd/lpddr/lpddr_cmds.c int chipnum; chipnum 635 drivers/mtd/lpddr/lpddr_cmds.c chipnum = to >> lpddr->chipshift; chipnum 647 drivers/mtd/lpddr/lpddr_cmds.c ret = do_write_buffer(map, &lpddr->chips[chipnum], chipnum 694 drivers/mtd/lpddr/lpddr_cmds.c int chipnum = adr >> lpddr->chipshift; chipnum 695 drivers/mtd/lpddr/lpddr_cmds.c struct flchip *chip = &lpddr->chips[chipnum]; chipnum 242 drivers/net/wireless/broadcom/brcm80211/brcmfmac/common.c bus->chip = le32_to_cpu(revinfo.chipnum); chipnum 723 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwil_types.h __le32 chipnum;