Home
last modified time | relevance | path

Searched refs:chipnum (Results 1 – 8 of 8) sorted by relevance

/drivers/gpio/
Dgpio-max3191x.c192 unsigned int chipnum) in max3191x_chip_is_faulting() argument
195 if (!max3191x->ignore_uv && test_bit(chipnum, max3191x->fault)) in max3191x_chip_is_faulting()
201 return test_bit(chipnum, max3191x->crc_error) || in max3191x_chip_is_faulting()
202 test_bit(chipnum, max3191x->overtemp) || in max3191x_chip_is_faulting()
204 test_bit(chipnum, max3191x->undervolt1)); in max3191x_chip_is_faulting()
210 int ret, chipnum, wordlen = max3191x_wordlen(max3191x); in max3191x_get() local
218 chipnum = offset / MAX3191X_NGPIO; in max3191x_get()
219 if (max3191x_chip_is_faulting(max3191x, chipnum)) { in max3191x_get()
224 in = ((u8 *)max3191x->xfer.rx_buf)[chipnum * wordlen]; in max3191x_get()
249 unsigned int chipnum = bit / MAX3191X_NGPIO; in max3191x_get_multiple() local
[all …]
/drivers/mtd/chips/
Dcfi_cmdset_0002.c1242 int chipnum; in cfi_amdstd_read() local
1246 chipnum = (from >> cfi->chipshift); in cfi_amdstd_read()
1247 ofs = from - (chipnum << cfi->chipshift); in cfi_amdstd_read()
1252 if (chipnum >= cfi->numchips) in cfi_amdstd_read()
1260 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read()
1269 chipnum++; in cfi_amdstd_read()
1350 int chipnum; in cfi_amdstd_secsi_read() local
1355 chipnum=from>>3; in cfi_amdstd_secsi_read()
1361 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read()
1369 ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, in cfi_amdstd_secsi_read()
[all …]
Dcfi_cmdset_0020.c388 int chipnum; in cfi_staa_read() local
392 chipnum = (from >> cfi->chipshift); in cfi_staa_read()
393 ofs = from - (chipnum << cfi->chipshift); in cfi_staa_read()
398 if (chipnum >= cfi->numchips) in cfi_staa_read()
406 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_staa_read()
415 chipnum++; in cfi_staa_read()
613 int chipnum; in cfi_staa_write_buffers() local
616 chipnum = to >> cfi->chipshift; in cfi_staa_write_buffers()
617 ofs = to - (chipnum << cfi->chipshift); in cfi_staa_write_buffers()
621 printk("%s: chipnum[%x] wbufsize[%x]\n", __func__, chipnum, wbufsize); in cfi_staa_write_buffers()
[all …]
Dcfi_cmdset_0001.c1405 int chipnum; in cfi_intelext_point() local
1414 chipnum = (from >> cfi->chipshift); in cfi_intelext_point()
1415 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_point()
1417 *virt = map->virt + cfi->chips[chipnum].start + ofs; in cfi_intelext_point()
1419 *phys = map->phys + cfi->chips[chipnum].start + ofs; in cfi_intelext_point()
1424 if (chipnum >= cfi->numchips) in cfi_intelext_point()
1429 last_end = cfi->chips[chipnum].start; in cfi_intelext_point()
1430 else if (cfi->chips[chipnum].start != last_end) in cfi_intelext_point()
1438 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); in cfi_intelext_point()
1447 chipnum++; in cfi_intelext_point()
[all …]
Dcfi_util.c364 int chipnum, ret = 0; in cfi_varsize_frob() local
411 chipnum = ofs >> cfi->chipshift; in cfi_varsize_frob()
412 adr = ofs - (chipnum << cfi->chipshift); in cfi_varsize_frob()
419 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob()
433 chipnum++; in cfi_varsize_frob()
435 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
/drivers/mtd/lpddr/
Dlpddr_cmds.c488 int chipnum = adr >> lpddr->chipshift; in do_erase_oneblock() local
489 struct flchip *chip = &lpddr->chips[chipnum]; in do_erase_oneblock()
516 int chipnum = adr >> lpddr->chipshift; in lpddr_read() local
517 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_read()
540 int chipnum = adr >> lpddr->chipshift; in lpddr_point() local
542 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_point()
549 ofs = adr - (chipnum << lpddr->chipshift); in lpddr_point()
555 if (chipnum >= lpddr->numchips) in lpddr_point()
582 chipnum++; in lpddr_point()
583 chip = &lpddr->chips[chipnum]; in lpddr_point()
[all …]
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcommon.c276 bus->chip = le32_to_cpu(revinfo.chipnum); in brcmf_c_preinit_dcmds()
Dfwil_types.h741 __le32 chipnum; member