Searched refs:irq_avail (Results 1 – 4 of 4) sorted by relevance
177 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()
226 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()
530 struct irq_avail { struct668 struct irq_avail *irq_avail; member
389 static int cxl_pci_setup_mailbox(struct cxl_memdev_state *mds, bool irq_avail) in cxl_pci_setup_mailbox() argument448 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() argument762 if (!irq_avail) { in cxl_event_config()818 bool irq_avail; in cxl_pci_probe() local880 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()