Home
last modified time | relevance | path

Searched refs:irq_table (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c400 static struct mlx5_irq_pool *find_sf_irq_pool(struct mlx5_irq_table *irq_table, in find_sf_irq_pool() argument
404 return irq_table->sf_ctrl_pool; in find_sf_irq_pool()
405 return irq_table->sf_comp_pool; in find_sf_irq_pool()
430 struct mlx5_irq_table *irq_table = mlx5_irq_table_get(dev); in mlx5_irq_request() local
435 pool = find_sf_irq_pool(irq_table, vecidx, affinity); in mlx5_irq_request()
447 pool = irq_table->pf_pool; in mlx5_irq_request()
499 struct mlx5_irq_table *table = dev->priv.irq_table; in irq_pools_init()
580 struct mlx5_irq_table *irq_table; in mlx5_irq_table_init() local
585 irq_table = kvzalloc(sizeof(*irq_table), GFP_KERNEL); in mlx5_irq_table_init()
586 if (!irq_table) in mlx5_irq_table_init()
[all …]
Deq.c60 struct mlx5_irq_table *irq_table; member
458 eq_table->irq_table = mlx5_irq_table_get(dev); in mlx5_eq_table_init()
1005 mlx5_irq_table_get_num_comp(eq_table->irq_table), in mlx5_eq_table_create()
1009 mlx5_irq_table_get_sfs_vec(eq_table->irq_table)); in mlx5_eq_table_create()
/drivers/scsi/
Dg_NCR5380.c192 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/
Ddfl-pci.c288 int *irq_table; in cci_enumerate_feature_devs() local
302 irq_table = cci_pci_create_irq_table(pcidev, nvec); in cci_enumerate_feature_devs()
303 if (!irq_table) { in cci_enumerate_feature_devs()
308 ret = dfl_fpga_enum_info_add_irq(info, nvec, irq_table); in cci_enumerate_feature_devs()
309 kfree(irq_table); in cci_enumerate_feature_devs()
Ddfl.c697 int *irq_table; member
828 binfo->irq_table[finfo->irq_base + i]; in build_info_commit_dev()
994 virq = binfo->irq_table[ibase + i]; in parse_feature_irqs()
1289 if (info->irq_table) in dfl_fpga_enum_info_free()
1290 devm_kfree(dev, info->irq_table); in dfl_fpga_enum_info_free()
1348 unsigned int nr_irqs, int *irq_table) in dfl_fpga_enum_info_add_irq() argument
1350 if (!nr_irqs || !irq_table) in dfl_fpga_enum_info_add_irq()
1353 if (info->irq_table) in dfl_fpga_enum_info_add_irq()
1356 info->irq_table = devm_kmemdup(info->dev, irq_table, in dfl_fpga_enum_info_add_irq()
1358 if (!info->irq_table) in dfl_fpga_enum_info_add_irq()
[all …]
Ddfl.h440 int *irq_table; member
460 unsigned int nr_irqs, int *irq_table);
/drivers/infiniband/hw/qib/
Dqib_iba7322.c675 } 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()
3430 arg = dd->pport + irq_table[i].port - 1; 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()
[all …]