Lines Matching refs:dvbdmx
901 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_set() local
906 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_set()
915 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_set()
944 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_start_filtering() local
947 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_start_filtering()
951 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
956 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
966 if (!dvbdmx->start_feed) { in dmx_section_feed_start_filtering()
967 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
973 if ((ret = dvbdmx->start_feed(dvbdmxfeed)) < 0) { in dmx_section_feed_start_filtering()
974 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
978 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_start_filtering()
981 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_start_filtering()
983 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
990 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_stop_filtering() local
993 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
995 if (!dvbdmx->stop_feed) { in dmx_section_feed_stop_filtering()
996 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1000 ret = dvbdmx->stop_feed(dvbdmxfeed); in dmx_section_feed_stop_filtering()
1002 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_stop_filtering()
1005 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_stop_filtering()
1007 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1016 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_release_filter() local
1018 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1021 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1028 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1030 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1033 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_release_filter()
1045 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_release_filter()
1046 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1054 struct dvb_demux *dvbdmx = (struct dvb_demux *)demux; in dvbdmx_allocate_section_feed() local
1057 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dvbdmx_allocate_section_feed()
1060 if (!(dvbdmxfeed = dvb_dmx_feed_alloc(dvbdmx))) { in dvbdmx_allocate_section_feed()
1061 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1067 dvbdmxfeed->demux = dvbdmx; in dvbdmx_allocate_section_feed()
1086 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1094 struct dvb_demux *dvbdmx = (struct dvb_demux *)demux; in dvbdmx_release_section_feed() local
1096 mutex_lock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1099 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1108 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()