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()
194 trigger = eventfd_ctx_fdget(fd); in vfio_set_trigger()
195 if (IS_ERR(trigger)) { in vfio_set_trigger()
197 return PTR_ERR(trigger); in vfio_set_trigger()
200 irq->trigger = trigger; in vfio_set_trigger()
206 eventfd_ctx_put(trigger); in vfio_set_trigger()
207 irq->trigger = NULL; in vfio_set_trigger()
246 uint8_t trigger = *(uint8_t *)data; in vfio_platform_set_irq_trigger() local
248 if (trigger) in vfio_platform_set_irq_trigger()