Home
last modified time | relevance | path

Searched refs:dev_to_msi_list (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/base/
Dplatform-msi.c113 list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) { in platform_msi_free_descs()
130 if (!list_empty(dev_to_msi_list(dev))) { in platform_msi_alloc_descs_with_irq()
131 desc = list_last_entry(dev_to_msi_list(dev), in platform_msi_alloc_descs_with_irq()
145 list_add_tail(&desc->list, dev_to_msi_list(dev)); in platform_msi_alloc_descs_with_irq()
215 if (!list_empty(dev_to_msi_list(dev))) in platform_msi_alloc_priv_data()
286 if (!list_empty(dev_to_msi_list(dev))) { in platform_msi_domain_free_irqs()
/kernel/linux/linux-5.10/drivers/bus/fsl-mc/
Dfsl-mc-msi.c217 list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) { in fsl_mc_msi_free_descs()
240 list_add_tail(&msi_desc->list, dev_to_msi_list(dev)); in fsl_mc_msi_alloc_descs()
256 if (!list_empty(dev_to_msi_list(dev))) in fsl_mc_msi_domain_alloc_irqs()
297 if (list_empty(dev_to_msi_list(dev))) in fsl_mc_msi_domain_free_irqs()
/kernel/linux/linux-5.10/include/linux/
Dmsi.h135 #define dev_to_msi_list(dev) (&(dev)->msi_list) macro
137 list_first_entry(dev_to_msi_list((dev)), struct msi_desc, list)
139 list_for_each_entry((desc), dev_to_msi_list((dev)), list)
141 list_for_each_entry_safe((desc), (tmp), dev_to_msi_list((dev)), list)
/kernel/linux/linux-5.10/drivers/soc/ti/
Dti_sci_inta_msi.c67 list_for_each_entry_safe(desc, tmp, dev_to_msi_list(dev), list) { in ti_sci_inta_msi_free_descs()
89 list_add_tail(&msi_desc->list, dev_to_msi_list(dev)); in ti_sci_inta_msi_alloc_descs()
/kernel/linux/linux-5.10/drivers/pci/
Dmsi.c388 struct list_head *msi_list = dev_to_msi_list(&dev->dev); in free_msi_irqs()
462 BUG_ON(list_empty(dev_to_msi_list(&dev->dev))); in __pci_restore_msix_state()
665 list_add_tail(&entry->list, dev_to_msi_list(&dev->dev)); in msi_capability_init()
762 list_add_tail(&entry->list, dev_to_msi_list(&dev->dev)); in msix_setup_entries()
969 BUG_ON(list_empty(dev_to_msi_list(&dev->dev))); in pci_msi_shutdown()