Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_interrupts.c156 if (!dpu_kms->hw_intr->irq_tbl[irq_idx].cb) in dpu_core_irq_callback_handler()
159 atomic_inc(&dpu_kms->hw_intr->irq_tbl[irq_idx].count); in dpu_core_irq_callback_handler()
164 dpu_kms->hw_intr->irq_tbl[irq_idx].cb(dpu_kms->hw_intr->irq_tbl[irq_idx].arg, irq_idx); in dpu_core_irq_callback_handler()
416 intr = kzalloc(struct_size(intr, irq_tbl, nirq), GFP_KERNEL); in dpu_hw_intr_init()
457 if (unlikely(WARN_ON(dpu_kms->hw_intr->irq_tbl[irq_idx].cb))) { in dpu_core_irq_register_callback()
464 dpu_kms->hw_intr->irq_tbl[irq_idx].arg = irq_arg; in dpu_core_irq_register_callback()
465 dpu_kms->hw_intr->irq_tbl[irq_idx].cb = irq_cb; in dpu_core_irq_register_callback()
500 dpu_kms->hw_intr->irq_tbl[irq_idx].cb = NULL; in dpu_core_irq_unregister_callback()
501 dpu_kms->hw_intr->irq_tbl[irq_idx].arg = NULL; in dpu_core_irq_unregister_callback()
520 irq_count = atomic_read(&dpu_kms->hw_intr->irq_tbl[i].count); in dpu_debugfs_core_irq_show()
[all …]
Ddpu_hw_interrupts.h61 } irq_tbl[]; member
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c742 struct ena_irq *ena_irq = &adapter->irq_tbl[ENA_IO_IRQ_IDX(qid)]; in ena_setup_tx_resources()
877 struct ena_irq *ena_irq = &adapter->irq_tbl[ENA_IO_IRQ_IDX(qid)]; in ena_setup_rx_resources()
2111 snprintf(adapter->irq_tbl[ENA_MGMNT_IRQ_IDX].name, in ena_setup_mgmnt_intr()
2114 adapter->irq_tbl[ENA_MGMNT_IRQ_IDX].handler = in ena_setup_mgmnt_intr()
2116 adapter->irq_tbl[ENA_MGMNT_IRQ_IDX].data = adapter; in ena_setup_mgmnt_intr()
2117 adapter->irq_tbl[ENA_MGMNT_IRQ_IDX].vector = in ena_setup_mgmnt_intr()
2120 adapter->irq_tbl[ENA_MGMNT_IRQ_IDX].cpu = cpu; in ena_setup_mgmnt_intr()
2122 &adapter->irq_tbl[ENA_MGMNT_IRQ_IDX].affinity_hint_mask); in ena_setup_mgmnt_intr()
2138 snprintf(adapter->irq_tbl[irq_idx].name, ENA_IRQNAME_SIZE, in ena_setup_io_intr()
2140 adapter->irq_tbl[irq_idx].handler = ena_intr_msix_io; in ena_setup_io_intr()
[all …]
Dena_netdev.h358 struct ena_irq irq_tbl[ENA_MAX_MSIX_VEC(ENA_MAX_NUM_IO_QUEUES)]; member
/linux-6.1.9/drivers/net/ethernet/amd/
Dlance.c595 static const char irq_tbl[4] = {3, 4, 5, 9}; in lance_probe1() local
598 dev->irq = irq_tbl[(port_val >> 2) & 3]; in lance_probe1()
602 static const char irq_tbl[8] = {3, 4, 5, 9, 10, 11, 12, 15}; in lance_probe1() local
605 dev->irq = irq_tbl[(reset_val >> 4) & 7]; in lance_probe1()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c367 cp->irq_arr[0].vector = bp->irq_tbl[sb_id].vector; in bnx2_setup_cnic_irq_info()
638 synchronize_irq(bp->irq_tbl[i].vector); in bnx2_disable_int_sync()
3435 bnx2_msi(bp->irq_tbl[0].vector, bnapi); in bnx2_chk_missed_msi()
6228 irq = &bp->irq_tbl[i]; in bnx2_request_irq()
6245 irq = &bp->irq_tbl[i]; in __bnx2_free_irq()
6271 const int len = sizeof(bp->irq_tbl[0].name); in bnx2_enable_msix()
6303 bp->irq_tbl[i].vector = msix_ent[i].vector; in bnx2_enable_msix()
6304 snprintf(bp->irq_tbl[i].name, len, "%s-%d", dev->name, i); in bnx2_enable_msix()
6305 bp->irq_tbl[i].handler = bnx2_msi_1shot; in bnx2_enable_msix()
6324 bp->irq_tbl[0].handler = bnx2_interrupt; in bnx2_setup_int_mode()
[all …]
Dbnx2.h6983 struct bnx2_irq irq_tbl[BNX2_MAX_MSIX_VEC]; member
/linux-6.1.9/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c4698 if (!bp->irq_tbl) in bnxt_disable_int_sync()
4707 synchronize_irq(bp->irq_tbl[map_idx].vector); in bnxt_disable_int_sync()
5895 vector = bp->irq_tbl[map_idx].vector; in bnxt_hwrm_ring_alloc()
8955 const int len = sizeof(bp->irq_tbl[0].name); in bnxt_setup_msix()
8981 snprintf(bp->irq_tbl[map_idx].name, len, "%s-%s-%d", dev->name, in bnxt_setup_msix()
8983 bp->irq_tbl[map_idx].handler = bnxt_msix; in bnxt_setup_msix()
8989 const int len = sizeof(bp->irq_tbl[0].name); in bnxt_setup_inta()
8994 snprintf(bp->irq_tbl[0].name, len, "%s-%s-%d", bp->dev->name, "TxRx", in bnxt_setup_inta()
8996 bp->irq_tbl[0].handler = bnxt_inta; in bnxt_setup_inta()
9005 if (!bp->irq_tbl) { in bnxt_setup_int_mode()
[all …]
Dbnxt_ulp.c106 ent[i].vector = bp->irq_tbl[idx + i].vector; in bnxt_fill_msix_vecs()
Dbnxt.h1948 struct bnxt_irq *irq_tbl; member