Lines Matching refs:trigger
158 eventfd_signal(irq_ctx->trigger, 1); in vfio_automasked_irq_handler()
167 eventfd_signal(irq_ctx->trigger, 1); in vfio_irq_handler()
176 struct eventfd_ctx *trigger; in vfio_set_trigger() local
179 if (irq->trigger) { in vfio_set_trigger()
183 eventfd_ctx_put(irq->trigger); in vfio_set_trigger()
184 irq->trigger = NULL; in vfio_set_trigger()
195 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger()
196 if (IS_ERR(trigger)) { in vfio_set_trigger()
198 return PTR_ERR(trigger); in vfio_set_trigger()
201 irq->trigger = trigger; in vfio_set_trigger()
207 eventfd_ctx_put(trigger); in vfio_set_trigger()
208 irq->trigger = NULL; in vfio_set_trigger()
247 uint8_t trigger = *(uint8_t *)data; in vfio_platform_set_irq_trigger() local
249 if (trigger) in vfio_platform_set_irq_trigger()