Searched refs:chipnum (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpio-max3191x.c | 192 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 …]
|
/linux-6.12.1/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 1240 int chipnum; in cfi_amdstd_read() local 1244 chipnum = (from >> cfi->chipshift); in cfi_amdstd_read() 1245 ofs = from - (chipnum << cfi->chipshift); in cfi_amdstd_read() 1250 if (chipnum >= cfi->numchips) in cfi_amdstd_read() 1258 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_amdstd_read() 1267 chipnum++; in cfi_amdstd_read() 1348 int chipnum; in cfi_amdstd_secsi_read() local 1353 chipnum=from>>3; in cfi_amdstd_secsi_read() 1359 if (chipnum >= cfi->numchips) in cfi_amdstd_secsi_read() 1367 ret = do_read_secsi_onechip(map, &cfi->chips[chipnum], ofs, in cfi_amdstd_secsi_read() [all …]
|
D | cfi_cmdset_0020.c | 389 int chipnum; in cfi_staa_read() local 393 chipnum = (from >> cfi->chipshift); in cfi_staa_read() 394 ofs = from - (chipnum << cfi->chipshift); in cfi_staa_read() 399 if (chipnum >= cfi->numchips) in cfi_staa_read() 407 ret = do_read_onechip(map, &cfi->chips[chipnum], ofs, thislen, buf); in cfi_staa_read() 416 chipnum++; in cfi_staa_read() 614 int chipnum; in cfi_staa_write_buffers() local 617 chipnum = to >> cfi->chipshift; in cfi_staa_write_buffers() 618 ofs = to - (chipnum << cfi->chipshift); in cfi_staa_write_buffers() 622 printk("%s: chipnum[%x] wbufsize[%x]\n", __func__, chipnum, wbufsize); in cfi_staa_write_buffers() [all …]
|
D | cfi_cmdset_0001.c | 1406 int chipnum; in cfi_intelext_point() local 1415 chipnum = (from >> cfi->chipshift); in cfi_intelext_point() 1416 ofs = from - (chipnum << cfi->chipshift); in cfi_intelext_point() 1418 *virt = map->virt + cfi->chips[chipnum].start + ofs; in cfi_intelext_point() 1420 *phys = map->phys + cfi->chips[chipnum].start + ofs; in cfi_intelext_point() 1425 if (chipnum >= cfi->numchips) in cfi_intelext_point() 1430 last_end = cfi->chips[chipnum].start; in cfi_intelext_point() 1431 else if (cfi->chips[chipnum].start != last_end) in cfi_intelext_point() 1439 ret = do_point_onechip(map, &cfi->chips[chipnum], ofs, thislen); in cfi_intelext_point() 1448 chipnum++; in cfi_intelext_point() [all …]
|
D | cfi_util.c | 363 int chipnum, ret = 0; in cfi_varsize_frob() local 410 chipnum = ofs >> cfi->chipshift; in cfi_varsize_frob() 411 adr = ofs - (chipnum << cfi->chipshift); in cfi_varsize_frob() 418 ret = (*frob)(map, &cfi->chips[chipnum], adr, size, thunk); in cfi_varsize_frob() 432 chipnum++; in cfi_varsize_frob() 434 if (chipnum >= cfi->numchips) in cfi_varsize_frob()
|
/linux-6.12.1/drivers/mtd/lpddr/ |
D | lpddr_cmds.c | 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() [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | common.c | 332 bus->chip = le32_to_cpu(revinfo.chipnum); in brcmf_c_preinit_dcmds()
|
D | fwil_types.h | 803 __le32 chipnum; member
|