Home
last modified time | relevance | path

Searched refs:usb_mutex (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/drivers/media/usb/dvb-usb/
Ddib0700_core.c27 if (mutex_lock_interruptible(&d->usb_mutex) < 0) { in dib0700_get_version()
48 mutex_unlock(&d->usb_mutex); in dib0700_get_version()
113 if (mutex_lock_interruptible(&d->usb_mutex) < 0) { in dib0700_set_gpio()
124 mutex_unlock(&d->usb_mutex); in dib0700_set_gpio()
134 if (mutex_lock_interruptible(&d->usb_mutex) < 0) { in dib0700_set_usb_xfer_len()
146 mutex_unlock(&d->usb_mutex); in dib0700_set_usb_xfer_len()
232 if (mutex_lock_interruptible(&d->usb_mutex) < 0) { in dib0700_i2c_xfer_new()
248 mutex_unlock(&d->usb_mutex); in dib0700_i2c_xfer_new()
265 mutex_unlock(&d->usb_mutex); in dib0700_i2c_xfer_new()
291 if (mutex_lock_interruptible(&d->usb_mutex) < 0) { in dib0700_i2c_xfer_legacy()
[all …]
Dvp702x.c60 mutex_lock(&d->usb_mutex); in vp702x_usb_in_op()
62 mutex_unlock(&d->usb_mutex); in vp702x_usb_in_op()
91 mutex_lock(&d->usb_mutex); in vp702x_usb_out_op()
93 mutex_unlock(&d->usb_mutex); in vp702x_usb_out_op()
102 if ((ret = mutex_lock_interruptible(&d->usb_mutex))) in vp702x_usb_inout_op()
109 mutex_unlock(&d->usb_mutex); in vp702x_usb_inout_op()
Dgp8psk.c38 if ((ret = mutex_lock_interruptible(&d->usb_mutex))) in gp8psk_usb_in_op()
63 mutex_unlock(&d->usb_mutex); in gp8psk_usb_in_op()
80 if ((ret = mutex_lock_interruptible(&d->usb_mutex))) in gp8psk_usb_out_op()
94 mutex_unlock(&d->usb_mutex); in gp8psk_usb_out_op()
Ddvb-usb-urb.c25 if ((ret = mutex_lock_interruptible(&d->usb_mutex))) in dvb_usb_generic_rw()
59 mutex_unlock(&d->usb_mutex); in dvb_usb_generic_rw()
Dvp7045.c38 ret = mutex_lock_interruptible(&d->usb_mutex); in vp7045_usb_op()
76 mutex_unlock(&d->usb_mutex); in vp7045_usb_op()
Daz6027.c302 if (mutex_lock_interruptible(&d->usb_mutex)) in az6027_usb_in_op()
324 mutex_unlock(&d->usb_mutex); in az6027_usb_in_op()
340 if (mutex_lock_interruptible(&d->usb_mutex)) in az6027_usb_out_op()
355 mutex_unlock(&d->usb_mutex); in az6027_usb_out_op()
358 mutex_unlock(&d->usb_mutex); in az6027_usb_out_op()
Dopera1.c99 if (mutex_lock_interruptible(&dev->usb_mutex) < 0) in opera1_usb_i2c_msgxfer()
127 mutex_unlock(&dev->usb_mutex); in opera1_usb_i2c_msgxfer()
Ddvb-usb.h479 struct mutex usb_mutex; member
Ddvb-usb-init.c161 mutex_init(&d->usb_mutex); in dvb_usb_init()
/Linux-v6.6/drivers/media/usb/dvb-usb-v2/
Ddvb_usb_urb.c65 mutex_lock(&d->usb_mutex); in dvb_usbv2_generic_rw()
67 mutex_unlock(&d->usb_mutex); in dvb_usbv2_generic_rw()
77 mutex_lock(&d->usb_mutex); in dvb_usbv2_generic_write()
79 mutex_unlock(&d->usb_mutex); in dvb_usbv2_generic_write()
Dzd1301.c32 mutex_lock(&d->usb_mutex); in zd1301_ctrl_msg()
81 mutex_unlock(&d->usb_mutex); in zd1301_ctrl_msg()
Dgl861.c39 mutex_lock(&d->usb_mutex); in gl861_ctrl_msg()
71 mutex_unlock(&d->usb_mutex); in gl861_ctrl_msg()
76 mutex_unlock(&d->usb_mutex); in gl861_ctrl_msg()
Ddvbsky.c45 mutex_lock(&d->usb_mutex); in dvbsky_usb_generic_rw()
55 mutex_unlock(&d->usb_mutex); in dvbsky_usb_generic_rw()
66 mutex_lock(&d->usb_mutex); in dvbsky_stream_ctrl()
74 mutex_unlock(&d->usb_mutex); in dvbsky_stream_ctrl()
Ddvb_usb.h386 struct mutex usb_mutex; member
Danysee.c42 mutex_lock(&d->usb_mutex); in anysee_ctrl_msg()
100 mutex_unlock(&d->usb_mutex); in anysee_ctrl_msg()
Dlmedm04.c149 ret = mutex_lock_interruptible(&d->usb_mutex); in lme2510_usb_talk()
161 mutex_unlock(&d->usb_mutex); in lme2510_usb_talk()
Drtl28xxu.c24 mutex_lock(&d->usb_mutex); in rtl28xxu_ctrl_msg()
63 mutex_unlock(&d->usb_mutex); in rtl28xxu_ctrl_msg()
67 mutex_unlock(&d->usb_mutex); in rtl28xxu_ctrl_msg()
Daf9015.c26 mutex_lock(&d->usb_mutex); in af9015_ctrl_msg()
108 mutex_unlock(&d->usb_mutex); in af9015_ctrl_msg()
Daf9035.c43 mutex_lock(&d->usb_mutex); in af9035_ctrl_msg()
109 mutex_unlock(&d->usb_mutex); in af9035_ctrl_msg()
Ddvb_usb_core.c926 mutex_init(&d->usb_mutex); in dvb_usbv2_probe()
/Linux-v6.6/sound/usb/
Dmixer_s1810c.c130 struct mutex usb_mutex; member
343 mutex_lock(&private->usb_mutex); in snd_s1810c_get_switch_state()
351 mutex_unlock(&private->usb_mutex); in snd_s1810c_get_switch_state()
371 mutex_lock(&private->usb_mutex); in snd_s1810c_set_switch_state()
373 mutex_unlock(&private->usb_mutex); in snd_s1810c_set_switch_state()
571 mutex_init(&private->usb_mutex); in snd_sc1810_init_mixer()
Dmixer_scarlett_gen2.c388 struct mutex usb_mutex; /* prevent sending concurrent USB requests */ member
1205 mutex_lock(&private->usb_mutex); in scarlett2_usb()
1271 mutex_unlock(&private->usb_mutex); in scarlett2_usb()
3744 mutex_init(&private->usb_mutex); in scarlett2_init_private()
/Linux-v6.6/drivers/media/usb/ttusb-dec/
Dttusb_dec.c114 struct mutex usb_mutex; member
327 result = mutex_lock_interruptible(&dec->usb_mutex); in ttusb_dec_send_command()
375 mutex_unlock(&dec->usb_mutex); in ttusb_dec_send_command()
1263 mutex_init(&dec->usb_mutex); in ttusb_dec_init_usb()