/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_core_irq.c | 20 static void dpu_core_irq_callback_handler(void *arg, int irq_idx) in dpu_core_irq_callback_handler() argument 27 pr_debug("irq_idx=%d\n", irq_idx); in dpu_core_irq_callback_handler() 29 if (list_empty(&irq_obj->irq_cb_tbl[irq_idx])) { in dpu_core_irq_callback_handler() 30 DRM_ERROR("no registered cb, idx:%d enable_count:%d\n", irq_idx, in dpu_core_irq_callback_handler() 31 atomic_read(&dpu_kms->irq_obj.enable_counts[irq_idx])); in dpu_core_irq_callback_handler() 34 atomic_inc(&irq_obj->irq_counts[irq_idx]); in dpu_core_irq_callback_handler() 40 list_for_each_entry(cb, &irq_obj->irq_cb_tbl[irq_idx], list) in dpu_core_irq_callback_handler() 42 cb->func(cb->arg, irq_idx); in dpu_core_irq_callback_handler() 52 irq_idx); in dpu_core_irq_callback_handler() 70 static int _dpu_core_irq_enable(struct dpu_kms *dpu_kms, int irq_idx) in _dpu_core_irq_enable() argument [all …]
|
D | dpu_hw_interrupts.c | 778 int irq_idx; in dpu_hw_intr_dispatch_irq() local 812 for (irq_idx = start_idx; in dpu_hw_intr_dispatch_irq() 813 (irq_idx < end_idx) && irq_status; in dpu_hw_intr_dispatch_irq() 814 irq_idx++) in dpu_hw_intr_dispatch_irq() 815 if ((irq_status & dpu_irq_map[irq_idx].irq_mask) && in dpu_hw_intr_dispatch_irq() 816 (dpu_irq_map[irq_idx].reg_idx == reg_idx)) { in dpu_hw_intr_dispatch_irq() 825 cbfunc(arg, irq_idx); in dpu_hw_intr_dispatch_irq() 828 intr, irq_idx); in dpu_hw_intr_dispatch_irq() 835 irq_status &= ~dpu_irq_map[irq_idx].irq_mask; in dpu_hw_intr_dispatch_irq() 841 static int dpu_hw_intr_enable_irq(struct dpu_hw_intr *intr, int irq_idx) in dpu_hw_intr_enable_irq() argument [all …]
|
D | dpu_trace.h | 172 int irq_idx), 173 TP_ARGS(drm_id, intr_idx, hw_idx, irq_idx), 178 __field( int, irq_idx ) 184 __entry->irq_idx = irq_idx; 188 __entry->irq_idx) 192 int irq_idx), 193 TP_ARGS(drm_id, intr_idx, hw_idx, irq_idx) 197 int irq_idx), 198 TP_ARGS(drm_id, intr_idx, hw_idx, irq_idx) 203 int irq_idx, enum dpu_pingpong pp_idx, int atomic_cnt), [all …]
|
D | dpu_hw_interrupts.h | 102 int irq_idx); 112 int irq_idx); 141 void (*cbfunc)(void *arg, int irq_idx), 159 int irq_idx); 170 int irq_idx,
|
D | dpu_core_irq.h | 84 int irq_idx, 102 int irq_idx, 120 int irq_idx,
|
D | dpu_encoder.c | 280 irq->irq_idx); in dpu_encoder_helper_wait_for_irq() 284 if (irq->irq_idx < 0) { in dpu_encoder_helper_wait_for_irq() 293 irq->irq_idx, phys_enc->hw_pp->idx - PINGPONG_0, in dpu_encoder_helper_wait_for_irq() 303 irq->irq_idx, true); in dpu_encoder_helper_wait_for_irq() 310 irq->hw_idx, irq->irq_idx, in dpu_encoder_helper_wait_for_irq() 314 irq->cb.func(phys_enc, irq->irq_idx); in dpu_encoder_helper_wait_for_irq() 322 irq->hw_idx, irq->irq_idx, in dpu_encoder_helper_wait_for_irq() 329 intr_idx, irq->hw_idx, irq->irq_idx, in dpu_encoder_helper_wait_for_irq() 349 if (irq->irq_idx >= 0) { in dpu_encoder_helper_register_irq() 356 irq->irq_idx = dpu_core_irq_idx_lookup(phys_enc->dpu_kms, in dpu_encoder_helper_register_irq() [all …]
|
D | dpu_encoder_phys_cmd.c | 71 static void dpu_encoder_phys_cmd_pp_tx_done_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_pp_tx_done_irq() argument 100 static void dpu_encoder_phys_cmd_pp_rd_ptr_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_pp_rd_ptr_irq() argument 120 static void dpu_encoder_phys_cmd_ctl_start_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_ctl_start_irq() argument 133 static void dpu_encoder_phys_cmd_underrun_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_underrun_irq() argument 149 irq->irq_idx = -EINVAL; in _dpu_encoder_phys_cmd_setup_irq_hw_idx() 153 irq->irq_idx = -EINVAL; in _dpu_encoder_phys_cmd_setup_irq_hw_idx() 157 irq->irq_idx = -EINVAL; in _dpu_encoder_phys_cmd_setup_irq_hw_idx() 161 irq->irq_idx = -EINVAL; in _dpu_encoder_phys_cmd_setup_irq_hw_idx() 739 irq->irq_idx = -EINVAL; in dpu_encoder_phys_cmd_init()
|
D | dpu_encoder_phys_vid.c | 303 static void dpu_encoder_phys_vid_vblank_irq(void *arg, int irq_idx) in dpu_encoder_phys_vid_vblank_irq() argument 342 static void dpu_encoder_phys_vid_underrun_irq(void *arg, int irq_idx) in dpu_encoder_phys_vid_underrun_irq() argument 369 if (irq->irq_idx < 0) in _dpu_encoder_phys_vid_setup_irq_hw_idx() 373 if (irq->irq_idx < 0) in _dpu_encoder_phys_vid_setup_irq_hw_idx() 713 irq->irq_idx = -EINVAL; in dpu_encoder_phys_vid_init()
|
D | dpu_kms.h | 78 void (*func)(void *arg, int irq_idx);
|
D | dpu_encoder_phys.h | 179 int irq_idx; member
|
/drivers/net/wireless/ath/ath11k/ |
D | ahb.c | 243 int irq_idx; in ath11k_ahb_sync_ce_irqs() local 249 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_sync_ce_irqs() 250 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ce_irqs() 257 int irq_idx; in ath11k_ahb_sync_ext_irqs() local 263 irq_idx = irq_grp->irqs[j]; in ath11k_ahb_sync_ext_irqs() 264 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ext_irqs() 376 int irq_idx; in ath11k_ahb_free_irq() local 382 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_free_irq() 383 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 509 int irq_idx = irq_grp->irqs[j]; in ath11k_ahb_ext_irq_config() local [all …]
|
D | pci.c | 330 int i, irq_idx; in ath11k_pci_free_irq() local 335 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + i; in ath11k_pci_free_irq() 336 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pci_free_irq() 344 u32 irq_idx; in ath11k_pci_ce_irq_enable() local 346 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pci_ce_irq_enable() 347 enable_irq(ab->irq_num[irq_idx]); in ath11k_pci_ce_irq_enable() 352 u32 irq_idx; in ath11k_pci_ce_irq_disable() local 354 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pci_ce_irq_disable() 355 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pci_ce_irq_disable() 372 int irq_idx; in ath11k_pci_sync_ce_irqs() local [all …]
|
/drivers/platform/x86/ |
D | i2c-multi-instantiate.c | 26 int irq_idx; member 98 ret = acpi_dev_gpio_irq_get(adev, inst_data[i].irq_idx); in i2c_multi_inst_probe() 101 inst_data[i].irq_idx, ret); in i2c_multi_inst_probe() 107 ret = platform_get_irq(pdev, inst_data[i].irq_idx); in i2c_multi_inst_probe() 110 inst_data[i].irq_idx, ret); in i2c_multi_inst_probe()
|
/drivers/ntb/test/ |
D | ntb_msi_test.c | 25 int irq_idx; member 49 isr_ctx->irq_idx); in ntb_msit_isr() 73 nm->isr_ctx[i].irq_idx = i; in ntb_msit_setup_work()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 447 bool irq_idx, is_ver1; in hns_rcb_ring_get_cfg() local 454 irq_idx = HNS_RCB_IRQ_IDX_RX; in hns_rcb_ring_get_cfg() 460 irq_idx = HNS_RCB_IRQ_IDX_TX; in hns_rcb_ring_get_cfg() 471 ring->irq = ring_pair_cb->virq[irq_idx]; in hns_rcb_ring_get_cfg()
|
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 578 void fec_ptp_init(struct platform_device *pdev, int irq_idx) in fec_ptp_init() argument 615 irq = platform_get_irq_optional(pdev, irq_idx); in fec_ptp_init()
|
D | fec.h | 599 void fec_ptp_init(struct platform_device *pdev, int irq_idx);
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 587 int irq_idx = ENA_IO_IRQ_IDX(i); in ena_init_rx_cpu_rmap() local 590 pci_irq_vector(adapter->pdev, irq_idx)); in ena_init_rx_cpu_rmap() 2021 int irq_idx, i, cpu; in ena_setup_io_intr() local 2028 irq_idx = ENA_IO_IRQ_IDX(i); in ena_setup_io_intr() 2031 snprintf(adapter->irq_tbl[irq_idx].name, ENA_IRQNAME_SIZE, in ena_setup_io_intr() 2033 adapter->irq_tbl[irq_idx].handler = ena_intr_msix_io; in ena_setup_io_intr() 2034 adapter->irq_tbl[irq_idx].data = &adapter->ena_napi[i]; in ena_setup_io_intr() 2035 adapter->irq_tbl[irq_idx].vector = in ena_setup_io_intr() 2036 pci_irq_vector(adapter->pdev, irq_idx); in ena_setup_io_intr() 2037 adapter->irq_tbl[irq_idx].cpu = cpu; in ena_setup_io_intr() [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 656 int i, j, err, irq_idx = 0, qset_idx = 0; in setup_sge_qsets() local 660 irq_idx = -1; in setup_sge_qsets() 670 irq_idx, in setup_sge_qsets()
|