Lines Matching refs:event

130 	struct vtinput_event event;  member
201 struct vtinput_event event; in pci_vtinput_notify_statusq() local
202 memcpy(&event, iov.iov_base, sizeof(event)); in pci_vtinput_notify_statusq()
215 if (event.type == EV_MSC) { in pci_vtinput_notify_statusq()
216 vq_relchain(vq, req.idx, sizeof(event)); in pci_vtinput_notify_statusq()
222 host_event.type = event.type; in pci_vtinput_notify_statusq()
223 host_event.code = event.code; in pci_vtinput_notify_statusq()
224 host_event.value = event.value; in pci_vtinput_notify_statusq()
232 vq_relchain(vq, req.idx, sizeof(event)); in pci_vtinput_notify_statusq()
488 struct vtinput_event *event = &queue->events[queue->idx].event; in vtinput_eventqueue_add_event() local
489 event->type = e->type; in vtinput_eventqueue_add_event()
490 event->code = e->code; in vtinput_eventqueue_add_event()
491 event->value = e->value; in vtinput_eventqueue_add_event()
560 struct vtinput_event_elem event = queue->events[i]; in vtinput_eventqueue_send_events() local
561 memcpy(event.iov.iov_base, &event.event, in vtinput_eventqueue_send_events()
563 vq_relchain(vq, event.idx, sizeof(struct vtinput_event)); in vtinput_eventqueue_send_events()
572 vtinput_read_event_from_host(int fd, struct input_event *event) in vtinput_read_event_from_host() argument
574 const int len = read(fd, event, sizeof(struct input_event)); in vtinput_read_event_from_host()
599 struct input_event event; in vtinput_read_event() local
600 while (vtinput_read_event_from_host(sc->vsc_fd, &event) == 0) { in vtinput_read_event()
602 vtinput_eventqueue_add_event(&sc->vsc_eventqueue, &event); in vtinput_read_event()
605 if (event.type != EV_SYN || event.type != SYN_REPORT) { in vtinput_read_event()