Lines Matching refs:vmdirq
150 struct vmd_irq *vmdirq = data->chip_data; in vmd_compose_msi_msg() local
151 struct vmd_irq_list *irq = vmdirq->irq; in vmd_compose_msi_msg()
165 struct vmd_irq *vmdirq = data->chip_data; in vmd_irq_enable() local
169 WARN_ON(vmdirq->enabled); in vmd_irq_enable()
170 list_add_tail_rcu(&vmdirq->node, &vmdirq->irq->irq_list); in vmd_irq_enable()
171 vmdirq->enabled = true; in vmd_irq_enable()
179 struct vmd_irq *vmdirq = data->chip_data; in vmd_irq_disable() local
185 if (vmdirq->enabled) { in vmd_irq_disable()
186 list_del_rcu(&vmdirq->node); in vmd_irq_disable()
187 vmdirq->enabled = false; in vmd_irq_disable()
256 struct vmd_irq *vmdirq = kzalloc(sizeof(*vmdirq), GFP_KERNEL); in vmd_msi_init() local
258 if (!vmdirq) in vmd_msi_init()
261 INIT_LIST_HEAD(&vmdirq->node); in vmd_msi_init()
262 vmdirq->irq = vmd_next_irq(vmd, desc); in vmd_msi_init()
263 vmdirq->virq = virq; in vmd_msi_init()
265 irq_domain_set_info(domain, virq, vmdirq->irq->virq, info->chip, vmdirq, in vmd_msi_init()
273 struct vmd_irq *vmdirq = irq_get_chip_data(virq); in vmd_msi_free() local
276 synchronize_srcu(&vmdirq->irq->srcu); in vmd_msi_free()
280 vmdirq->irq->count--; in vmd_msi_free()
283 kfree(vmdirq); in vmd_msi_free()
650 struct vmd_irq *vmdirq; in vmd_irq() local
654 list_for_each_entry_rcu(vmdirq, &irqs->irq_list, node) in vmd_irq()
655 generic_handle_irq(vmdirq->virq); in vmd_irq()