Lines Matching full:trigger
57 eventfd_signal(mc_irq->trigger); in vfio_fsl_mc_irq_handler()
65 struct eventfd_ctx *trigger; in vfio_set_trigger() local
70 if (irq->trigger) { in vfio_set_trigger()
73 eventfd_ctx_put(irq->trigger); in vfio_set_trigger()
74 irq->trigger = NULL; in vfio_set_trigger()
85 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger()
86 if (IS_ERR(trigger)) { in vfio_set_trigger()
88 return PTR_ERR(trigger); in vfio_set_trigger()
91 irq->trigger = trigger; in vfio_set_trigger()
97 eventfd_ctx_put(trigger); in vfio_set_trigger()
98 irq->trigger = NULL; in vfio_set_trigger()
142 if (irq->trigger) in vfio_fsl_mc_set_irq_trigger()
143 eventfd_signal(irq->trigger); in vfio_fsl_mc_set_irq_trigger()
146 u8 trigger = *(u8 *)data; in vfio_fsl_mc_set_irq_trigger() local
148 if (trigger && irq->trigger) in vfio_fsl_mc_set_irq_trigger()
149 eventfd_signal(irq->trigger); in vfio_fsl_mc_set_irq_trigger()