| /linux/drivers/gpio/ |
| H A D | gpio-max3191x.c | 75 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 …]
|
| H A D | gpio-htc-egpio.c | 50 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()
|
| /linux/drivers/irqchip/ |
| H A D | irq-atmel-aic-common.c | 206 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 D | irq-pic32-evic.c | 215 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 D | irq-atmel-aic5.c | 320 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/spi/ |
| H A D | esmt.c | 247 .nchips = ARRAY_SIZE(esmt_8c_spinand_table), 255 .nchips = ARRAY_SIZE(esmt_c8_spinand_table),
|
| H A D | ato.c | 84 .nchips = ARRAY_SIZE(ato_spinand_table),
|
| H A D | dosilicon.c | 89 .nchips = ARRAY_SIZE(dosilicon_spinand_table),
|
| H A D | paragon.c | 129 .nchips = ARRAY_SIZE(paragon_spinand_table),
|
| H A D | foresee.c | 137 .nchips = ARRAY_SIZE(foresee_spinand_table),
|
| H A D | alliancememory.c | 151 .nchips = ARRAY_SIZE(alliancememory_spinand_table),
|
| H A D | fmsh.c | 144 .nchips = ARRAY_SIZE(fmsh_spinand_table),
|
| H A D | skyhigh.c | 145 .nchips = ARRAY_SIZE(skyhigh_spinand_table),
|
| H A D | xtx.c | 261 .nchips = ARRAY_SIZE(xtx_spinand_table),
|
| H A D | toshiba.c | 312 .nchips = ARRAY_SIZE(toshiba_spinand_table),
|
| H A D | micron.c | 440 .nchips = ARRAY_SIZE(micron_spinand_table),
|
| H A D | macronix.c | 525 .nchips = ARRAY_SIZE(macronix_spinand_table),
|
| H A D | gigadevice.c | 668 .nchips = ARRAY_SIZE(gigadevice_spinand_table),
|
| H A D | winbond.c | 620 .nchips = ARRAY_SIZE(winbond_spinand_table),
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | pl35x-nand-controller.c | 1122 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 D | rockchip-nand-controller.c | 1230 int nchips = of_get_child_count(np); in rk_nfc_nand_chips_init() local 1233 if (!nchips || nchips > NFC_MAX_NSELS) { in rk_nfc_nand_chips_init() 1235 nchips); in rk_nfc_nand_chips_init()
|
| H A D | arasan-nand-controller.c | 1364 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 D | marvell_nand.c | 2778 int nchips; in marvell_nand_chips_init() local 2782 nchips = 1; in marvell_nand_chips_init() 2784 nchips = of_get_child_count(np); in marvell_nand_chips_init() 2786 if (nchips > max_cs) { in marvell_nand_chips_init() 2787 dev_err(dev, "too many NAND chips: %d (max = %d CS)\n", nchips, in marvell_nand_chips_init()
|
| H A D | loongson-nand-controller.c | 843 int nchips = of_get_child_count(dev->of_node); in loongson_nand_chip_init() local 849 if (nchips != 1) in loongson_nand_chip_init()
|
| H A D | tegra_nand.c | 1072 int nsels, nchips = of_get_child_count(np); in tegra_nand_chips_init() local 1079 if (nchips != 1) { in tegra_nand_chips_init()
|