Home
last modified time | relevance | path

Searched refs:dev_poll (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libusb/
H A Dlibusb10.c575 libusb10_add_pollfd(ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN | in libusb_open()
640 libusb10_remove_pollfd(ctx, &dev->dev_poll); in libusb_close()
714 libusb10_remove_pollfd(dev->ctx, &dev->dev_poll); in libusb_set_configuration()
718 libusb10_add_pollfd(dev->ctx, &dev->dev_poll, pdev, libusb20_dev_get_fd(pdev), POLLIN | in libusb_set_configuration()
803 libusb10_remove_pollfd(dev->ctx, &dev->dev_poll); in libusb_set_interface_alt_setting()
808 libusb10_add_pollfd(dev->ctx, &dev->dev_poll, in libusb_set_interface_alt_setting()
875 libusb10_remove_pollfd(dev->ctx, &dev->dev_poll); in libusb_reset_device()
879 libusb10_add_pollfd(dev->ctx, &dev->dev_poll, in libusb_reset_device()
H A Dlibusb10.h126 struct libusb_super_pollfd dev_poll; member
H A Dlibusb10_io.c179 libusb10_remove_pollfd(dev->ctx, &dev->dev_poll); in libusb10_handle_events_sub()
/freebsd/contrib/ofed/libibumad/
H A Dumad.c830 static int dev_poll(int fd, int timeout_ms) in dev_poll() function
860 if (timeout_ms && (n = dev_poll(fd, timeout_ms)) < 0) { in umad_recv()
897 return dev_poll(fd, timeout_ms); in umad_poll()