Home
last modified time | relevance | path

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

/linux/drivers/gpio/
H A Dgpio-max3191x.c75 u32 nchips; member
123 for (i = 0; i < max3191x->nchips; i++) { in max3191x_readout_locked()
355 max3191x->nchips = 1; in max3191x_probe()
357 &max3191x->nchips); in max3191x_probe()
359 n = BITS_TO_LONGS(max3191x->nchips); in max3191x_probe()
365 max3191x->xfer.rx_buf = devm_kcalloc(dev, max3191x->nchips, in max3191x_probe()
373 "maxim,modesel", GPIOD_ASIS, max3191x->nchips); in max3191x_probe()
375 "maxim,fault", GPIOD_IN, max3191x->nchips); in max3191x_probe()
377 "maxim,db0", GPIOD_OUT_LOW, max3191x->nchips); in max3191x_probe()
379 "maxim,db1", GPIOD_OUT_LOW, max3191x->nchips); in max3191x_probe()
[all …]
/linux/drivers/irqchip/
H A Dirq-atmel-aic-common.c206 int nchips; in aic_common_of_init() local
210 nchips = DIV_ROUND_UP(nirqs, 32); in aic_common_of_init()
216 aic = kzalloc_objs(*aic, nchips); in aic_common_of_init()
222 domain = irq_domain_create_linear(of_fwnode_handle(node), nchips * 32, ops, aic); in aic_common_of_init()
235 for (i = 0; i < nchips; i++) { in aic_common_of_init()
H A Dirq-pic32-evic.c215 int nchips, ret; in pic32_of_init() local
218 nchips = DIV_ROUND_UP(NR_IRQS, 32); in pic32_of_init()
224 priv = kzalloc_objs(*priv, nchips); in pic32_of_init()
230 evic_irq_domain = irq_domain_create_linear(of_fwnode_handle(node), nchips * 32, in pic32_of_init()
254 for (i = 0; i < nchips; i++) { in pic32_of_init()
H A Dirq-atmel-aic5.c320 int nchips; in aic5_of_init() local
335 nchips = aic5_domain->revmap_size / 32; in aic5_of_init()
336 for (i = 0; i < nchips; i++) { in aic5_of_init()
/linux/drivers/mtd/nand/raw/
H A Dpl35x-nand-controller.c1122 int nchips = of_get_child_count(np); in pl35x_nand_chips_init() local
1125 if (!nchips || nchips > PL35X_NAND_MAX_CS) { in pl35x_nand_chips_init()
1127 nchips); in pl35x_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 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.c1856 int nchips = of_get_child_count(dn); in stm32_fmc2_nfc_parse_dt() local
1859 if (!nchips) { in stm32_fmc2_nfc_parse_dt()
1864 if (nchips > 1) { in stm32_fmc2_nfc_parse_dt()
H A Dcadence-nand-controller.c3097 int nchips, ret; in cadence_nand_chips_init() local
3099 nchips = of_get_child_count(np); in cadence_nand_chips_init()
3101 if (nchips > max_cs) { in cadence_nand_chips_init()
3104 nchips, max_cs); in cadence_nand_chips_init()
/linux/drivers/mtd/nand/spi/
H A Dmacronix.c525 .nchips = ARRAY_SIZE(macronix_spinand_table),
H A Dgigadevice.c668 .nchips = ARRAY_SIZE(gigadevice_spinand_table),
H A Dcore.c1350 manufacturer->nchips, in spinand_manufacturer_match()