Home
last modified time | relevance | path

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

/drivers/staging/comedi/drivers/
Dvmk80xx.c149 struct semaphore limit_sem; member
245 down(&devpriv->limit_sem); in vmk80xx_ai_insn_read()
278 up(&devpriv->limit_sem); in vmk80xx_ai_insn_read()
294 down(&devpriv->limit_sem); in vmk80xx_ao_insn_write()
319 up(&devpriv->limit_sem); in vmk80xx_ao_insn_write()
334 down(&devpriv->limit_sem); in vmk80xx_ao_insn_read()
348 up(&devpriv->limit_sem); in vmk80xx_ao_insn_read()
363 down(&devpriv->limit_sem); in vmk80xx_di_insn_bits()
387 up(&devpriv->limit_sem); in vmk80xx_di_insn_bits()
411 down(&devpriv->limit_sem); in vmk80xx_do_insn_bits()
[all …]
/drivers/gpu/drm/udl/
Dudl_main.c127 up(&unode->dev->urbs.limit_sem); in udl_release_urb_work()
162 up(&udl->urbs.limit_sem); in udl_urb_completion()
177 down(&udl->urbs.limit_sem); in udl_free_urb_list()
212 sema_init(&udl->urbs.limit_sem, 0); in udl_alloc_urb_list()
252 up(&udl->urbs.limit_sem); in udl_alloc_urb_list()
271 ret = down_timeout(&udl->urbs.limit_sem, GET_URB_TIMEOUT); in udl_get_urb()
Dudl_drv.h44 struct semaphore limit_sem; member
/drivers/usb/misc/
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()
/drivers/usb/
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()
/drivers/video/fbdev/
Dsmscufx.c86 struct semaphore limit_sem; member
1141 up(&unode->dev->urbs.limit_sem); in ufx_release_urb_work()
1836 up(&dev->urbs.limit_sem); in ufx_urb_completion()
1853 ret = down_interruptible(&dev->urbs.limit_sem); in ufx_free_urb_list()
1921 sema_init(&dev->urbs.limit_sem, i); in ufx_alloc_urb_list()
1939 ret = down_timeout(&dev->urbs.limit_sem, GET_URB_TIMEOUT); in ufx_get_urb()
Dudlfb.c1853 up(&dlfb->urbs.limit_sem); in dlfb_urb_completion()
1865 down(&dlfb->urbs.limit_sem); in dlfb_free_urb_list()
1900 sema_init(&dlfb->urbs.limit_sem, 0); in dlfb_alloc_urb_list()
1938 up(&dlfb->urbs.limit_sem); in dlfb_alloc_urb_list()
1953 ret = down_timeout(&dlfb->urbs.limit_sem, GET_URB_TIMEOUT); in dlfb_get_urb()