Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpio/
Dgpio-max3191x.c77 u32 nchips; member
138 for (i = 0; i < max3191x->nchips; i++) { in max3191x_readout_locked()
369 max3191x->nchips = 1; in max3191x_probe()
371 &max3191x->nchips); in max3191x_probe()
373 n = BITS_TO_LONGS(max3191x->nchips); in max3191x_probe()
379 max3191x->xfer.rx_buf = devm_kcalloc(dev, max3191x->nchips, in max3191x_probe()
387 "maxim,modesel", GPIOD_ASIS, max3191x->nchips); in max3191x_probe()
389 "maxim,fault", GPIOD_IN, max3191x->nchips); in max3191x_probe()
391 "maxim,db0", GPIOD_OUT_LOW, max3191x->nchips); in max3191x_probe()
393 "maxim,db1", GPIOD_OUT_LOW, max3191x->nchips); in max3191x_probe()
[all …]
Dgpio-htc-egpio.c50 int nchips; member
248 for (i = 0; i < ei->nchips; i++) { in egpio_write_cache()
323 ei->nchips = pdata->num_chips; in egpio_probe()
325 ei->nchips, sizeof(struct egpio_chip), in egpio_probe()
331 for (i = 0; i < ei->nchips; i++) { in egpio_probe()
/Linux-v4.19/drivers/irqchip/
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()
Dirq-pic32-evic.c222 int nchips, ret; in pic32_of_init() local
225 nchips = DIV_ROUND_UP(NR_IRQS, 32); in pic32_of_init()
231 priv = kcalloc(nchips, sizeof(*priv), GFP_KERNEL); in pic32_of_init()
237 evic_irq_domain = irq_domain_add_linear(node, nchips * 32, in pic32_of_init()
261 for (i = 0; i < nchips; i++) { in pic32_of_init()
Dirq-atmel-aic5.c325 int nchips; in aic5_of_init() local
340 nchips = aic5_domain->revmap_size / 32; in aic5_of_init()
341 for (i = 0; i < nchips; i++) { in aic5_of_init()
/Linux-v4.19/drivers/mtd/nand/raw/
Doxnas_nand.c89 int nchips = 0; in oxnas_nand_probe() local
155 oxnas->chips[nchips] = chip; in oxnas_nand_probe()
156 ++nchips; in oxnas_nand_probe()
160 if (!nchips) { in oxnas_nand_probe()
Dmarvell_nand.c2570 int nchips; in marvell_nand_chips_init() local
2574 nchips = 1; in marvell_nand_chips_init()
2576 nchips = of_get_child_count(np); in marvell_nand_chips_init()
2578 if (nchips > max_cs) { in marvell_nand_chips_init()
2579 dev_err(dev, "too many NAND chips: %d (max = %d CS)\n", nchips, in marvell_nand_chips_init()
Dtegra_nand.c1063 int nsels, nchips = of_get_child_count(np); in tegra_nand_chips_init() local
1070 if (nchips != 1) { in tegra_nand_chips_init()
Dsunxi_nand.c1963 int nchips = of_get_child_count(np); in sunxi_nand_chips_init() local
1966 if (nchips > 8) { in sunxi_nand_chips_init()
1967 dev_err(dev, "too many NAND chips: %d (max = 8)\n", nchips); in sunxi_nand_chips_init()
/Linux-v4.19/drivers/mfd/
Dhtc-i2cpld.c80 unsigned int nchips; member
145 for (i = 0; i < htcpld->nchips; i++) { in htcpld_handler()
479 htcpld->nchips = pdata->num_chip; in htcpld_setup_chips()
481 htcpld->nchips, in htcpld_setup_chips()
488 for (i = 0; i < htcpld->nchips; i++) { in htcpld_setup_chips()