| /linux/drivers/hv/ |
| H A D | mshv_irq.c | 47 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->guest_irq_num != 0) { 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/gpio/ |
| H A D | gpio-xlp.c | 242 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 D | gpio-altera.c | 237 struct gpio_irq_chip *girq; in altera_gpio_probe() local 286 girq = &altera_gc->gc.irq; in altera_gpio_probe() 287 gpio_irq_chip_set_chip(girq, &altera_gpio_irq_chip); in altera_gpio_probe() 290 girq->parent_handler = altera_gpio_irq_leveL_high_handler; in altera_gpio_probe() 292 girq->parent_handler = altera_gpio_irq_edge_handler; in altera_gpio_probe() 293 girq->num_parents = 1; in altera_gpio_probe() 294 girq->parents = devm_kcalloc(&pdev->dev, 1, sizeof(*girq->parents), in altera_gpio_probe() 296 if (!girq->parents) in altera_gpio_probe() 298 girq->default_type = IRQ_TYPE_NONE; in altera_gpio_probe() 299 girq->handler = handle_bad_irq; in altera_gpio_probe() [all …]
|
| H A D | gpio-tangier.c | 419 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 D | gpio-crystalcove.c | 338 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 D | gpio-pcf857x.c | 401 struct gpio_irq_chip *girq; in pcf857x_probe() local 410 girq = &gpio->chip.irq; in pcf857x_probe() 411 gpio_irq_chip_set_chip(girq, &pcf857x_irq_chip); in pcf857x_probe() 413 girq->parent_handler = NULL; in pcf857x_probe() 414 girq->num_parents = 0; in pcf857x_probe() 415 girq->parents = NULL; in pcf857x_probe() 416 girq->default_type = IRQ_TYPE_NONE; in pcf857x_probe() 417 girq->handler = handle_level_irq; in pcf857x_probe() 418 girq->threaded = true; in pcf857x_probe()
|
| H A D | gpio-tc3589x.c | 302 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 D | gpio-sch.c | 326 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 D | gpio-wcove.c | 409 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 D | gpio-siox.c | 220 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 D | gpio-graniterapids.c | 318 struct gpio_irq_chip *girq; in gnr_gpio_probe() local 356 girq = &priv->gc.irq; in gnr_gpio_probe() 357 gpio_irq_chip_set_chip(girq, &gnr_gpio_irq_chip); in gnr_gpio_probe() 358 girq->parent_handler = NULL; in gnr_gpio_probe() 359 girq->num_parents = 0; in gnr_gpio_probe() 360 girq->parents = NULL; in gnr_gpio_probe() 361 girq->default_type = IRQ_TYPE_NONE; in gnr_gpio_probe() 362 girq->handler = handle_bad_irq; in gnr_gpio_probe()
|
| H A D | gpio-ljca.c | 404 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 D | gpio-thunderx.c | 438 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 D | gpio-adnp.c | 446 struct gpio_irq_chip *girq; in adnp_gpio_setup() local 452 girq = &chip->irq; in adnp_gpio_setup() 453 gpio_irq_chip_set_chip(girq, &adnp_irq_chip); in adnp_gpio_setup() 456 girq->parent_handler = NULL; in adnp_gpio_setup() 457 girq->num_parents = 0; in adnp_gpio_setup() 458 girq->parents = NULL; in adnp_gpio_setup() 459 girq->default_type = IRQ_TYPE_NONE; in adnp_gpio_setup() 460 girq->handler = handle_simple_irq; in adnp_gpio_setup() 461 girq->threaded = true; in adnp_gpio_setup()
|
| H A D | gpio-dln2.c | 444 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 D | gpio-rcar.c | 497 struct gpio_irq_chip *girq; in gpio_rcar_probe() local 546 girq = &gpio_chip->irq; in gpio_rcar_probe() 547 gpio_irq_chip_set_chip(girq, &gpio_rcar_irq_chip); in gpio_rcar_probe() 549 girq->parent_handler = NULL; in gpio_rcar_probe() 550 girq->num_parents = 0; in gpio_rcar_probe() 551 girq->parents = NULL; in gpio_rcar_probe() 552 girq->default_type = IRQ_TYPE_NONE; in gpio_rcar_probe() 553 girq->handler = handle_level_irq; in gpio_rcar_probe()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-apple-gpio.c | 378 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 …]
|
| H A D | pinctrl-mcp23s08.c | 665 struct gpio_irq_chip *girq = &mcp->chip.irq; in mcp23s08_probe_one() local 676 gpio_irq_chip_set_chip(girq, &mcp23s08_irq_chip); in mcp23s08_probe_one() 678 girq->parent_handler = NULL; in mcp23s08_probe_one() 679 girq->num_parents = 0; in mcp23s08_probe_one() 680 girq->parents = NULL; in mcp23s08_probe_one() 681 girq->default_type = IRQ_TYPE_NONE; in mcp23s08_probe_one() 682 girq->handler = handle_simple_irq; in mcp23s08_probe_one() 683 girq->threaded = true; in mcp23s08_probe_one()
|
| H A D | pinctrl-equilibrium.c | 187 struct gpio_irq_chip *girq; in gpiochip_setup() local 202 girq = &gctrl->chip.gc.irq; in gpiochip_setup() 203 gpio_irq_chip_set_chip(girq, &eqbr_irq_chip); in gpiochip_setup() 204 girq->parent_handler = eqbr_irq_handler; in gpiochip_setup() 205 girq->num_parents = 1; in gpiochip_setup() 206 girq->parents = devm_kcalloc(dev, 1, sizeof(*girq->parents), GFP_KERNEL); in gpiochip_setup() 207 if (!girq->parents) in gpiochip_setup() 210 girq->default_type = IRQ_TYPE_NONE; in gpiochip_setup() 211 girq->handler = handle_bad_irq; in gpiochip_setup() 212 girq->parents[0] = gctrl->virq; in gpiochip_setup()
|
| /linux/drivers/bcma/ |
| H A D | driver_gpio.c | 133 struct gpio_irq_chip *girq = &chip->irq; in bcma_gpio_irq_init() local 148 gpio_irq_chip_set_chip(girq, &bcma_gpio_irq_chip); in bcma_gpio_irq_init() 150 girq->parent_handler = NULL; in bcma_gpio_irq_init() 151 girq->num_parents = 0; in bcma_gpio_irq_init() 152 girq->parents = NULL; in bcma_gpio_irq_init() 153 girq->default_type = IRQ_TYPE_NONE; in bcma_gpio_irq_init() 154 girq->handler = handle_simple_irq; in bcma_gpio_irq_init()
|
| /linux/drivers/pinctrl/spear/ |
| H A D | pinctrl-plgpio.c | 600 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 …]
|
| /linux/drivers/pinctrl/bcm/ |
| H A D | pinctrl-iproc-gpio.c | 877 struct gpio_irq_chip *girq; in iproc_gpio_probe() local 879 girq = &gc->irq; in iproc_gpio_probe() 880 gpio_irq_chip_set_chip(girq, &iproc_gpio_irq_chip); in iproc_gpio_probe() 881 girq->parent_handler = iproc_gpio_irq_handler; in iproc_gpio_probe() 882 girq->num_parents = 1; in iproc_gpio_probe() 883 girq->parents = devm_kcalloc(dev, 1, in iproc_gpio_probe() 884 sizeof(*girq->parents), in iproc_gpio_probe() 886 if (!girq->parents) in iproc_gpio_probe() 888 girq->parents[0] = irq; in iproc_gpio_probe() 889 girq->default_type = IRQ_TYPE_NONE; in iproc_gpio_probe() [all …]
|
| H A D | pinctrl-nsp-gpio.c | 665 struct gpio_irq_chip *girq; in nsp_gpio_probe() local 680 girq = &chip->gc.irq; in nsp_gpio_probe() 681 gpio_irq_chip_set_chip(girq, &nsp_gpio_irq_chip); in nsp_gpio_probe() 683 girq->parent_handler = NULL; in nsp_gpio_probe() 684 girq->num_parents = 0; in nsp_gpio_probe() 685 girq->parents = NULL; in nsp_gpio_probe() 686 girq->default_type = IRQ_TYPE_NONE; in nsp_gpio_probe() 687 girq->handler = handle_bad_irq; in nsp_gpio_probe()
|
| /linux/drivers/misc/mchp_pci1xxxx/ |
| H A D | mchp_pci1xxxx_gpio.c | 431 struct gpio_irq_chip *girq; in pci1xxxx_gpio_setup() local 455 girq = &priv->gpio.irq; in pci1xxxx_gpio_setup() 456 gpio_irq_chip_set_chip(girq, &pci1xxxx_gpio_irqchip); in pci1xxxx_gpio_setup() 457 girq->parent_handler = NULL; in pci1xxxx_gpio_setup() 458 girq->num_parents = 0; in pci1xxxx_gpio_setup() 459 girq->parents = NULL; in pci1xxxx_gpio_setup() 460 girq->default_type = IRQ_TYPE_NONE; in pci1xxxx_gpio_setup() 461 girq->handler = handle_bad_irq; in pci1xxxx_gpio_setup()
|
| /linux/drivers/staging/greybus/ |
| H A D | gpio.c | 501 struct gpio_irq_chip *girq; in gb_gpio_probe() local 559 girq = &gpio->irq; in gb_gpio_probe() 560 girq->chip = irqc; in gb_gpio_probe() 562 girq->parent_handler = NULL; in gb_gpio_probe() 563 girq->num_parents = 0; in gb_gpio_probe() 564 girq->parents = NULL; in gb_gpio_probe() 565 girq->default_type = IRQ_TYPE_NONE; in gb_gpio_probe() 566 girq->handler = handle_level_irq; in gb_gpio_probe()
|