Searched refs:int_params (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/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 | 3832 struct dc_interrupt_params int_params = {0}; in register_hpd_handlers() local 3834 int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers() 3835 int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; in register_hpd_handlers() 3867 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers() 3868 int_params.irq_source = dc_link->irq_source_hpd; in register_hpd_handlers() 3870 if (int_params.irq_source == DC_IRQ_SOURCE_INVALID || in register_hpd_handlers() 3871 int_params.irq_source < DC_IRQ_SOURCE_HPD1 || in register_hpd_handlers() 3872 int_params.irq_source > DC_IRQ_SOURCE_HPD6) { in register_hpd_handlers() 3877 if (!amdgpu_dm_irq_register_interrupt(adev, &int_params, in register_hpd_handlers() 3885 int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; in register_hpd_handlers() [all …]
|
D | amdgpu_dm_irq.h | 67 struct dc_interrupt_params *int_params,
|
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/ |
D | qed_main.c | 545 if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { in qed_disable_msix() 547 kfree(cdev->int_params.msix_table); in qed_disable_msix() 548 } else if (cdev->int_params.out.int_mode == QED_INT_MODE_MSI) { in qed_disable_msix() 552 memset(&cdev->int_params.out, 0, sizeof(struct qed_int_param)); in qed_disable_msix() 556 struct qed_int_params *int_params) in qed_enable_msix() argument 560 cnt = int_params->in.num_vectors; in qed_enable_msix() 563 int_params->msix_table[i].entry = i; in qed_enable_msix() 565 rc = pci_enable_msix_range(cdev->pdev, int_params->msix_table, in qed_enable_msix() 566 int_params->in.min_msix_cnt, cnt); in qed_enable_msix() 567 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 | 809 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()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dm_services.h | 47 struct dc_interrupt_params *int_params,
|