Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/comedi/drivers/
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-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/include/video/
Dudlfb.h29 struct semaphore limit_sem; member
/linux-6.12.1/drivers/video/fbdev/
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()
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()