Home
last modified time | relevance | path

Searched refs:girq (Results 1 – 25 of 62) sorted by relevance

123

/linux/drivers/gpio/
H A Dgpio-idt3243x.c132 struct gpio_irq_chip *girq; in idt_gpio_probe() local
175 girq = &ctrl->chip.gc.irq; in idt_gpio_probe()
176 gpio_irq_chip_set_chip(girq, &idt_gpio_irqchip); in idt_gpio_probe()
177 girq->init_hw = idt_gpio_irq_init_hw; in idt_gpio_probe()
178 girq->parent_handler = idt_gpio_dispatch; in idt_gpio_probe()
179 girq->num_parents = 1; in idt_gpio_probe()
180 girq->parents = devm_kcalloc(dev, girq->num_parents, in idt_gpio_probe()
181 sizeof(*girq->parents), in idt_gpio_probe()
183 if (!girq->parents) in idt_gpio_probe()
186 girq->parents[0] = parent_irq; in idt_gpio_probe()
[all …]
H A Dgpio-altera.c174 struct gpio_irq_chip *girq; in altera_gpio_probe() local
233 girq = &gc->irq; in altera_gpio_probe()
234 gpio_irq_chip_set_chip(girq, &altera_gpio_irq_chip); in altera_gpio_probe()
237 girq->parent_handler = altera_gpio_irq_leveL_high_handler; in altera_gpio_probe()
239 girq->parent_handler = altera_gpio_irq_edge_handler; in altera_gpio_probe()
240 girq->num_parents = 1; in altera_gpio_probe()
241 girq->parents = devm_kcalloc(&pdev->dev, 1, sizeof(*girq->parents), in altera_gpio_probe()
243 if (!girq->parents) in altera_gpio_probe()
245 girq->default_type = IRQ_TYPE_NONE; in altera_gpio_probe()
246 girq->handler = handle_bad_irq; in altera_gpio_probe()
[all …]
H A Dgpio-mpfs.c206 struct gpio_irq_chip *girq; in mpfs_gpio_probe() local
251 girq = &mpfs_gpio->gc.irq; in mpfs_gpio_probe()
253 gpio_irq_chip_set_chip(girq, &mpfs_gpio_irqchip); in mpfs_gpio_probe()
255 girq->num_parents = nirqs; in mpfs_gpio_probe()
256 girq->parents = devm_kcalloc(&pdev->dev, girq->num_parents, in mpfs_gpio_probe()
257 sizeof(*girq->parents), GFP_KERNEL); in mpfs_gpio_probe()
258 if (!girq->parents) in mpfs_gpio_probe()
266 girq->parents[i] = ret; in mpfs_gpio_probe()
267 girq->parent_handler_data = mpfs_gpio; in mpfs_gpio_probe()
268 girq->parent_handler = mpfs_gpio_irq_handler; in mpfs_gpio_probe()
[all …]
H A Dgpio-xlp.c242 struct gpio_irq_chip *girq; in xlp_gpio_probe() local
282 girq = &gc->irq; in xlp_gpio_probe()
283 gpio_irq_chip_set_chip(girq, &xlp_gpio_irq_chip); in xlp_gpio_probe()
284 girq->parent_handler = xlp_gpio_generic_handler; in xlp_gpio_probe()
285 girq->num_parents = 1; in xlp_gpio_probe()
286 girq->parents = devm_kcalloc(&pdev->dev, 1, in xlp_gpio_probe()
287 sizeof(*girq->parents), in xlp_gpio_probe()
289 if (!girq->parents) in xlp_gpio_probe()
291 girq->parents[0] = irq; in xlp_gpio_probe()
292 girq->first = 0; in xlp_gpio_probe()
[all …]
H A Dgpio-ath79.c272 struct gpio_irq_chip *girq; in ath79_gpio_probe() local
316 girq = &ctrl->chip.gc.irq; in ath79_gpio_probe()
317 gpio_irq_chip_set_chip(girq, &ath79_gpio_irqchip); in ath79_gpio_probe()
318 girq->parent_handler = ath79_gpio_irq_handler; in ath79_gpio_probe()
319 girq->num_parents = 1; in ath79_gpio_probe()
320 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), in ath79_gpio_probe()
322 if (!girq->parents) in ath79_gpio_probe()
324 girq->parents[0] = platform_get_irq(pdev, 0); in ath79_gpio_probe()
325 girq->default_type = IRQ_TYPE_NONE; in ath79_gpio_probe()
326 girq->handler = handle_simple_irq; in ath79_gpio_probe()
H A Dgpio-realtek-otto.c368 struct gpio_irq_chip *girq; in realtek_gpio_probe() local
427 girq = &ctrl->chip.gc.irq; in realtek_gpio_probe()
428 gpio_irq_chip_set_chip(girq, &realtek_gpio_irq_chip); in realtek_gpio_probe()
429 girq->default_type = IRQ_TYPE_NONE; in realtek_gpio_probe()
430 girq->handler = handle_bad_irq; in realtek_gpio_probe()
431 girq->parent_handler = realtek_gpio_irq_handler; in realtek_gpio_probe()
432 girq->num_parents = 1; in realtek_gpio_probe()
433 girq->parents = devm_kcalloc(dev, girq->num_parents, in realtek_gpio_probe()
434 sizeof(*girq->parents), GFP_KERNEL); in realtek_gpio_probe()
435 if (!girq->parents) in realtek_gpio_probe()
[all …]
H A Dgpio-mlxbf3.c187 struct gpio_irq_chip *girq; in mlxbf3_gpio_probe() local
235 girq = &gs->chip.gc.irq; in mlxbf3_gpio_probe()
236 gpio_irq_chip_set_chip(girq, &gpio_mlxbf3_irqchip); in mlxbf3_gpio_probe()
237 girq->default_type = IRQ_TYPE_NONE; in mlxbf3_gpio_probe()
239 girq->num_parents = 0; in mlxbf3_gpio_probe()
240 girq->parents = NULL; in mlxbf3_gpio_probe()
241 girq->parent_handler = NULL; in mlxbf3_gpio_probe()
242 girq->handler = handle_bad_irq; in mlxbf3_gpio_probe()
H A Dgpio-tangier.c419 struct gpio_irq_chip *girq; in devm_tng_gpio_probe() local
443 girq = &gpio->chip.irq; in devm_tng_gpio_probe()
444 gpio_irq_chip_set_chip(girq, &tng_irqchip); in devm_tng_gpio_probe()
445 girq->init_hw = tng_irq_init_hw; in devm_tng_gpio_probe()
446 girq->parent_handler = tng_irq_handler; in devm_tng_gpio_probe()
447 girq->num_parents = 1; in devm_tng_gpio_probe()
448 girq->parents = devm_kcalloc(dev, girq->num_parents, in devm_tng_gpio_probe()
449 sizeof(*girq->parents), GFP_KERNEL); in devm_tng_gpio_probe()
450 if (!girq->parents) in devm_tng_gpio_probe()
453 girq->parents[0] = gpio->irq; in devm_tng_gpio_probe()
[all …]
H A Dgpio-crystalcove.c338 struct gpio_irq_chip *girq; in crystalcove_gpio_probe() local
360 girq = &cg->chip.irq; in crystalcove_gpio_probe()
361 gpio_irq_chip_set_chip(girq, &crystalcove_irqchip); in crystalcove_gpio_probe()
363 girq->parent_handler = NULL; in crystalcove_gpio_probe()
364 girq->num_parents = 0; in crystalcove_gpio_probe()
365 girq->parents = NULL; in crystalcove_gpio_probe()
366 girq->default_type = IRQ_TYPE_NONE; in crystalcove_gpio_probe()
367 girq->handler = handle_simple_irq; in crystalcove_gpio_probe()
368 girq->threaded = true; in crystalcove_gpio_probe()
H A Dgpio-pcf857x.c403 struct gpio_irq_chip *girq; in pcf857x_probe() local
412 girq = &gpio->chip.irq; in pcf857x_probe()
413 gpio_irq_chip_set_chip(girq, &pcf857x_irq_chip); in pcf857x_probe()
415 girq->parent_handler = NULL; in pcf857x_probe()
416 girq->num_parents = 0; in pcf857x_probe()
417 girq->parents = NULL; in pcf857x_probe()
418 girq->default_type = IRQ_TYPE_NONE; in pcf857x_probe()
419 girq->handler = handle_level_irq; in pcf857x_probe()
420 girq->threaded = true; in pcf857x_probe()
H A Dgpio-tc3589x.c302 struct gpio_irq_chip *girq; in tc3589x_gpio_probe() local
330 girq = &tc3589x_gpio->chip.irq; in tc3589x_gpio_probe()
331 gpio_irq_chip_set_chip(girq, &tc3589x_gpio_irq_chip); in tc3589x_gpio_probe()
333 girq->parent_handler = NULL; in tc3589x_gpio_probe()
334 girq->num_parents = 0; in tc3589x_gpio_probe()
335 girq->parents = NULL; in tc3589x_gpio_probe()
336 girq->default_type = IRQ_TYPE_NONE; in tc3589x_gpio_probe()
337 girq->handler = handle_simple_irq; in tc3589x_gpio_probe()
338 girq->threaded = true; in tc3589x_gpio_probe()
H A Dgpio-mlxbf2.c351 struct gpio_irq_chip *girq; in mlxbf2_gpio_probe() local
398 girq = &gs->chip.gc.irq; in mlxbf2_gpio_probe()
399 gpio_irq_chip_set_chip(girq, &mlxbf2_gpio_irq_chip); in mlxbf2_gpio_probe()
400 girq->handler = handle_simple_irq; in mlxbf2_gpio_probe()
401 girq->default_type = IRQ_TYPE_NONE; in mlxbf2_gpio_probe()
403 girq->num_parents = 0; in mlxbf2_gpio_probe()
404 girq->parents = NULL; in mlxbf2_gpio_probe()
405 girq->parent_handler = NULL; in mlxbf2_gpio_probe()
H A Dgpio-sch.c326 struct gpio_irq_chip *girq; in sch_gpio_probe() local
389 girq = &sch->chip.irq; in sch_gpio_probe()
390 gpio_irq_chip_set_chip(girq, &sch_irqchip); in sch_gpio_probe()
391 girq->num_parents = 0; in sch_gpio_probe()
392 girq->parents = NULL; in sch_gpio_probe()
393 girq->parent_handler = NULL; in sch_gpio_probe()
394 girq->default_type = IRQ_TYPE_NONE; in sch_gpio_probe()
395 girq->handler = handle_bad_irq; in sch_gpio_probe()
H A Dgpio-siox.c220 struct gpio_irq_chip *girq; in gpio_siox_probe() local
246 girq = &gc->irq; in gpio_siox_probe()
247 gpio_irq_chip_set_chip(girq, &gpio_siox_irq_chip); in gpio_siox_probe()
248 girq->default_type = IRQ_TYPE_NONE; in gpio_siox_probe()
249 girq->handler = handle_level_irq; in gpio_siox_probe()
250 girq->threaded = true; in gpio_siox_probe()
H A Dgpio-wcove.c409 struct gpio_irq_chip *girq; in wcove_gpio_probe() local
458 girq = &wg->chip.irq; in wcove_gpio_probe()
459 gpio_irq_chip_set_chip(girq, &wcove_irqchip); in wcove_gpio_probe()
461 girq->parent_handler = NULL; in wcove_gpio_probe()
462 girq->num_parents = 0; in wcove_gpio_probe()
463 girq->parents = NULL; in wcove_gpio_probe()
464 girq->default_type = IRQ_TYPE_NONE; in wcove_gpio_probe()
465 girq->handler = handle_simple_irq; in wcove_gpio_probe()
466 girq->threaded = true; in wcove_gpio_probe()
H A Dgpio-graniterapids.c317 struct gpio_irq_chip *girq; in gnr_gpio_probe() local
355 girq = &priv->gc.irq; in gnr_gpio_probe()
356 gpio_irq_chip_set_chip(girq, &gnr_gpio_irq_chip); in gnr_gpio_probe()
357 girq->parent_handler = NULL; in gnr_gpio_probe()
358 girq->num_parents = 0; in gnr_gpio_probe()
359 girq->parents = NULL; in gnr_gpio_probe()
360 girq->default_type = IRQ_TYPE_NONE; in gnr_gpio_probe()
361 girq->handler = handle_bad_irq; in gnr_gpio_probe()
H A Dgpio-max77759.c435 struct gpio_irq_chip *girq; in max77759_gpio_probe() local
471 girq = &chip->gc.irq; in max77759_gpio_probe()
472 gpio_irq_chip_set_chip(girq, &max77759_gpio_irq_chip); in max77759_gpio_probe()
474 girq->parent_handler = NULL; in max77759_gpio_probe()
475 girq->num_parents = 0; in max77759_gpio_probe()
476 girq->parents = NULL; in max77759_gpio_probe()
477 girq->default_type = IRQ_TYPE_NONE; in max77759_gpio_probe()
478 girq->handler = handle_simple_irq; in max77759_gpio_probe()
479 girq->threaded = true; in max77759_gpio_probe()
H A Dgpio-ljca.c404 struct gpio_irq_chip *girq; in ljca_gpio_probe() local
448 girq = &ljca_gpio->gc.irq; in ljca_gpio_probe()
449 gpio_irq_chip_set_chip(girq, &ljca_gpio_irqchip); in ljca_gpio_probe()
450 girq->parent_handler = NULL; in ljca_gpio_probe()
451 girq->num_parents = 0; in ljca_gpio_probe()
452 girq->parents = NULL; in ljca_gpio_probe()
453 girq->default_type = IRQ_TYPE_NONE; in ljca_gpio_probe()
454 girq->handler = handle_simple_irq; in ljca_gpio_probe()
455 girq->init_valid_mask = ljca_gpio_irq_init_valid_mask; in ljca_gpio_probe()
H A Dgpio-thunderx.c438 struct gpio_irq_chip *girq; in thunderx_gpio_probe() local
539 girq = &chip->irq; in thunderx_gpio_probe()
540 gpio_irq_chip_set_chip(girq, &thunderx_gpio_irq_chip); in thunderx_gpio_probe()
541 girq->fwnode = dev_fwnode(dev); in thunderx_gpio_probe()
542 girq->parent_domain = in thunderx_gpio_probe()
544 girq->child_to_parent_hwirq = thunderx_gpio_child_to_parent_hwirq; in thunderx_gpio_probe()
545 girq->populate_parent_alloc_arg = thunderx_gpio_populate_parent_alloc_info; in thunderx_gpio_probe()
546 girq->handler = handle_bad_irq; in thunderx_gpio_probe()
547 girq->default_type = IRQ_TYPE_NONE; in thunderx_gpio_probe()
561 err = irq_domain_push_irq(girq->domain, in thunderx_gpio_probe()
H A Dgpio-dln2.c444 struct gpio_irq_chip *girq; in dln2_gpio_probe() local
481 girq = &dln2->gpio.irq; in dln2_gpio_probe()
482 gpio_irq_chip_set_chip(girq, &dln2_irqchip); in dln2_gpio_probe()
484 girq->parent_handler = NULL; in dln2_gpio_probe()
485 girq->num_parents = 0; in dln2_gpio_probe()
486 girq->parents = NULL; in dln2_gpio_probe()
487 girq->default_type = IRQ_TYPE_NONE; in dln2_gpio_probe()
488 girq->handler = handle_simple_irq; in dln2_gpio_probe()
H A Dgpio-adnp.c447 struct gpio_irq_chip *girq; in adnp_gpio_setup() local
453 girq = &chip->irq; in adnp_gpio_setup()
454 gpio_irq_chip_set_chip(girq, &adnp_irq_chip); in adnp_gpio_setup()
457 girq->parent_handler = NULL; in adnp_gpio_setup()
458 girq->num_parents = 0; in adnp_gpio_setup()
459 girq->parents = NULL; in adnp_gpio_setup()
460 girq->default_type = IRQ_TYPE_NONE; in adnp_gpio_setup()
461 girq->handler = handle_simple_irq; in adnp_gpio_setup()
462 girq->threaded = true; in adnp_gpio_setup()
H A Dgpio-dwapb.c475 struct gpio_irq_chip *girq; in dwapb_configure_irqs() local
487 girq = &gc->irq; in dwapb_configure_irqs()
488 girq->handler = handle_bad_irq; in dwapb_configure_irqs()
489 girq->default_type = IRQ_TYPE_NONE; in dwapb_configure_irqs()
490 girq->init_hw = dwapb_irq_init_hw; in dwapb_configure_irqs()
501 girq->num_parents = 0; in dwapb_configure_irqs()
502 girq->parents = NULL; in dwapb_configure_irqs()
503 girq->parent_handler = NULL; in dwapb_configure_irqs()
513 girq->num_parents = pirq->nr_irqs; in dwapb_configure_irqs()
514 girq->parents = pirq->irq; in dwapb_configure_irqs()
[all …]
/linux/drivers/hv/
H A Dmshv_irq.c47 struct mshv_guest_irq_ent *girq; in mshv_update_routing_table() local
49 girq = &new->mshv_girq_info_tbl[ue[i].gsi]; in mshv_update_routing_table()
54 if (girq->girq_entry_valid) { in mshv_update_routing_table()
59 girq->guest_irq_num = ue[i].gsi; in mshv_update_routing_table()
60 girq->girq_addr_lo = ue[i].address_lo; in mshv_update_routing_table()
61 girq->girq_addr_hi = ue[i].address_hi; in mshv_update_routing_table()
62 girq->girq_irq_data = ue[i].data; in mshv_update_routing_table()
63 girq->girq_entry_valid = true; in mshv_update_routing_table()
/linux/drivers/pinctrl/
H A Dpinctrl-apple-gpio.c378 struct gpio_irq_chip *girq = &pctl->gpio_chip.irq; in apple_gpio_register() local
394 if (girq->num_parents) { in apple_gpio_register()
397 gpio_irq_chip_set_chip(girq, &apple_gpio_irqchip); in apple_gpio_register()
398 girq->parent_handler = apple_gpio_irq_handler; in apple_gpio_register()
400 girq->parents = kmalloc_array(girq->num_parents, in apple_gpio_register()
401 sizeof(*girq->parents), in apple_gpio_register()
403 irq_data = kmalloc_objs(*irq_data, girq->num_parents); in apple_gpio_register()
404 if (!girq->parents || !irq_data) { in apple_gpio_register()
409 for (i = 0; i < girq->num_parents; i++) { in apple_gpio_register()
414 girq->parents[i] = ret; in apple_gpio_register()
[all …]
/linux/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c600 struct gpio_irq_chip *girq; in plgpio_probe() local
602 girq = &plgpio->chip.irq; in plgpio_probe()
603 gpio_irq_chip_set_chip(girq, &plgpio_irqchip); in plgpio_probe()
604 girq->parent_handler = plgpio_irq_handler; in plgpio_probe()
605 girq->num_parents = 1; in plgpio_probe()
606 girq->parents = devm_kcalloc(&pdev->dev, 1, in plgpio_probe()
607 sizeof(*girq->parents), in plgpio_probe()
609 if (!girq->parents) in plgpio_probe()
611 girq->parents[0] = irq; in plgpio_probe()
612 girq->default_type = IRQ_TYPE_NONE; in plgpio_probe()
[all …]

123