Searched refs:vsc_fd (Results 1 – 1 of 1) sorted by relevance
/freebsd/usr.sbin/bhyve/ |
H A D | pci_virtio_input.c | 147 int vsc_fd; member 226 if (write(sc->vsc_fd, &host_event, sizeof(host_event)) == -1) { in pci_vtinput_notify_statusq() 244 if (ioctl(sc->vsc_fd, cmd, sc->vsc_config.u.bitmap) < 0) { in pci_vtinput_get_bitmap() 262 if (ioctl(sc->vsc_fd, EVIOCGNAME(sizeof(name) - 1), name) < 0) { in pci_vtinput_read_config_id_name() 285 if (ioctl(sc->vsc_fd, EVIOCGID, &devids)) { in pci_vtinput_read_config_id_devids() 376 if (ioctl(sc->vsc_fd, EVIOCGABS(sc->vsc_config.subsel), &abs) < 0) { in pci_vtinput_read_config_abs_info() 598 while (vtinput_read_event_from_host(sc->vsc_fd, &event) == 0) { in vtinput_read_event() 658 sc->vsc_fd = open(sc->vsc_evdev, O_RDWR | O_NONBLOCK); in pci_vtinput_init() 659 if (sc->vsc_fd < 0) { in pci_vtinput_init() 666 int error = ioctl(sc->vsc_fd, EVIOCGVERSION, &evversion); in pci_vtinput_init() [all …]
|