Home
last modified time | relevance | path

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

/linux-6.1.9/include/sound/
Dinitval.h61 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()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dpci_irq.c318 static struct mlx5_irq_pool *sf_ctrl_irq_pool_get(struct mlx5_irq_table *irq_table) in sf_ctrl_irq_pool_get() argument
320 return irq_table->sf_ctrl_pool; in sf_ctrl_irq_pool_get()
323 static struct mlx5_irq_pool *sf_irq_pool_get(struct mlx5_irq_table *irq_table) in sf_irq_pool_get() argument
325 return irq_table->sf_comp_pool; in sf_irq_pool_get()
330 struct mlx5_irq_table *irq_table = mlx5_irq_table_get(dev); in mlx5_irq_pool_get() local
334 pool = sf_irq_pool_get(irq_table); in mlx5_irq_pool_get()
339 return pool ? pool : irq_table->pf_pool; in mlx5_irq_pool_get()
344 struct mlx5_irq_table *irq_table = mlx5_irq_table_get(dev); in ctrl_irq_pool_get() local
348 pool = sf_ctrl_irq_pool_get(irq_table); in ctrl_irq_pool_get()
353 return pool ? pool : irq_table->pf_pool; in ctrl_irq_pool_get()
[all …]
Deq.c60 struct mlx5_irq_table *irq_table; member
454 eq_table->irq_table = mlx5_irq_table_get(dev); in mlx5_eq_table_init()
1085 mlx5_irq_table_get_num_comp(eq_table->irq_table), in mlx5_eq_table_create()
1089 mlx5_irq_table_get_sfs_vec(eq_table->irq_table)); in mlx5_eq_table_create()
/linux-6.1.9/arch/sparc/kernel/
Dirq_32.c113 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()
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/fpga/
Ddfl-pci.c316 int *irq_table; in cci_enumerate_feature_devs() local
330 irq_table = cci_pci_create_irq_table(pcidev, nvec); in cci_enumerate_feature_devs()
331 if (!irq_table) { in cci_enumerate_feature_devs()
336 ret = dfl_fpga_enum_info_add_irq(info, nvec, irq_table); in cci_enumerate_feature_devs()
337 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()
1000 virq = binfo->irq_table[ibase + i]; in parse_feature_irqs()
1295 if (info->irq_table) in dfl_fpga_enum_info_free()
1296 devm_kfree(dev, info->irq_table); in dfl_fpga_enum_info_free()
1354 unsigned int nr_irqs, int *irq_table) in dfl_fpga_enum_info_add_irq() argument
1356 if (!nr_irqs || !irq_table) in dfl_fpga_enum_info_add_irq()
1359 if (info->irq_table) in dfl_fpga_enum_info_add_irq()
1362 info->irq_table = devm_kmemdup(info->dev, irq_table, in dfl_fpga_enum_info_add_irq()
1364 if (!info->irq_table) in dfl_fpga_enum_info_add_irq()
[all …]
Ddfl.h441 int *irq_table; member
461 unsigned int nr_irqs, int *irq_table);
/linux-6.1.9/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 …]
/linux-6.1.9/include/linux/mlx5/
Ddriver.h579 struct mlx5_irq_table *irq_table; member