Home
last modified time | relevance | path

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

/linux-6.1.9/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()
133 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
135 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
152 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
154 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
168 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_ack()
170 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_ack()
[all …]
Dpci-dra7xx.c216 pos = find_first_bit(&val, MAX_MSI_IRQS_PER_CTRL); in dra7xx_pcie_handle_msi()
217 while (pos != MAX_MSI_IRQS_PER_CTRL) { in dra7xx_pcie_handle_msi()
219 (index * MAX_MSI_IRQS_PER_CTRL) + pos); in dra7xx_pcie_handle_msi()
221 pos = find_next_bit(&val, MAX_MSI_IRQS_PER_CTRL, pos); in dra7xx_pcie_handle_msi()
232 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dra7xx_pcie_handle_msi_irq()
Dpcie-designware.h205 #define MAX_MSI_IRQS_PER_CTRL 32 macro
206 #define MAX_MSI_CTRLS (MAX_MSI_IRQS / MAX_MSI_IRQS_PER_CTRL)