Home
last modified time | relevance | path

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

/drivers/pci/controller/dwc/
Dpcie-designware-host.c64 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_handle_msi_irq()
75 while ((pos = find_next_bit(&val, MAX_MSI_IRQS_PER_CTRL, in dw_handle_msi_irq()
76 pos)) != MAX_MSI_IRQS_PER_CTRL) { in dw_handle_msi_irq()
78 (i * MAX_MSI_IRQS_PER_CTRL) + in dw_handle_msi_irq()
135 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
137 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
154 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
156 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
170 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_ack()
172 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_ack()
[all …]
Dpci-dra7xx.c219 pos = find_next_bit(&val, MAX_MSI_IRQS_PER_CTRL, 0); in dra7xx_pcie_handle_msi()
220 while (pos != MAX_MSI_IRQS_PER_CTRL) { in dra7xx_pcie_handle_msi()
222 (index * MAX_MSI_IRQS_PER_CTRL) + pos); in dra7xx_pcie_handle_msi()
225 pos = find_next_bit(&val, MAX_MSI_IRQS_PER_CTRL, pos); in dra7xx_pcie_handle_msi()
236 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_handle_msi_irq()
413 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_bottom_mask()
415 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_bottom_mask()
433 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_bottom_unmask()
435 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_bottom_unmask()
450 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_bottom_ack()
[all …]
Dpcie-designware.h146 #define MAX_MSI_IRQS_PER_CTRL 32 macro
147 #define MAX_MSI_CTRLS (MAX_MSI_IRQS / MAX_MSI_IRQS_PER_CTRL)