Searched refs:nchips (Results 1 – 11 of 11) sorted by relevance
| /Linux-v5.4/drivers/gpio/ |
| D | gpio-max3191x.c | 74 u32 nchips; member 135 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 …]
|
| D | gpio-htc-egpio.c | 50 int nchips; member 232 for (i = 0; i < ei->nchips; i++) { in egpio_write_cache() 307 ei->nchips = pdata->num_chips; in egpio_probe() 309 ei->nchips, sizeof(struct egpio_chip), in egpio_probe() 315 for (i = 0; i < ei->nchips; i++) { in egpio_probe()
|
| /Linux-v5.4/drivers/irqchip/ |
| D | irq-atmel-aic-common.c | 217 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()
|
| D | irq-pic32-evic.c | 218 int nchips, ret; in pic32_of_init() local 221 nchips = DIV_ROUND_UP(NR_IRQS, 32); in pic32_of_init() 227 priv = kcalloc(nchips, sizeof(*priv), GFP_KERNEL); in pic32_of_init() 233 evic_irq_domain = irq_domain_add_linear(node, nchips * 32, in pic32_of_init() 257 for (i = 0; i < nchips; i++) { in pic32_of_init()
|
| D | irq-atmel-aic5.c | 326 int nchips; in aic5_of_init() local 341 nchips = aic5_domain->revmap_size / 32; in aic5_of_init() 342 for (i = 0; i < nchips; i++) { in aic5_of_init()
|
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | oxnas_nand.c | 82 int nchips = 0; in oxnas_nand_probe() local 148 oxnas->chips[nchips] = chip; in oxnas_nand_probe() 149 ++nchips; in oxnas_nand_probe() 153 if (!nchips) { in oxnas_nand_probe()
|
| D | marvell_nand.c | 2681 int nchips; in marvell_nand_chips_init() local 2685 nchips = 1; in marvell_nand_chips_init() 2687 nchips = of_get_child_count(np); in marvell_nand_chips_init() 2689 if (nchips > max_cs) { in marvell_nand_chips_init() 2690 dev_err(dev, "too many NAND chips: %d (max = %d CS)\n", nchips, in marvell_nand_chips_init()
|
| D | tegra_nand.c | 1062 int nsels, nchips = of_get_child_count(np); in tegra_nand_chips_init() local 1069 if (nchips != 1) { in tegra_nand_chips_init()
|
| D | stm32_fmc2_nand.c | 1803 int nchips = of_get_child_count(dn); in stm32_fmc2_parse_dt() local 1806 if (!nchips) { in stm32_fmc2_parse_dt() 1811 if (nchips > 1) { in stm32_fmc2_parse_dt()
|
| D | sunxi_nand.c | 2019 int nchips = of_get_child_count(np); in sunxi_nand_chips_init() local 2022 if (nchips > 8) { in sunxi_nand_chips_init() 2023 dev_err(dev, "too many NAND chips: %d (max = 8)\n", nchips); in sunxi_nand_chips_init()
|
| /Linux-v5.4/drivers/mfd/ |
| D | htc-i2cpld.c | 66 unsigned int nchips; member 131 for (i = 0; i < htcpld->nchips; i++) { in htcpld_handler() 464 htcpld->nchips = pdata->num_chip; in htcpld_setup_chips() 466 htcpld->nchips, in htcpld_setup_chips() 473 for (i = 0; i < htcpld->nchips; i++) { in htcpld_setup_chips()
|