Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/pci/controller/dwc/
Dpcie-designware-host.c85 num_ctrls = pp->num_vectors / MAX_MSI_IRQS_PER_CTRL; in dw_handle_msi_irq()
97 while ((pos = find_next_bit(&val, MAX_MSI_IRQS_PER_CTRL, in dw_handle_msi_irq()
98 pos)) != MAX_MSI_IRQS_PER_CTRL) { in dw_handle_msi_irq()
100 (i * MAX_MSI_IRQS_PER_CTRL) + in dw_handle_msi_irq()
164 ctrl = data->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
166 bit = data->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_mask()
187 ctrl = data->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
189 bit = data->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_unmask()
205 ctrl = d->hwirq / MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_ack()
207 bit = d->hwirq % MAX_MSI_IRQS_PER_CTRL; in dw_pci_bottom_ack()
[all …]
Dpcie-designware.h99 #define MAX_MSI_IRQS_PER_CTRL 32 macro
100 #define MAX_MSI_CTRLS (MAX_MSI_IRQS / MAX_MSI_IRQS_PER_CTRL)