Lines Matching refs:dvbdmx
878 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_set() local
883 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_set()
897 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_set()
903 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_set()
932 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_start_filtering() local
935 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dmx_section_feed_start_filtering()
939 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
944 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
953 if (!dvbdmx->start_feed) { in dmx_section_feed_start_filtering()
954 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
960 if ((ret = dvbdmx->start_feed(dvbdmxfeed)) < 0) { in dmx_section_feed_start_filtering()
961 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
965 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_start_filtering()
968 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_start_filtering()
970 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_start_filtering()
977 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_stop_filtering() local
980 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
982 if (!dvbdmx->stop_feed) { in dmx_section_feed_stop_filtering()
983 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
987 ret = dvbdmx->stop_feed(dvbdmxfeed); in dmx_section_feed_stop_filtering()
989 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_stop_filtering()
992 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_stop_filtering()
994 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_stop_filtering()
1003 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dmx_section_feed_release_filter() local
1005 mutex_lock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1008 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1015 spin_lock_irq(&dvbdmx->lock); in dmx_section_feed_release_filter()
1027 spin_unlock_irq(&dvbdmx->lock); in dmx_section_feed_release_filter()
1028 mutex_unlock(&dvbdmx->mutex); in dmx_section_feed_release_filter()
1036 struct dvb_demux *dvbdmx = (struct dvb_demux *)demux; in dvbdmx_allocate_section_feed() local
1039 if (mutex_lock_interruptible(&dvbdmx->mutex)) in dvbdmx_allocate_section_feed()
1042 if (!(dvbdmxfeed = dvb_dmx_feed_alloc(dvbdmx))) { in dvbdmx_allocate_section_feed()
1043 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1049 dvbdmxfeed->demux = dvbdmx; in dvbdmx_allocate_section_feed()
1068 mutex_unlock(&dvbdmx->mutex); in dvbdmx_allocate_section_feed()
1076 struct dvb_demux *dvbdmx = (struct dvb_demux *)demux; in dvbdmx_release_section_feed() local
1078 mutex_lock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1081 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()
1094 mutex_unlock(&dvbdmx->mutex); in dvbdmx_release_section_feed()