/openbmc/linux/include/sound/ |
H A D | initval.h | 61 static int snd_legacy_find_free_irq(const int *irq_table) in snd_legacy_find_free_irq() argument 63 while (*irq_table != -1) { in snd_legacy_find_free_irq() 64 if (!request_irq(*irq_table, snd_legacy_empty_irq_handler, in snd_legacy_find_free_irq() 66 (void *) irq_table)) { in snd_legacy_find_free_irq() 67 free_irq(*irq_table, (void *) irq_table); in snd_legacy_find_free_irq() 68 return *irq_table; in snd_legacy_find_free_irq() 70 irq_table++; in snd_legacy_find_free_irq()
|
/openbmc/qemu/hw/arm/ |
H A D | exynos4210.c | 355 if (s->irq_table[n]) { in exynos4210_init_board_irqs() 380 s->irq_table[in] = qdev_get_gpio_in(splitter, 0); in exynos4210_init_board_irqs() 407 if (s->irq_table[n]) { in exynos4210_init_board_irqs() 421 s->irq_table[n] = qdev_get_gpio_in(splitter, 0); in exynos4210_init_board_irqs() 426 s->irq_table[n] = qdev_get_gpio_in(intcdev, n); in exynos4210_init_board_irqs() 672 s->irq_table[exynos4210_get_irq(22, 0)], in exynos4210_realize() 673 s->irq_table[exynos4210_get_irq(22, 1)], in exynos4210_realize() 691 s->irq_table[exynos4210_get_irq(1, 4 + n)]); in exynos4210_realize() 695 s->irq_table[exynos4210_get_irq(51, 0)]); in exynos4210_realize() 697 s->irq_table[exynos4210_get_irq(35, 3)]); in exynos4210_realize() [all …]
|
H A D | exynos4_boards.c | 148 qemu_irq_invert(s->soc.irq_table[exynos4210_get_irq(37, 1)])); in smdkc210_init()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | irq_32.c | 113 static struct irq_bucket irq_table[NR_IRQS]; variable 130 if (irq_table[i].real_irq == real_irq && irq_table[i].pil == pil) in irq_alloc() 135 if (!irq_table[i].irq) in irq_alloc() 140 irq_table[i].real_irq = real_irq; in irq_alloc() 141 irq_table[i].irq = i; in irq_alloc() 142 irq_table[i].pil = pil; in irq_alloc() 167 p = &irq_table[irq]; in irq_link() 185 p = &irq_table[irq]; in irq_unlink()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 399 return irq_table->sf_ctrl_pool; in sf_ctrl_irq_pool_get() 404 return irq_table->sf_comp_pool; in sf_irq_pool_get() 413 pool = sf_irq_pool_get(irq_table); in mlx5_irq_pool_get() 427 pool = sf_ctrl_irq_pool_get(irq_table); in ctrl_irq_pool_get() 500 pool = irq_table->pcif_pool; in mlx5_irq_request() 735 struct mlx5_irq_table *irq_table; in mlx5_irq_table_init() local 740 irq_table = kvzalloc_node(sizeof(*irq_table), GFP_KERNEL, in mlx5_irq_table_init() 742 if (!irq_table) in mlx5_irq_table_init() 745 dev->priv.irq_table = irq_table; in mlx5_irq_table_init() 754 kvfree(dev->priv.irq_table); in mlx5_irq_table_cleanup() [all …]
|
H A D | eq.c | 64 struct mlx5_irq_table *irq_table; member 457 eq_table->irq_table = mlx5_irq_table_get(dev); in mlx5_eq_table_init() 1203 num_eqs = min_t(int, mlx5_irq_table_get_num_comp(eq_table->irq_table), in get_num_eqs() 1207 mlx5_irq_table_get_sfs_vec(eq_table->irq_table)); in get_num_eqs()
|
/openbmc/linux/drivers/scsi/ |
H A D | g_NCR5380.c | 192 static int legacy_find_free_irq(int *irq_table) in legacy_find_free_irq() argument 194 while (*irq_table != -1) { in legacy_find_free_irq() 195 if (!request_irq(*irq_table, legacy_empty_irq_handler, in legacy_find_free_irq() 197 (void *)irq_table)) { in legacy_find_free_irq() 198 free_irq(*irq_table, (void *) irq_table); in legacy_find_free_irq() 199 return *irq_table; in legacy_find_free_irq() 201 irq_table++; in legacy_find_free_irq() 397 int *irq_table = hp_c2502_irqs; in generic_NCR5380_init_one() local 405 board_irq = legacy_find_free_irq(irq_table); in generic_NCR5380_init_one() 408 while (*irq_table != -1) in generic_NCR5380_init_one() [all …]
|
/openbmc/linux/drivers/fpga/ |
H A D | dfl-pci.c | 311 int *irq_table; in cci_enumerate_feature_devs() local 325 irq_table = cci_pci_create_irq_table(pcidev, nvec); in cci_enumerate_feature_devs() 326 if (!irq_table) { in cci_enumerate_feature_devs() 331 ret = dfl_fpga_enum_info_add_irq(info, nvec, irq_table); in cci_enumerate_feature_devs() 332 kfree(irq_table); in cci_enumerate_feature_devs()
|
H A D | dfl.c | 709 int *irq_table; member 857 binfo->irq_table[finfo->irq_base + i]; in build_info_commit_dev() 1088 virq = binfo->irq_table[ibase + i]; in parse_feature_irqs() 1438 if (info->irq_table) in dfl_fpga_enum_info_free() 1439 devm_kfree(dev, info->irq_table); in dfl_fpga_enum_info_free() 1497 unsigned int nr_irqs, int *irq_table) in dfl_fpga_enum_info_add_irq() argument 1499 if (!nr_irqs || !irq_table) in dfl_fpga_enum_info_add_irq() 1502 if (info->irq_table) in dfl_fpga_enum_info_add_irq() 1505 info->irq_table = devm_kmemdup(info->dev, irq_table, in dfl_fpga_enum_info_add_irq() 1507 if (!info->irq_table) in dfl_fpga_enum_info_add_irq() [all …]
|
H A D | dfl.h | 484 int *irq_table; member 504 unsigned int nr_irqs, int *irq_table);
|
/openbmc/qemu/include/hw/arm/ |
H A D | exynos4210.h | 90 qemu_irq irq_table[EXYNOS4210_MAX_INT_COMBINER_IN_IRQ]; member
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_iba7322.c | 675 } irq_table[] = { variable 3425 if (i < ARRAY_SIZE(irq_table)) { in qib_setup_7322_interrupt() 3426 if (irq_table[i].port) { in qib_setup_7322_interrupt() 3428 if (irq_table[i].port > dd->num_pports) in qib_setup_7322_interrupt() 3434 dca = irq_table[i].dca; in qib_setup_7322_interrupt() 3436 lsb = irq_table[i].lsb; in qib_setup_7322_interrupt() 3437 handler = irq_table[i].handler; in qib_setup_7322_interrupt() 3441 irq_table[i].name); in qib_setup_7322_interrupt() 3445 ctxt = i - ARRAY_SIZE(irq_table); in qib_setup_7322_interrupt() 7251 if ((i < ARRAY_SIZE(irq_table) && in qib_init_iba7322_funcs() [all …]
|
/openbmc/linux/include/linux/mlx5/ |
H A D | driver.h | 583 struct mlx5_irq_table *irq_table; member
|