Searched refs:int_params (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_irq.c | 133 const struct dc_interrupt_params *int_params) in remove_irq_handler() argument 144 irq_source = int_params->irq_source; in remove_irq_handler() 146 switch (int_params->int_context) { in remove_irq_handler() 185 ih, int_params->irq_source, int_params->int_context); in remove_irq_handler() 240 validate_irq_registration_params(struct dc_interrupt_params *int_params, in validate_irq_registration_params() argument 243 if (NULL == int_params || NULL == ih) { in validate_irq_registration_params() 248 if (int_params->int_context >= INTERRUPT_CONTEXT_NUMBER) { in validate_irq_registration_params() 250 int_params->int_context); in validate_irq_registration_params() 254 if (!DAL_VALID_IRQ_SRC_NUM(int_params->irq_source)) { in validate_irq_registration_params() 256 int_params->irq_source); in validate_irq_registration_params() [all …]
|
D | amdgpu_dm.c | 3478 struct dc_interrupt_params int_params = {0}; in register_hpd_handlers() local 3480 int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers() 3481 int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers() 3498 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers() 3499 int_params.irq_source = dc_link->irq_source_hpd; in register_hpd_handlers() 3501 amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers() 3509 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers() 3510 int_params.irq_source = dc_link->irq_source_hpd_rx; in register_hpd_handlers() 3512 amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers() 3525 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,
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 546 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_disable_msix() 548 kfree(cdev->int_params.msix_table); in qed_disable_msix() 549 } else if (cdev->int_params.out.int_mode == QED_INT_MODE_MSI) { in qed_disable_msix() 553 memset(&cdev->int_params.out, 0, sizeof(struct qed_int_param)); in qed_disable_msix() 557 struct qed_int_params *int_params) in qed_enable_msix() argument 561 cnt = int_params->in.num_vectors; in qed_enable_msix() 564 int_params->msix_table[i].entry = i; in qed_enable_msix() 566 rc = pci_enable_msix_range(cdev->pdev, int_params->msix_table, in qed_enable_msix() 567 int_params->in.min_msix_cnt, cnt); in qed_enable_msix() 568 if (rc < cnt && rc >= int_params->in.min_msix_cnt && in qed_enable_msix() [all …]
|
D | qed_rdma.c | 883 int n_msix = cdev->int_params.rdma_msix_cnt; in qed_rdma_get_min_cnq_msix() 893 cdev->int_params.fp_initialized = cnt ? true : false; in qed_rdma_set_int() 895 if (cdev->int_params.out.int_mode != QED_INT_MODE_MSIX) { in qed_rdma_set_int() 898 cdev->int_params.out.int_mode); in qed_rdma_set_int() 900 } else if (cdev->int_params.fp_msix_cnt) { in qed_rdma_set_int() 901 limit = cdev->int_params.rdma_msix_cnt; in qed_rdma_set_int() 914 if (!cdev->int_params.fp_initialized) { in qed_rdma_get_int() 920 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_rdma_get_int() 921 int msix_base = cdev->int_params.rdma_msix_base; in qed_rdma_get_int() 923 info->msix_cnt = cdev->int_params.rdma_msix_cnt; in qed_rdma_get_int() [all …]
|
D | qed.h | 811 struct qed_int_params int_params; member
|
D | qed_l2.c | 2207 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_fill_eth_dev_info() 2228 if (cdev->int_params.fp_msix_cnt) { in qed_fill_eth_dev_info() 2229 u8 irqs = cdev->int_params.fp_msix_cnt; in qed_fill_eth_dev_info()
|
/drivers/gpu/drm/amd/display/dc/ |
D | dm_services.h | 47 struct dc_interrupt_params *int_params,
|