int_params 1650 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dc_interrupt_params int_params = {0}; int_params 1652 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; int_params 1653 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; int_params 1662 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; int_params 1663 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = dc_link->irq_source_hpd; int_params 1665 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1673 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_LOW_IRQ_CONTEXT; int_params 1674 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = dc_link->irq_source_hpd_rx; int_params 1676 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1688 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dc_interrupt_params int_params = {0}; int_params 1696 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; int_params 1697 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; int_params 1718 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT; int_params 1719 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = int_params 1722 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params = &adev->dm.vblank_params[int_params.irq_source - DC_IRQ_SOURCE_VBLANK1]; int_params 1725 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params->irq_src = int_params.irq_source; int_params 1727 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1739 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT; int_params 1740 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = int_params 1743 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params = &adev->dm.vupdate_params[int_params.irq_source - DC_IRQ_SOURCE_VUPDATE1]; int_params 1746 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params->irq_src = int_params.irq_source; int_params 1748 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1761 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT; int_params 1762 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = int_params 1765 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params = &adev->dm.pflip_params[int_params.irq_source - DC_IRQ_SOURCE_PFLIP_FIRST]; int_params 1768 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params->irq_src = int_params.irq_source; int_params 1770 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1794 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct dc_interrupt_params int_params = {0}; int_params 1798 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.requested_polarity = INTERRUPT_POLARITY_DEFAULT; int_params 1799 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.current_polarity = INTERRUPT_POLARITY_DEFAULT; int_params 1824 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT; int_params 1825 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = int_params 1828 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params = &adev->dm.vblank_params[int_params.irq_source - DC_IRQ_SOURCE_VBLANK1]; int_params 1831 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params->irq_src = int_params.irq_source; int_params 1833 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1852 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT; int_params 1853 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = int_params 1856 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params = &adev->dm.vupdate_params[int_params.irq_source - DC_IRQ_SOURCE_VUPDATE1]; int_params 1859 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params->irq_src = int_params.irq_source; int_params 1861 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 1875 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.int_context = INTERRUPT_HIGH_IRQ_CONTEXT; int_params 1876 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c int_params.irq_source = int_params 1879 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params = &adev->dm.pflip_params[int_params.irq_source - DC_IRQ_SOURCE_PFLIP_FIRST]; int_params 1882 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c c_irq_params->irq_src = int_params.irq_source; int_params 1884 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c amdgpu_dm_irq_register_interrupt(adev, &int_params, int_params 145 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c const struct dc_interrupt_params *int_params) int_params 156 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c irq_source = int_params->irq_source; int_params 158 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c switch (int_params->int_context) { int_params 193 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c ih, int_params->irq_source, int_params->int_context); int_params 199 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c validate_irq_registration_params(struct dc_interrupt_params *int_params, int_params 202 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c if (NULL == int_params || NULL == ih) { int_params 207 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c if (int_params->int_context >= INTERRUPT_CONTEXT_NUMBER) { int_params 209 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c int_params->int_context); int_params 213 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c if (!DAL_VALID_IRQ_SRC_NUM(int_params->irq_source)) { int_params 215 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c int_params->irq_source); int_params 262 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c struct dc_interrupt_params *int_params, int_params 271 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c if (false == validate_irq_registration_params(int_params, ih)) int_params 282 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c irq_source = int_params->irq_source; int_params 289 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c switch (int_params->int_context) { int_params 312 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c int_params->int_context); int_params 331 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c struct dc_interrupt_params int_params; int_params 337 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c memset(&int_params, 0, sizeof(int_params)); int_params 339 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c int_params.irq_source = irq_source; int_params 343 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c int_params.int_context = i; int_params 345 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c handler_list = remove_irq_handler(adev, ih, &int_params); int_params 67 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h struct dc_interrupt_params *int_params, int_params 45 drivers/gpu/drm/amd/display/dc/dm_services.h struct dc_interrupt_params *int_params, int_params 838 drivers/net/ethernet/qlogic/qed/qed.h struct qed_int_params int_params; int_params 2213 drivers/net/ethernet/qlogic/qed/qed_l2.c if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { int_params 2234 drivers/net/ethernet/qlogic/qed/qed_l2.c if (cdev->int_params.fp_msix_cnt) { int_params 2235 drivers/net/ethernet/qlogic/qed/qed_l2.c u8 irqs = cdev->int_params.fp_msix_cnt; int_params 520 drivers/net/ethernet/qlogic/qed/qed_main.c if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { int_params 522 drivers/net/ethernet/qlogic/qed/qed_main.c kfree(cdev->int_params.msix_table); int_params 523 drivers/net/ethernet/qlogic/qed/qed_main.c } else if (cdev->int_params.out.int_mode == QED_INT_MODE_MSI) { int_params 527 drivers/net/ethernet/qlogic/qed/qed_main.c memset(&cdev->int_params.out, 0, sizeof(struct qed_int_param)); int_params 531 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_int_params *int_params) int_params 535 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = int_params->in.num_vectors; int_params 538 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->msix_table[i].entry = i; int_params 540 drivers/net/ethernet/qlogic/qed/qed_main.c rc = pci_enable_msix_range(cdev->pdev, int_params->msix_table, int_params 541 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->in.min_msix_cnt, cnt); int_params 542 drivers/net/ethernet/qlogic/qed/qed_main.c if (rc < cnt && rc >= int_params->in.min_msix_cnt && int_params 553 drivers/net/ethernet/qlogic/qed/qed_main.c cnt, int_params->in.num_vectors); int_params 554 drivers/net/ethernet/qlogic/qed/qed_main.c rc = pci_enable_msix_exact(cdev->pdev, int_params->msix_table, int_params 562 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->out.int_mode = QED_INT_MODE_MSIX; int_params 563 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->out.num_vectors = rc; int_params 577 drivers/net/ethernet/qlogic/qed/qed_main.c struct qed_int_params *int_params = &cdev->int_params; int_params 581 drivers/net/ethernet/qlogic/qed/qed_main.c switch (int_params->in.int_mode) { int_params 584 drivers/net/ethernet/qlogic/qed/qed_main.c cnt = int_params->in.num_vectors; int_params 585 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->msix_table = kcalloc(cnt, sizeof(*tbl), GFP_KERNEL); int_params 586 drivers/net/ethernet/qlogic/qed/qed_main.c if (!int_params->msix_table) { int_params 592 drivers/net/ethernet/qlogic/qed/qed_main.c rc = qed_enable_msix(cdev, int_params); int_params 597 drivers/net/ethernet/qlogic/qed/qed_main.c kfree(int_params->msix_table); int_params 606 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->out.int_mode = QED_INT_MODE_MSI; int_params 617 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->out.int_mode = QED_INT_MODE_INTA; int_params 622 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->in.int_mode); int_params 629 drivers/net/ethernet/qlogic/qed/qed_main.c int_params->out.int_mode == QED_INT_MODE_INTA ? int_params 630 drivers/net/ethernet/qlogic/qed/qed_main.c "INTa" : int_params->out.int_mode == QED_INT_MODE_MSI ? int_params 719 drivers/net/ethernet/qlogic/qed/qed_main.c int_mode = cdev->int_params.out.int_mode; int_params 725 drivers/net/ethernet/qlogic/qed/qed_main.c rc = request_irq(cdev->int_params.msix_table[id].vector, int_params 734 drivers/net/ethernet/qlogic/qed/qed_main.c if (cdev->int_params.out.int_mode == QED_INT_MODE_INTA) int_params 769 drivers/net/ethernet/qlogic/qed/qed_main.c int_mode = cdev->int_params.out.int_mode; int_params 771 drivers/net/ethernet/qlogic/qed/qed_main.c synchronize_irq(cdev->int_params.msix_table[id].vector); int_params 782 drivers/net/ethernet/qlogic/qed/qed_main.c if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { int_params 786 drivers/net/ethernet/qlogic/qed/qed_main.c synchronize_irq(cdev->int_params.msix_table[i].vector); int_params 787 drivers/net/ethernet/qlogic/qed/qed_main.c free_irq(cdev->int_params.msix_table[i].vector, int_params 849 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_initialized = cnt ? true : false; int_params 851 drivers/net/ethernet/qlogic/qed/qed_main.c if (cdev->int_params.out.int_mode != QED_INT_MODE_MSIX) int_params 853 drivers/net/ethernet/qlogic/qed/qed_main.c else if (cdev->int_params.fp_msix_cnt) int_params 854 drivers/net/ethernet/qlogic/qed/qed_main.c limit = cdev->int_params.fp_msix_cnt; int_params 866 drivers/net/ethernet/qlogic/qed/qed_main.c if (!cdev->int_params.fp_initialized) { int_params 875 drivers/net/ethernet/qlogic/qed/qed_main.c if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { int_params 876 drivers/net/ethernet/qlogic/qed/qed_main.c int msix_base = cdev->int_params.fp_msix_base; int_params 878 drivers/net/ethernet/qlogic/qed/qed_main.c info->msix_cnt = cdev->int_params.fp_msix_cnt; int_params 879 drivers/net/ethernet/qlogic/qed/qed_main.c info->msix = &cdev->int_params.msix_table[msix_base]; int_params 898 drivers/net/ethernet/qlogic/qed/qed_main.c memset(&cdev->int_params, 0, sizeof(struct qed_int_params)); int_params 899 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.int_mode = int_mode; int_params 903 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors += sb_cnt_info.cnt; int_params 904 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors++; /* slowpath */ int_params 908 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt = cdev->num_hwfns * 2; int_params 913 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt); int_params 914 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors = int_params 915 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt; int_params 924 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_base = cdev->num_hwfns; int_params 925 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_cnt = cdev->int_params.out.num_vectors - int_params 937 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_cnt, num_l2_queues); int_params 939 drivers/net/ethernet/qlogic/qed/qed_main.c if (cdev->int_params.fp_msix_cnt > num_l2_queues) { int_params 940 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.rdma_msix_cnt = int_params 941 drivers/net/ethernet/qlogic/qed/qed_main.c (cdev->int_params.fp_msix_cnt - num_l2_queues) int_params 943 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.rdma_msix_base = int_params 944 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_base + num_l2_queues; int_params 945 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_cnt = num_l2_queues; int_params 947 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.rdma_msix_cnt = 0; int_params 951 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.rdma_msix_cnt, int_params 952 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.rdma_msix_base); int_params 961 drivers/net/ethernet/qlogic/qed/qed_main.c memset(&cdev->int_params, 0, sizeof(struct qed_int_params)); int_params 962 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.int_mode = QED_INT_MODE_MSIX; int_params 965 drivers/net/ethernet/qlogic/qed/qed_main.c &cdev->int_params.in.num_vectors); int_params 970 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.num_vectors += vectors; int_params 974 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.in.min_msix_cnt = cdev->num_hwfns; int_params 980 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_base = 0; int_params 981 drivers/net/ethernet/qlogic/qed/qed_main.c cdev->int_params.fp_msix_cnt = cdev->int_params.out.num_vectors; int_params 1278 drivers/net/ethernet/qlogic/qed/qed_main.c hw_init_params.int_mode = cdev->int_params.out.int_mode; int_params 904 drivers/net/ethernet/qlogic/qed/qed_rdma.c int n_msix = cdev->int_params.rdma_msix_cnt; int_params 914 drivers/net/ethernet/qlogic/qed/qed_rdma.c cdev->int_params.fp_initialized = cnt ? true : false; int_params 916 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (cdev->int_params.out.int_mode != QED_INT_MODE_MSIX) { int_params 919 drivers/net/ethernet/qlogic/qed/qed_rdma.c cdev->int_params.out.int_mode); int_params 921 drivers/net/ethernet/qlogic/qed/qed_rdma.c } else if (cdev->int_params.fp_msix_cnt) { int_params 922 drivers/net/ethernet/qlogic/qed/qed_rdma.c limit = cdev->int_params.rdma_msix_cnt; int_params 935 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (!cdev->int_params.fp_initialized) { int_params 941 drivers/net/ethernet/qlogic/qed/qed_rdma.c if (cdev->int_params.out.int_mode == QED_INT_MODE_MSIX) { int_params 942 drivers/net/ethernet/qlogic/qed/qed_rdma.c int msix_base = cdev->int_params.rdma_msix_base; int_params 944 drivers/net/ethernet/qlogic/qed/qed_rdma.c info->msix_cnt = cdev->int_params.rdma_msix_cnt; int_params 945 drivers/net/ethernet/qlogic/qed/qed_rdma.c info->msix = &cdev->int_params.msix_table[msix_base];