Home
last modified time | relevance | path

Searched refs:MAX_MSI_IRQS_PER_CTRL (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/pci/controller/dwc/
Dpcie-designware-host.c84 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_handle_msi_irq()
96 MAX_MSI_IRQS_PER_CTRL, in dw_handle_msi_irq()
97 pos)) != MAX_MSI_IRQS_PER_CTRL) { in dw_handle_msi_irq()
99 (i * MAX_MSI_IRQS_PER_CTRL) + in dw_handle_msi_irq()
166 ctrl = data->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
168 bit = data->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
189 ctrl = data->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
191 bit = data->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
658 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_pcie_setup_rc()
Dpcie-designware.h99 #define MAX_MSI_IRQS_PER_CTRL 32 macro
100 #define MAX_MSI_CTRLS (MAX_MSI_IRQS / MAX_MSI_IRQS_PER_CTRL)