Searched refs:irq_table (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pci_irq.c | 31 struct mlx5_irq_table *irq_table; in mlx5_irq_table_init() local 33 irq_table = kvzalloc(sizeof(*irq_table), GFP_KERNEL); in mlx5_irq_table_init() 34 if (!irq_table) in mlx5_irq_table_init() 37 dev->priv.irq_table = irq_table; in mlx5_irq_table_init() 43 kvfree(dev->priv.irq_table); in mlx5_irq_table_cleanup() 53 struct mlx5_irq_table *irq_table = dev->priv.irq_table; in mlx5_irq_get() local 55 return &irq_table->irq[vecidx]; in mlx5_irq_get() 58 int mlx5_irq_attach_nb(struct mlx5_irq_table *irq_table, int vecidx, in mlx5_irq_attach_nb() argument 63 irq = &irq_table->irq[vecidx]; in mlx5_irq_attach_nb() 67 int mlx5_irq_detach_nb(struct mlx5_irq_table *irq_table, int vecidx, in mlx5_irq_detach_nb() argument [all …]
|
D | eq.c | 86 struct mlx5_irq_table *irq_table; member 377 err = mlx5_irq_attach_nb(eq_table->irq_table, eq->vecidx, nb); in mlx5_eq_enable() 398 mlx5_irq_detach_nb(eq_table->irq_table, eq->vecidx, nb); in mlx5_eq_disable() 468 eq_table->irq_table = dev->priv.irq_table; in mlx5_eq_table_init() 906 return mlx5_irq_get_affinity_mask(dev->priv.eq_table->irq_table, in mlx5_comp_irq_get_affinity_mask() 914 return mlx5_irq_get_rmap(dev->priv.eq_table->irq_table); in mlx5_eq_table_get_rmap() 957 mlx5_irq_get_num_comp(eq_table->irq_table), in mlx5_eq_table_create()
|
D | mlx5_core.h | 167 int mlx5_irq_attach_nb(struct mlx5_irq_table *irq_table, int vecidx, 169 int mlx5_irq_detach_nb(struct mlx5_irq_table *irq_table, int vecidx, 172 mlx5_irq_get_affinity_mask(struct mlx5_irq_table *irq_table, int vecidx);
|
/drivers/scsi/ |
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 …]
|
/drivers/fpga/ |
D | dfl-pci.c | 135 int *irq_table; in cci_enumerate_feature_devs() local 151 irq_table = cci_pci_create_irq_table(pcidev, nvec); in cci_enumerate_feature_devs() 152 if (!irq_table) { in cci_enumerate_feature_devs() 157 ret = dfl_fpga_enum_info_add_irq(info, nvec, irq_table); in cci_enumerate_feature_devs() 158 kfree(irq_table); in cci_enumerate_feature_devs()
|
D | dfl.c | 698 int *irq_table; member 827 binfo->irq_table[finfo->irq_base + i]; in build_info_commit_dev() 995 virq = binfo->irq_table[ibase + i]; in parse_feature_irqs() 1282 if (info->irq_table) in dfl_fpga_enum_info_free() 1283 devm_kfree(dev, info->irq_table); in dfl_fpga_enum_info_free() 1341 unsigned int nr_irqs, int *irq_table) in dfl_fpga_enum_info_add_irq() argument 1343 if (!nr_irqs || !irq_table) in dfl_fpga_enum_info_add_irq() 1346 if (info->irq_table) in dfl_fpga_enum_info_add_irq() 1349 info->irq_table = devm_kmemdup(info->dev, irq_table, in dfl_fpga_enum_info_add_irq() 1351 if (!info->irq_table) in dfl_fpga_enum_info_add_irq() [all …]
|
D | dfl.h | 438 int *irq_table; member 458 unsigned int nr_irqs, int *irq_table);
|
/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 675 } irq_table[] = { variable 3447 if (i < ARRAY_SIZE(irq_table)) { in qib_setup_7322_interrupt() 3448 if (irq_table[i].port) { in qib_setup_7322_interrupt() 3450 if (irq_table[i].port > dd->num_pports) in qib_setup_7322_interrupt() 3452 arg = dd->pport + irq_table[i].port - 1; in qib_setup_7322_interrupt() 3456 dca = irq_table[i].dca; in qib_setup_7322_interrupt() 3458 lsb = irq_table[i].lsb; in qib_setup_7322_interrupt() 3459 handler = irq_table[i].handler; in qib_setup_7322_interrupt() 3463 irq_table[i].name); in qib_setup_7322_interrupt() 3467 ctxt = i - ARRAY_SIZE(irq_table); in qib_setup_7322_interrupt() [all …]
|