Home
last modified time | relevance | path

Searched refs:int_params (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_irq.c131 const struct dc_interrupt_params *int_params) in remove_irq_handler() argument
142 irq_source = int_params->irq_source; in remove_irq_handler()
144 switch (int_params->int_context) { in remove_irq_handler()
179 ih, int_params->irq_source, int_params->int_context); in remove_irq_handler()
185 validate_irq_registration_params(struct dc_interrupt_params *int_params, in validate_irq_registration_params() argument
188 if (NULL == int_params || NULL == ih) { in validate_irq_registration_params()
193 if (int_params->int_context >= INTERRUPT_CONTEXT_NUMBER) { in validate_irq_registration_params()
195 int_params->int_context); in validate_irq_registration_params()
199 if (!DAL_VALID_IRQ_SRC_NUM(int_params->irq_source)) { in validate_irq_registration_params()
201 int_params->irq_source); in validate_irq_registration_params()
[all …]
Damdgpu_dm.c2600 struct dc_interrupt_params int_params = {0}; in register_hpd_handlers() local
2602 int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers()
2603 int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers()
2612 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers()
2613 int_params.irq_source = dc_link->irq_source_hpd; in register_hpd_handlers()
2615 amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers()
2623 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers()
2624 int_params.irq_source = dc_link->irq_source_hpd_rx; in register_hpd_handlers()
2626 amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers()
2639 struct dc_interrupt_params int_params = {0}; in dce60_register_irq_handlers() local
[all …]
Damdgpu_dm_irq.h67 struct dc_interrupt_params *int_params,
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_main.c579 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_disable_msix()
581 kfree(cdev->int_params.msix_table); in qed_disable_msix()
582 } else if (cdev->int_params.out.int_mode == QED_INT_MODE_MSI) { in qed_disable_msix()
586 memset(&cdev->int_params.out, 0, sizeof(struct qed_int_param)); in qed_disable_msix()
590 struct qed_int_params *int_params) in qed_enable_msix() argument
594 cnt = int_params->in.num_vectors; in qed_enable_msix()
597 int_params->msix_table[i].entry = i; in qed_enable_msix()
599 rc = pci_enable_msix_range(cdev->pdev, int_params->msix_table, in qed_enable_msix()
600 int_params->in.min_msix_cnt, cnt); in qed_enable_msix()
601 if (rc < cnt && rc >= int_params->in.min_msix_cnt && in qed_enable_msix()
[all …]
Dqed_rdma.c910 int n_msix = cdev->int_params.rdma_msix_cnt; in qed_rdma_get_min_cnq_msix()
920 cdev->int_params.fp_initialized = cnt ? true : false; in qed_rdma_set_int()
922 if (cdev->int_params.out.int_mode != QED_INT_MODE_MSIX) { in qed_rdma_set_int()
925 cdev->int_params.out.int_mode); in qed_rdma_set_int()
927 } else if (cdev->int_params.fp_msix_cnt) { in qed_rdma_set_int()
928 limit = cdev->int_params.rdma_msix_cnt; in qed_rdma_set_int()
941 if (!cdev->int_params.fp_initialized) { in qed_rdma_get_int()
947 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_rdma_get_int()
948 int msix_base = cdev->int_params.rdma_msix_base; in qed_rdma_get_int()
950 info->msix_cnt = cdev->int_params.rdma_msix_cnt; in qed_rdma_get_int()
[all …]
Dqed.h819 struct qed_int_params int_params; member
Dqed_l2.c2197 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_fill_eth_dev_info()
2218 if (cdev->int_params.fp_msix_cnt) { in qed_fill_eth_dev_info()
2219 u8 irqs = cdev->int_params.fp_msix_cnt; in qed_fill_eth_dev_info()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/
Ddm_services.h48 struct dc_interrupt_params *int_params,