Home
last modified time | relevance | path

Searched refs:irq_avail (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/misc/cxl/
H A Dof.c177 struct irq_avail *cur; in read_adapter_irq_config()
191 adapter->guest->irq_avail = kcalloc(nranges, sizeof(struct irq_avail), in read_adapter_irq_config()
193 if (adapter->guest->irq_avail == NULL) in read_adapter_irq_config()
198 cur = &adapter->guest->irq_avail[i]; in read_adapter_irq_config()
217 cur = &adapter->guest->irq_avail[i]; in read_adapter_irq_config()
220 kfree(adapter->guest->irq_avail); in read_adapter_irq_config()
221 adapter->guest->irq_avail = NULL; in read_adapter_irq_config()
H A Dguest.c226 struct irq_avail *cur; in irq_alloc_range()
229 cur = &adapter->guest->irq_avail[i]; in irq_alloc_range()
247 struct irq_avail *cur; in irq_free_range()
253 cur = &adapter->guest->irq_avail[i]; in irq_free_range()
1051 struct irq_avail *cur; in free_adapter()
1055 if (adapter->guest->irq_avail) { in free_adapter()
1057 cur = &adapter->guest->irq_avail[i]; in free_adapter()
1060 kfree(adapter->guest->irq_avail); in free_adapter()
H A Dcxl.h530 struct irq_avail { struct
668 struct irq_avail *irq_avail; member
/linux/drivers/cxl/
H A Dpci.c389 static int cxl_pci_setup_mailbox(struct cxl_memdev_state *mds, bool irq_avail) in cxl_pci_setup_mailbox() argument
448 if (!(cap & CXLDEV_MBOX_CAP_BG_CMD_IRQ) || !irq_avail) in cxl_pci_setup_mailbox()
750 struct cxl_memdev_state *mds, bool irq_avail) in cxl_event_config() argument
762 if (!irq_avail) { in cxl_event_config()
818 bool irq_avail; in cxl_pci_probe() local
880 irq_avail = cxl_alloc_irq_vectors(pdev); in cxl_pci_probe()
882 rc = cxl_pci_setup_mailbox(mds, irq_avail); in cxl_pci_probe()
941 rc = cxl_event_config(host_bridge, mds, irq_avail); in cxl_pci_probe()