Lines Matching refs:dvbdmx
911 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_set() local
916 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_set()
925 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_set()
954 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_start_filtering() local
957 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_start_filtering()
961 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
966 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
975 if (!dvbdmx->start_feed) { in dmx_section_feed_start_filtering()
976 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
982 if ((ret = dvbdmx->start_feed(dvbdmxfeed)) < 0) { in dmx_section_feed_start_filtering()
983 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
987 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_start_filtering()
990 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_start_filtering()
992 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
999 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_stop_filtering() local
1002 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1004 if (!dvbdmx->stop_feed) { in dmx_section_feed_stop_filtering()
1005 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1009 ret = dvbdmx->stop_feed(dvbdmxfeed); in dmx_section_feed_stop_filtering()
1011 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_stop_filtering()
1014 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_stop_filtering()
1016 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1025 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_release_filter() local
1027 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1030 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1037 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1039 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1042 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_release_filter()
1054 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_release_filter()
1055 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1063 struct dvb_demux *dvbdmx = (struct dvb_demux *)demux; in dvbdmx_allocate_section_feed() local
1066 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dvbdmx_allocate_section_feed()
1069 if (!(dvbdmxfeed = dvb_dmx_feed_alloc(dvbdmx))) { in dvbdmx_allocate_section_feed()
1070 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1076 dvbdmxfeed->demux = dvbdmx; in dvbdmx_allocate_section_feed()
1095 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1103 struct dvb_demux *dvbdmx = (struct dvb_demux *)demux; in dvbdmx_release_section_feed() local
1105 mutex_lock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1108 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1117 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()