Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dvmk80xx.c277 up(&devpriv->limit_sem); in vmk80xx_ai_insn_read()
318 up(&devpriv->limit_sem); in vmk80xx_ao_insn_write()
347 up(&devpriv->limit_sem); in vmk80xx_ao_insn_read()
386 up(&devpriv->limit_sem); in vmk80xx_di_insn_bits()
430 up(&devpriv->limit_sem); in vmk80xx_do_insn_bits()
474 up(&devpriv->limit_sem); in vmk80xx_cnt_insn_read()
511 up(&devpriv->limit_sem); in vmk80xx_cnt_insn_config()
555 up(&devpriv->limit_sem); in vmk80xx_cnt_insn_write()
588 up(&devpriv->limit_sem); in vmk80xx_pwm_insn_read()
634 up(&devpriv->limit_sem); in vmk80xx_pwm_insn_write()
[all …]
/openbmc/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()
/openbmc/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()
/openbmc/linux/include/video/
H A Dudlfb.h29 struct semaphore limit_sem; member
/openbmc/linux/drivers/video/fbdev/
H A Dsmscufx.c86 struct semaphore limit_sem; member
1142 up(&unode->dev->urbs.limit_sem); in ufx_release_urb_work()
1837 up(&dev->urbs.limit_sem); in ufx_urb_completion()
1854 ret = down_interruptible(&dev->urbs.limit_sem); in ufx_free_urb_list()
1922 sema_init(&dev->urbs.limit_sem, i); in ufx_alloc_urb_list()
1940 ret = down_timeout(&dev->urbs.limit_sem, GET_URB_TIMEOUT); in ufx_get_urb()
H A Dudlfb.c1846 up(&dlfb->urbs.limit_sem); in dlfb_urb_completion()
1858 down(&dlfb->urbs.limit_sem); in dlfb_free_urb_list()
1893 sema_init(&dlfb->urbs.limit_sem, 0); in dlfb_alloc_urb_list()
1931 up(&dlfb->urbs.limit_sem); in dlfb_alloc_urb_list()
1946 ret = down_timeout(&dlfb->urbs.limit_sem, GET_URB_TIMEOUT); in dlfb_get_urb()