Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/comedi/drivers/
Dusbduxsigma.c167 struct mutex mut; member
193 mutex_lock(&devpriv->mut); in usbduxsigma_ai_cancel()
196 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_cancel()
319 mutex_lock(&devpriv->mut); in usbduxsigma_ao_cancel()
322 mutex_unlock(&devpriv->mut); in usbduxsigma_ao_cancel()
603 mutex_lock(&devpriv->mut); in usbduxsigma_ai_inttrig()
610 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_inttrig()
615 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_inttrig()
632 mutex_lock(&devpriv->mut); in usbduxsigma_ai_cmd()
667 mutex_unlock(&devpriv->mut); in usbduxsigma_ai_cmd()
[all …]
Dusbduxfast.c154 struct mutex mut; member
215 mutex_lock(&devpriv->mut); in usbduxfast_ai_cancel()
217 mutex_unlock(&devpriv->mut); in usbduxfast_ai_cancel()
438 mutex_lock(&devpriv->mut); in usbduxfast_ai_inttrig()
446 mutex_unlock(&devpriv->mut); in usbduxfast_ai_inttrig()
453 mutex_unlock(&devpriv->mut); in usbduxfast_ai_inttrig()
466 mutex_lock(&devpriv->mut); in usbduxfast_ai_cmd()
745 mutex_unlock(&devpriv->mut); in usbduxfast_ai_cmd()
766 mutex_lock(&devpriv->mut); in usbduxfast_ai_insn_read()
771 mutex_unlock(&devpriv->mut); in usbduxfast_ai_insn_read()
[all …]
Dusbdux.c204 struct mutex mut; member
231 mutex_lock(&devpriv->mut); in usbdux_ai_cancel()
234 mutex_unlock(&devpriv->mut); in usbdux_ai_cancel()
359 mutex_lock(&devpriv->mut); in usbdux_ao_cancel()
362 mutex_unlock(&devpriv->mut); in usbdux_ao_cancel()
640 mutex_lock(&devpriv->mut); in usbdux_ai_inttrig()
656 mutex_unlock(&devpriv->mut); in usbdux_ai_inttrig()
669 mutex_lock(&devpriv->mut); in usbdux_ai_cmd()
730 mutex_unlock(&devpriv->mut); in usbdux_ai_cmd()
748 mutex_lock(&devpriv->mut); in usbdux_ai_insn_read()
[all …]
Ddt9812.c227 struct mutex mut; member
329 mutex_lock(&devpriv->mut); in dt9812_digital_in()
339 mutex_unlock(&devpriv->mut); in dt9812_digital_in()
351 mutex_lock(&devpriv->mut); in dt9812_digital_out()
353 mutex_unlock(&devpriv->mut); in dt9812_digital_out()
438 mutex_lock(&devpriv->mut); in dt9812_analog_in()
487 mutex_unlock(&devpriv->mut); in dt9812_analog_in()
498 mutex_lock(&devpriv->mut); in dt9812_analog_out()
537 mutex_unlock(&devpriv->mut); in dt9812_analog_out()
600 mutex_lock(&devpriv->mut); in dt9812_ao_insn_read()
[all …]
Dni_usb6501.c160 struct mutex mut; member
177 mutex_lock(&devpriv->mut); in ni6501_port_command()
242 mutex_unlock(&devpriv->mut); in ni6501_port_command()
259 mutex_lock(&devpriv->mut); in ni6501_counter_command()
332 mutex_unlock(&devpriv->mut); in ni6501_counter_command()
519 mutex_init(&devpriv->mut); in ni6501_auto_attach()
565 mutex_destroy(&devpriv->mut); in ni6501_detach()
/Linux-v5.4/drivers/infiniband/core/
Ducma.c77 struct mutex mut; member
349 mutex_lock(&ctx->file->mut); in ucma_event_handler()
389 mutex_unlock(&ctx->file->mut); in ucma_event_handler()
411 mutex_lock(&file->mut); in ucma_get_event()
413 mutex_unlock(&file->mut); in ucma_get_event()
422 mutex_lock(&file->mut); in ucma_get_event()
452 mutex_unlock(&file->mut); in ucma_get_event()
494 mutex_lock(&file->mut); in ucma_create_id()
496 mutex_unlock(&file->mut); in ucma_create_id()
522 mutex_lock(&file->mut); in ucma_create_id()
[all …]
/Linux-v5.4/drivers/usb/class/
Dusblp.c134 struct mutex mut; member
351 mutex_lock(&usblp->mut); in usblp_check_status()
353 mutex_unlock(&usblp->mut); in usblp_check_status()
360 mutex_unlock(&usblp->mut); in usblp_check_status()
502 mutex_lock(&usblp->mut); in usblp_ioctl()
689 mutex_unlock(&usblp->mut); in usblp_ioctl()
854 mutex_unlock(&usblp->mut); in usblp_read()
877 if (mutex_lock_interruptible(&usblp->mut)) { in usblp_wwait()
883 mutex_unlock(&usblp->mut); in usblp_wwait()
896 mutex_lock(&usblp->mut); in usblp_wwait()
[all …]