Searched refs:dev_to_msi_list (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/base/ |
D | platform-msi.c | 113 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/ |
D | fsl-mc-msi.c | 217 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/ |
D | msi.h | 135 #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/ |
D | ti_sci_inta_msi.c | 67 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/ |
D | msi.c | 388 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()
|