Home
last modified time | relevance | path

Searched refs:num_chips (Results 1 – 22 of 22) sorted by relevance

/Linux-v5.4/drivers/irqchip/
Dirq-ingenic.c25 unsigned num_chips; member
41 for (i = 0; i < intc->num_chips; i++) { in intc_cascade()
79 unsigned num_chips) in ingenic_intc_of_init() argument
104 intc->num_chips = num_chips; in ingenic_intc_of_init()
111 for (i = 0; i < num_chips; i++) { in ingenic_intc_of_init()
137 domain = irq_domain_add_legacy(node, num_chips * 32, JZ4740_IRQ_BASE, 0, in ingenic_intc_of_init()
Dirq-orion.c38 for (n = 0; n < dgc->num_chips; n++, base += ORION_IRQS_PER_CHIP) { in orion_handle_irq()
56 int n, ret, base, num_chips = 0; in orion_irq_init() local
60 while (of_address_to_resource(np, num_chips, &r) == 0) in orion_irq_init()
61 num_chips++; in orion_irq_init()
64 num_chips * ORION_IRQS_PER_CHIP, in orion_irq_init()
76 for (n = 0, base = 0; n < num_chips; n++, base += ORION_IRQS_PER_CHIP) { in orion_irq_init()
Dirq-atmel-aic.c193 if (idx >= dgc->num_chips) in aic_irq_domain_xlate()
Dirq-stm32-exti.c234 unsigned int virq, nbanks = domain->gc->num_chips; in stm32_irq_handler()
/Linux-v5.4/sound/i2c/other/
Dak4xxx-adda.c270 ak->num_chips = ak->num_dacs / 2; in snd_akm4xxx_init()
276 ak->num_chips = ak->num_dacs / 2; in snd_akm4xxx_init()
282 ak->num_chips = 1; in snd_akm4xxx_init()
288 ak->num_chips = 1; in snd_akm4xxx_init()
294 ak->num_chips = 1; in snd_akm4xxx_init()
300 ak->num_chips = ak->num_dacs / 2; in snd_akm4xxx_init()
306 ak->num_chips = 1; in snd_akm4xxx_init()
312 ak->num_chips = ak->num_dacs / 2; in snd_akm4xxx_init()
321 for (chip = 0; chip < ak->num_chips; chip++) { in snd_akm4xxx_init()
854 for (chip = 0; chip < ak->num_chips; chip++) { in proc_regs_read()
/Linux-v5.4/include/linux/platform_data/
Dgpio-htc-egpio.h50 int num_chips; member
/Linux-v5.4/drivers/gpio/
Dgpio-mockup.c473 int i, prop, num_chips, err = 0, base; in gpio_mockup_init() local
484 num_chips = gpio_mockup_num_ranges / 2; in gpio_mockup_init()
490 for (i = 0; i < num_chips; i++) { in gpio_mockup_init()
503 for (i = 0; i < num_chips; i++) { in gpio_mockup_init()
Dgpio-htc-egpio.c307 ei->nchips = pdata->num_chips; in egpio_probe()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-ingenic.c66 unsigned int num_chips; member
218 .num_chips = 4,
341 .num_chips = 4,
594 .num_chips = 6,
604 .num_chips = 6,
877 .num_chips = 6,
1010 .num_chips = 6,
1204 .num_chips = 4,
1214 .num_chips = 4,
1324 .num_chips = 4,
[all …]
/Linux-v5.4/include/sound/
Dak4xxx-adda.h65 unsigned int num_chips; member
/Linux-v5.4/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c407 int num_chips = of_get_child_count(dev->of_node); in ingenic_nand_init_chips() local
409 if (num_chips > nfc->num_banks) { in ingenic_nand_init_chips()
411 num_chips, nfc->num_banks); in ingenic_nand_init_chips()
/Linux-v5.4/drivers/staging/comedi/drivers/
Dni_tio.h110 unsigned int num_chips; member
Dni_tio.c230 if (reg < NITIO_NUM_REGS && chip < counter_dev->num_chips) { in ni_tio_set_bits_transient()
276 if (reg < NITIO_NUM_REGS && chip < counter_dev->num_chips) { in ni_tio_get_soft_copy()
1794 counter_dev->num_chips = DIV_ROUND_UP(num_counters, counters_per_chip); in ni_gpct_device_construct()
1798 counter_dev->regs = kcalloc(counter_dev->num_chips, in ni_gpct_device_construct()
/Linux-v5.4/include/linux/
Dcyclades.h82 unsigned int num_chips; /* 0 if card absent, -1 if Z/PCI, else Y */ member
Dirq.h1041 unsigned int num_chips; member
/Linux-v5.4/arch/arm/mach-sa1100/
Dh3xxx.c154 .num_chips = ARRAY_SIZE(egpio_chips),
/Linux-v5.4/kernel/irq/
Dgeneric-chip.c309 dgc->num_chips = numchips; in __irq_alloc_domain_generic_chips()
348 if (idx >= dgc->num_chips) in __irq_get_domain_generic_chip()
/Linux-v5.4/arch/arm/mach-pxa/
Dhx4700.c345 .num_chips = ARRAY_SIZE(egpio_chips),
Dmagician.c228 .num_chips = ARRAY_SIZE(egpio_chips),
/Linux-v5.4/drivers/tty/
Dcyclades.c309 return card->num_chips == (unsigned int)-1; in cy_is_Z()
786 for (chip = 0; chip < cinfo->num_chips; chip++) { in cyy_interrupt()
3324 card->num_chips = cy_isa_nchan / CyPORTS_PER_CHIP; in cy_detect_isa()
3798 card->num_chips = nchan / CyPORTS_PER_CHIP; in cy_pci_probe()
3806 card->num_chips = (unsigned int)-1; in cy_pci_probe()
/Linux-v5.4/drivers/video/fbdev/
Dtdfxfb.c408 int num_chips = (draminit0 & DRAMINIT0_SGRAM_NUM) ? 8 : 4; in do_lfb_size() local
431 return num_chips * chip_size * 1024l * 1024; in do_lfb_size()
/Linux-v5.4/sound/pci/ice1712/
Dquartet.c324 for (chip = 0; chip < ak->num_chips; chip++) { in qtet_akm_set_regs()