Home
last modified time | relevance | path

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

/drivers/irqchip/
Dirq-ingenic.c24 unsigned num_chips; member
42 for (i = 0; i < intc->num_chips; i++) { in intc_cascade()
61 unsigned num_chips) in ingenic_intc_of_init() argument
86 intc->num_chips = num_chips; in ingenic_intc_of_init()
93 domain = irq_domain_add_linear(node, num_chips * 32, in ingenic_intc_of_init()
108 for (i = 0; i < num_chips; i++) { 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.c310 unsigned int nbanks = domain->gc->num_chips; in stm32_irq_handler()
/drivers/gpio/
Dgpio-mockup.c560 int i, num_chips, err; in gpio_mockup_init() local
567 num_chips = gpio_mockup_num_ranges / 2; in gpio_mockup_init()
573 for (i = 0; i < num_chips; i++) { in gpio_mockup_init()
587 for (i = 0; i < num_chips; i++) { in gpio_mockup_init()
Dgpio-htc-egpio.c305 ei->nchips = pdata->num_chips; in egpio_probe()
/drivers/mtd/nand/raw/ingenic/
Dingenic_nand_drv.c457 int num_chips = of_get_child_count(dev->of_node); in ingenic_nand_init_chips() local
459 if (num_chips > nfc->num_banks) { in ingenic_nand_init_chips()
461 num_chips, nfc->num_banks); in ingenic_nand_init_chips()
/drivers/pinctrl/
Dpinctrl-ingenic.c112 unsigned int num_chips; member
248 .num_chips = 4,
357 .num_chips = 4,
459 .num_chips = 4,
596 .num_chips = 6,
761 .num_chips = 6,
1109 .num_chips = 6,
1449 .num_chips = 6,
1722 .num_chips = 7,
1986 .num_chips = 6,
[all …]
/drivers/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()
/drivers/video/fbdev/
Dtdfxfb.c407 int num_chips = (draminit0 & DRAMINIT0_SGRAM_NUM) ? 8 : 4; in do_lfb_size() local
430 return num_chips * chip_size * 1024l * 1024; in do_lfb_size()