Searched refs:evdevfd (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/contrib/vhost-user-input/ |
H A D | main.c | 29 int evdevfd; member 90 int fd = vi->evdevfd; in vi_evdev_watch() 131 rc = write(vi->evdevfd, &evdev, sizeof(evdev)); in vi_handle_status() 187 vi->evsrc = vug_source_new(&vi->dev, vi->evdevfd, in vi_queue_set_started() 255 rc = ioctl(vi->evdevfd, EVIOCGBIT(type, count / 8), bits.u.bitmap); in vi_bits_config() 331 vi.evdevfd = open(opt_evdev, O_RDWR); in main() 332 if (vi.evdevfd < 0) { in main() 337 rc = ioctl(vi.evdevfd, EVIOCGVERSION, &ver); in main() 344 rc = ioctl(vi.evdevfd, EVIOCGRAB, 1); in main() 353 if (ioctl(vi.evdevfd, EVIOCGNAME(sizeof(id.u.string) - 1), in main() [all …]
|
/openbmc/phosphor-fan-presence/presence/ |
H A D | gpio.cpp | 44 currentState(false), evdevfd(open(device.c_str(), O_RDONLY | O_NONBLOCK)), in Gpio() 45 evdev(evdevpp::evdev::newFromFD(evdevfd())), phys(physDevice), pin(physPin) in Gpio() 50 source.emplace(sdeventplus::Event::get_default(), evdevfd(), EPOLLIN, in start()
|
H A D | gpio.hpp | 100 util::FileDescriptor evdevfd; member in phosphor::fan::presence::Gpio
|