Home
last modified time | relevance | path

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

/drivers/media/pci/cx18/
Dcx18-fileops.c596 mutex_lock(&cx->serialize_lock); in cx18_v4l2_read()
598 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_read()
625 mutex_lock(&cx->serialize_lock); in cx18_v4l2_enc_poll()
627 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_enc_poll()
675 mutex_lock(&cx->serialize_lock); in cx18_v4l2_mmap()
677 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_mmap()
763 mutex_lock(&cx->serialize_lock); in cx18_v4l2_close()
792 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_close()
852 mutex_lock(&cx->serialize_lock); in cx18_v4l2_open()
856 mutex_unlock(&cx->serialize_lock); in cx18_v4l2_open()
[all …]
Dcx18-alsa.h42 mutex_lock(&cx->serialize_lock); in snd_cx18_lock()
48 mutex_unlock(&cx->serialize_lock); in snd_cx18_unlock()
Dcx18-dvb.c265 mutex_lock(&cx->serialize_lock); in cx18_dvb_start_feed()
267 mutex_unlock(&cx->serialize_lock); in cx18_dvb_start_feed()
303 mutex_lock(&cx->serialize_lock); in cx18_dvb_start_feed()
312 mutex_unlock(&cx->serialize_lock); in cx18_dvb_start_feed()
336 mutex_lock(&cx->serialize_lock); in cx18_dvb_stop_feed()
338 mutex_unlock(&cx->serialize_lock); in cx18_dvb_stop_feed()
Dcx18-streams.c303 s, &cx->serialize_lock); in cx18_stream_init()
381 s->video_dev.lock = &cx->serialize_lock; in cx18_prep_dev()
Dcx18-driver.h609 …struct mutex serialize_lock; /* mutex used to serialize open/close/start/stop/ioctl operations … member
Dcx18-driver.c734 mutex_init(&cx->serialize_lock); in cx18_init_struct1()
/drivers/media/pci/ivtv/
Divtv-fileops.c273 mutex_unlock(&itv->serialize_lock); in ivtv_get_buffer()
279 mutex_lock(&itv->serialize_lock); in ivtv_get_buffer()
514 if (mutex_lock_interruptible(&itv->serialize_lock)) in ivtv_v4l2_read()
519 mutex_unlock(&itv->serialize_lock); in ivtv_v4l2_read()
633 mutex_unlock(&itv->serialize_lock); in ivtv_write()
639 mutex_lock(&itv->serialize_lock); in ivtv_write()
694 mutex_unlock(&itv->serialize_lock); in ivtv_write()
701 mutex_lock(&itv->serialize_lock); in ivtv_write()
726 if (mutex_lock_interruptible(&itv->serialize_lock)) in ivtv_v4l2_write()
729 mutex_unlock(&itv->serialize_lock); in ivtv_v4l2_write()
[all …]
Divtv-alsa.h43 mutex_lock(&itv->serialize_lock); in snd_ivtv_lock()
49 mutex_unlock(&itv->serialize_lock); in snd_ivtv_unlock()
Divtv-yuv.c1162 mutex_unlock(&itv->serialize_lock); in ivtv_yuv_udma_stream_frame()
1164 mutex_lock(&itv->serialize_lock); in ivtv_yuv_udma_stream_frame()
1179 mutex_unlock(&itv->serialize_lock); in ivtv_yuv_prep_frame()
1181 mutex_lock(&itv->serialize_lock); in ivtv_yuv_prep_frame()
1191 mutex_unlock(&itv->serialize_lock); in ivtv_yuv_close()
1193 mutex_lock(&itv->serialize_lock); in ivtv_yuv_close()
Divtv-ioctl.c178 mutex_unlock(&itv->serialize_lock); in ivtv_set_speed()
188 mutex_lock(&itv->serialize_lock); in ivtv_set_speed()
1148 mutex_unlock(&itv->serialize_lock); in ivtv_s_std_dec()
1157 mutex_lock(&itv->serialize_lock); in ivtv_s_std_dec()
1771 mutex_unlock(&itv->serialize_lock); in ivtv_decoder_ioctls()
1777 mutex_lock(&itv->serialize_lock); in ivtv_decoder_ioctls()
Divtvfb.c1106 mutex_lock(&itv->serialize_lock); in ivtvfb_init_io()
1108 mutex_unlock(&itv->serialize_lock); in ivtvfb_init_io()
1112 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.c233 s->vdev.lock = &itv->serialize_lock; in ivtv_prep_dev()
Divtv-driver.c746 mutex_init(&itv->serialize_lock); in ivtv_init_struct1()
/drivers/media/usb/go7007/
Dgo7007-priv.h185 struct mutex serialize_lock; member
Dgo7007-usb.c1329 mutex_lock(&go->serialize_lock); in go7007_usb_disconnect()
1337 mutex_unlock(&go->serialize_lock); in go7007_usb_disconnect()
Dgo7007-v4l2.c1109 mutex_init(&go->serialize_lock); in go7007_v4l2_init()
1125 vdev->lock = &go->serialize_lock; in go7007_v4l2_init()