Lines Matching refs:girq
272 struct gpio_irq_chip *girq = &gc->irq; in ep93xx_setup_irqs() local
286 gpio_irq_chip_set_chip(girq, &gpio_eic_irq_chip); in ep93xx_setup_irqs()
287 girq->num_parents = platform_irq_count(pdev); in ep93xx_setup_irqs()
288 if (girq->num_parents == 0) in ep93xx_setup_irqs()
291 girq->parents = devm_kcalloc(dev, girq->num_parents, sizeof(*girq->parents), in ep93xx_setup_irqs()
293 if (!girq->parents) in ep93xx_setup_irqs()
296 if (girq->num_parents == 1) { /* A/B irqchips */ in ep93xx_setup_irqs()
306 girq->parents[0] = irq; in ep93xx_setup_irqs()
308 girq->parent_handler = ep93xx_gpio_f_irq_handler; in ep93xx_setup_irqs()
310 for (i = 0; i < girq->num_parents; i++) { in ep93xx_setup_irqs()
315 girq->parents[i] = irq; in ep93xx_setup_irqs()
318 girq->map = girq->parents; in ep93xx_setup_irqs()
321 girq->default_type = IRQ_TYPE_NONE; in ep93xx_setup_irqs()
323 girq->handler = handle_simple_irq; in ep93xx_setup_irqs()