Lines Matching refs:dvbdmxfilter
306 struct dvb_demux_filter *dvbdmxfilter,
310 if (!dvbdmxfilter->feed->demux->dmx.frontend)
312 if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE)
315 switch (dvbdmxfilter->type) {
319 if (dvbdmxfilter->doneq) {
320 struct dmx_section_filter *filter = &dvbdmxfilter->filter;
326 neq |= dvbdmxfilter->maskandnotmode[i] & xor;
331 return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len,
333 &dvbdmxfilter->filter,
336 if (!(dvbdmxfilter->feed->ts_type & TS_PACKET))
338 if (dvbdmxfilter->feed->ts_type & TS_PAYLOAD_ONLY)
339 return dvbdmxfilter->feed->cb.ts(buffer1, buffer1_len,
341 &dvbdmxfilter->feed->feed.ts,
345 dvbdmxfilter->feed->pid,
346 &av7110->p2t_filter[dvbdmxfilter->index]);
787 static int StartHWFilter(struct dvb_demux_filter *dvbdmxfilter)
789 struct dvb_demux_feed *dvbdmxfeed = dvbdmxfilter->feed;
802 if (dvbdmxfilter->type == DMX_TYPE_SEC) {
804 buf[4] = (dvbdmxfilter->filter.filter_value[0] << 8) |
805 dvbdmxfilter->maskandmode[0];
808 (dvbdmxfilter->filter.filter_value[i] << 8) |
809 dvbdmxfilter->maskandmode[i];
814 av7110_p2t_init(&av7110->p2t_filter[dvbdmxfilter->index], dvbdmxfeed);
828 dvbdmxfilter->hw_handle = 0xffff;
834 av7110->handle2filter[handle] = dvbdmxfilter;
835 dvbdmxfilter->hw_handle = handle;
840 static int StopHWFilter(struct dvb_demux_filter *dvbdmxfilter)
842 struct av7110 *av7110 = dvbdmxfilter->feed->demux->priv;
853 handle = dvbdmxfilter->hw_handle;
856 __func__, handle, dvbdmxfilter->type);
870 answ[0], answ[1], dvbdmxfilter->feed->pid);