Home
last modified time | relevance | path

Searched refs:serialize_lock (Results 1 – 17 of 17) sorted by relevance

/drivers/media/pci/cx18/
Dcx18-fileops.c581 mutex_lock(&cx->serialize_lock); in cx18_v4l2_read()
583 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_read()
610 mutex_lock(&cx->serialize_lock); in cx18_v4l2_enc_poll()
612 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_enc_poll()
660 mutex_lock(&cx->serialize_lock); in cx18_v4l2_mmap()
662 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_mmap()
747 mutex_lock(&cx->serialize_lock); in cx18_v4l2_close()
776 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_close()
836 mutex_lock(&cx->serialize_lock); in cx18_v4l2_open()
840 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_open()
[all …]
Dcx18-alsa.h28 mutex_lock(&cx->serialize_lock); in snd_cx18_lock()
34 mutex_unlock(&cx->serialize_lock); in snd_cx18_unlock()
Dcx18-dvb.c249 mutex_lock(&cx->serialize_lock); in cx18_dvb_start_feed()
251 mutex_unlock(&cx->serialize_lock); in cx18_dvb_start_feed()
287 mutex_lock(&cx->serialize_lock); in cx18_dvb_start_feed()
296 mutex_unlock(&cx->serialize_lock); in cx18_dvb_start_feed()
320 mutex_lock(&cx->serialize_lock); in cx18_dvb_stop_feed()
322 mutex_unlock(&cx->serialize_lock); in cx18_dvb_stop_feed()
Dcx18-streams.c287 s, &cx->serialize_lock); in cx18_stream_init()
365 s->video_dev.lock = &cx->serialize_lock; in cx18_prep_dev()
Dcx18-driver.h595 …struct mutex serialize_lock; /* mutex used to serialize open/close/start/stop/ioctl operations … member
Dcx18-driver.c720 mutex_init(&cx->serialize_lock); in cx18_init_struct1()
/drivers/media/pci/ivtv/
Divtv-fileops.c261 mutex_unlock(&itv->serialize_lock); in ivtv_get_buffer()
267 mutex_lock(&itv->serialize_lock); in ivtv_get_buffer()
502 if (mutex_lock_interruptible(&itv->serialize_lock)) in ivtv_v4l2_read()
507 mutex_unlock(&itv->serialize_lock); in ivtv_v4l2_read()
621 mutex_unlock(&itv->serialize_lock); in ivtv_write()
627 mutex_lock(&itv->serialize_lock); in ivtv_write()
682 mutex_unlock(&itv->serialize_lock); in ivtv_write()
689 mutex_lock(&itv->serialize_lock); in ivtv_write()
714 if (mutex_lock_interruptible(&itv->serialize_lock)) in ivtv_v4l2_write()
717 mutex_unlock(&itv->serialize_lock); in ivtv_v4l2_write()
[all …]
Divtv-alsa.h29 mutex_lock(&itv->serialize_lock); in snd_ivtv_lock()
35 mutex_unlock(&itv->serialize_lock); in snd_ivtv_unlock()
Divtv-yuv.c1144 mutex_unlock(&itv->serialize_lock); in ivtv_yuv_udma_stream_frame()
1146 mutex_lock(&itv->serialize_lock); in ivtv_yuv_udma_stream_frame()
1161 mutex_unlock(&itv->serialize_lock); in ivtv_yuv_prep_frame()
1163 mutex_lock(&itv->serialize_lock); in ivtv_yuv_prep_frame()
1173 mutex_unlock(&itv->serialize_lock); in ivtv_yuv_close()
1175 mutex_lock(&itv->serialize_lock); in ivtv_yuv_close()
Divtv-ioctl.c170 mutex_unlock(&itv->serialize_lock); in ivtv_set_speed()
180 mutex_lock(&itv->serialize_lock); in ivtv_set_speed()
1136 mutex_unlock(&itv->serialize_lock); in ivtv_s_std_dec()
1145 mutex_lock(&itv->serialize_lock); in ivtv_s_std_dec()
1796 mutex_unlock(&itv->serialize_lock); in ivtv_decoder_ioctls()
1802 mutex_lock(&itv->serialize_lock); in ivtv_decoder_ioctls()
Divtvfb.c1090 mutex_lock(&itv->serialize_lock); in ivtvfb_init_io()
1092 mutex_unlock(&itv->serialize_lock); in ivtvfb_init_io()
1096 mutex_unlock(&itv->serialize_lock); in ivtvfb_init_io()
Divtv-driver.h665 …struct mutex serialize_lock; /* mutex used to serialize open/close/start/stop/ioctl operations … member
Divtv-streams.c240 s->vdev.lock = &itv->serialize_lock; in ivtv_prep_dev()
Divtv-driver.c744 mutex_init(&itv->serialize_lock); in ivtv_init_struct1()
/drivers/media/usb/go7007/
Dgo7007-priv.h177 struct mutex serialize_lock; member
Dgo7007-usb.c1331 mutex_lock(&go->serialize_lock); in go7007_usb_disconnect()
1339 mutex_unlock(&go->serialize_lock); in go7007_usb_disconnect()
Dgo7007-v4l2.c1079 mutex_init(&go->serialize_lock); in go7007_v4l2_init()
1095 vdev->lock = &go->serialize_lock; in go7007_v4l2_init()