Searched refs:int_params (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_irq.c | 140 const struct dc_interrupt_params *int_params) in remove_irq_handler() argument 151 irq_source = int_params->irq_source; in remove_irq_handler() 153 switch (int_params->int_context) { in remove_irq_handler() 188 ih, int_params->irq_source, int_params->int_context); in remove_irq_handler() 194 validate_irq_registration_params(struct dc_interrupt_params *int_params, in validate_irq_registration_params() argument 197 if (NULL == int_params || NULL == ih) { in validate_irq_registration_params() 202 if (int_params->int_context >= INTERRUPT_CONTEXT_NUMBER) { in validate_irq_registration_params() 204 int_params->int_context); in validate_irq_registration_params() 208 if (!DAL_VALID_IRQ_SRC_NUM(int_params->irq_source)) { in validate_irq_registration_params() 210 int_params->irq_source); in validate_irq_registration_params() [all …]
|
D | amdgpu_dm.c | 2528 struct dc_interrupt_params int_params = {0}; in register_hpd_handlers() local 2530 int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers() 2531 int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers() 2540 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers() 2541 int_params.irq_source = dc_link->irq_source_hpd; in register_hpd_handlers() 2543 amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers() 2551 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers() 2552 int_params.irq_source = dc_link->irq_source_hpd_rx; in register_hpd_handlers() 2554 amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers() 2567 struct dc_interrupt_params int_params = {0}; in dce60_register_irq_handlers() local [all …]
|
D | amdgpu_dm_irq.h | 67 struct dc_interrupt_params *int_params,
|
/Linux-v5.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 579 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 …]
|
D | qed_rdma.c | 910 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 …]
|
D | qed.h | 819 struct qed_int_params int_params; member
|
D | qed_l2.c | 2197 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()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/ |
D | dm_services.h | 48 struct dc_interrupt_params *int_params,
|