Home
last modified time | relevance | path

Searched refs:limit_sem (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/comedi/drivers/
H A Dvmk80xx.c148 struct semaphore limit_sem; member
244 down(&devpriv->limit_sem); in vmk80xx_ai_insn_read()
277 up(&devpriv->limit_sem); in vmk80xx_ai_insn_read()
293 down(&devpriv->limit_sem); in vmk80xx_ao_insn_write()
318 up(&devpriv->limit_sem); in vmk80xx_ao_insn_write()
333 down(&devpriv->limit_sem); in vmk80xx_ao_insn_read()
347 up(&devpriv->limit_sem); in vmk80xx_ao_insn_read()
362 down(&devpriv->limit_sem); in vmk80xx_di_insn_bits()
386 up(&devpriv->limit_sem); in vmk80xx_di_insn_bits()
410 down(&devpriv->limit_sem); in vmk80xx_do_insn_bits()
[all …]
/linux/drivers/usb/misc/
H A Dusblcd.c52 struct semaphore limit_sem; /* to stop writes at member
214 up(&dev->limit_sem); in lcd_write_bulk_callback()
231 r = down_interruptible(&dev->limit_sem); in lcd_write()
293 up(&dev->limit_sem); in lcd_write()
331 sema_init(&dev->limit_sem, USB_LCD_CONCURRENT_WRITES); in lcd_probe()
/linux/drivers/usb/
H A Dusb-skeleton.c50 struct semaphore limit_sem; /* limiting the number of writes in progress */ member
356 up(&dev->limit_sem); in skel_write_bulk_callback()
379 if (down_interruptible(&dev->limit_sem)) { in skel_write()
384 if (down_trylock(&dev->limit_sem)) { in skel_write()
462 up(&dev->limit_sem); in skel_write()
501 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()
/linux/include/video/
H A Dudlfb.h29 struct semaphore limit_sem; member
/linux/drivers/video/fbdev/
H A Dsmscufx.c86 struct semaphore limit_sem; member
1086 up(&unode->dev->urbs.limit_sem); in ufx_release_urb_work()
1798 up(&dev->urbs.limit_sem); in ufx_urb_completion()
1815 ret = down_interruptible(&dev->urbs.limit_sem); in ufx_free_urb_list()
1883 sema_init(&dev->urbs.limit_sem, i); in ufx_alloc_urb_list()
1901 ret = down_timeout(&dev->urbs.limit_sem, GET_URB_TIMEOUT); in ufx_get_urb()
H A Dudlfb.c1803 up(&dlfb->urbs.limit_sem); in dlfb_urb_completion()
1815 down(&dlfb->urbs.limit_sem); in dlfb_free_urb_list()
1850 sema_init(&dlfb->urbs.limit_sem, 0); in dlfb_alloc_urb_list()
1888 up(&dlfb->urbs.limit_sem); in dlfb_alloc_urb_list()
1903 ret = down_timeout(&dlfb->urbs.limit_sem, GET_URB_TIMEOUT); in dlfb_get_urb()
/linux/drivers/staging/gpib/lpvo_usb_gpib/
H A Dlpvo_usb_gpib.c1328 struct semaphore limit_sem; /* limiting the number of writes in progress */ member
1681 up(&dev->limit_sem); in skel_write_bulk_callback()
1706 if (down_interruptible(&dev->limit_sem)) { in skel_do_write()
1785 up(&dev->limit_sem); in skel_do_write()
1976 sema_init(&dev->limit_sem, WRITES_IN_FLIGHT); in skel_probe()