Home
last modified time | relevance | path

Searched refs:nchips (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-max3191x.c75 u32 nchips; member
136 for (i = 0; i < max3191x->nchips; i++) { in max3191x_readout_locked()
370 max3191x->nchips = 1; in max3191x_probe()
372 &max3191x->nchips); in max3191x_probe()
374 n = BITS_TO_LONGS(max3191x->nchips); in max3191x_probe()
380 max3191x->xfer.rx_buf = devm_kcalloc(dev, max3191x->nchips, in max3191x_probe()
388 "maxim,modesel", GPIOD_ASIS, max3191x->nchips); in max3191x_probe()
390 "maxim,fault", GPIOD_IN, max3191x->nchips); in max3191x_probe()
392 "maxim,db0", GPIOD_OUT_LOW, max3191x->nchips); in max3191x_probe()
394 "maxim,db1", GPIOD_OUT_LOW, max3191x->nchips); in max3191x_probe()
[all …]
H A Dgpio-htc-egpio.c50 int nchips; member
235 for (i = 0; i < ei->nchips; i++) { in egpio_write_cache()
305 ei->nchips = pdata->num_chips; in egpio_probe()
307 ei->nchips, sizeof(struct egpio_chip), in egpio_probe()
312 for (i = 0; i < ei->nchips; i++) { in egpio_probe()
/openbmc/linux/drivers/irqchip/
H A Dirq-atmel-aic-common.c217 int nchips; in aic_common_of_init() local
221 nchips = DIV_ROUND_UP(nirqs, 32); in aic_common_of_init()
227 aic = kcalloc(nchips, sizeof(*aic), GFP_KERNEL); in aic_common_of_init()
233 domain = irq_domain_add_linear(node, nchips * 32, ops, aic); in aic_common_of_init()
246 for (i = 0; i < nchips; i++) { in aic_common_of_init()
H A Dirq-pic32-evic.c217 int nchips, ret; in pic32_of_init() local
220 nchips = DIV_ROUND_UP(NR_IRQS, 32); in pic32_of_init()
226 priv = kcalloc(nchips, sizeof(*priv), GFP_KERNEL); in pic32_of_init()
232 evic_irq_domain = irq_domain_add_linear(node, nchips * 32, in pic32_of_init()
256 for (i = 0; i < nchips; i++) { in pic32_of_init()
H A Dirq-atmel-aic5.c332 int nchips; in aic5_of_init() local
347 nchips = aic5_domain->revmap_size / 32; in aic5_of_init()
348 for (i = 0; i < nchips; i++) { in aic5_of_init()
/openbmc/linux/drivers/mtd/nand/spi/
H A Dato.c84 .nchips = ARRAY_SIZE(ato_spinand_table),
H A Dparagon.c129 .nchips = ARRAY_SIZE(paragon_spinand_table),
H A Dxtx.c127 .nchips = ARRAY_SIZE(xtx_spinand_table),
H A Dalliancememory.c151 .nchips = ARRAY_SIZE(alliancememory_spinand_table),
H A Desmt.c145 .nchips = ARRAY_SIZE(esmt_c8_spinand_table),
H A Dwinbond.c200 .nchips = ARRAY_SIZE(winbond_spinand_table),
H A Dtoshiba.c311 .nchips = ARRAY_SIZE(toshiba_spinand_table),
H A Dmicron.c307 .nchips = ARRAY_SIZE(micron_spinand_table),
H A Dmacronix.c331 .nchips = ARRAY_SIZE(macronix_spinand_table),
H A Dgigadevice.c545 .nchips = ARRAY_SIZE(gigadevice_spinand_table),
H A Dcore.c968 manufacturer->nchips, in spinand_manufacturer_match()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c1115 int nchips = of_get_child_count(np); in pl35x_nand_chips_init() local
1118 if (!nchips || nchips > PL35X_NAND_MAX_CS) { in pl35x_nand_chips_init()
1120 nchips); in pl35x_nand_chips_init()
H A Drockchip-nand-controller.c1215 int nchips = of_get_child_count(np); in rk_nfc_nand_chips_init() local
1218 if (!nchips || nchips > NFC_MAX_NSELS) { in rk_nfc_nand_chips_init()
1220 nchips); in rk_nfc_nand_chips_init()
H A Darasan-nand-controller.c1364 int nchips = of_get_child_count(np); in anfc_chips_init() local
1367 if (!nchips) { in anfc_chips_init()
1369 nchips); in anfc_chips_init()
H A Dmarvell_nand.c2776 int nchips; in marvell_nand_chips_init() local
2780 nchips = 1; in marvell_nand_chips_init()
2782 nchips = of_get_child_count(np); in marvell_nand_chips_init()
2784 if (nchips > max_cs) { in marvell_nand_chips_init()
2785 dev_err(dev, "too many NAND chips: %d (max = %d CS)\n", nchips, in marvell_nand_chips_init()
H A Dtegra_nand.c1072 int nsels, nchips = of_get_child_count(np); in tegra_nand_chips_init() local
1079 if (nchips != 1) { in tegra_nand_chips_init()
H A Dstm32_fmc2_nand.c1827 int nchips = of_get_child_count(dn); in stm32_fmc2_nfc_parse_dt() local
1830 if (!nchips) { in stm32_fmc2_nfc_parse_dt()
1835 if (nchips > 1) { in stm32_fmc2_nfc_parse_dt()
H A Dcadence-nand-controller.c2844 int nchips, ret; in cadence_nand_chips_init() local
2846 nchips = of_get_child_count(np); in cadence_nand_chips_init()
2848 if (nchips > max_cs) { in cadence_nand_chips_init()
2851 nchips, max_cs); in cadence_nand_chips_init()
/openbmc/linux/include/linux/mtd/
H A Dspinand.h258 const size_t nchips; member