Lines Matching refs:pid_filt

100 	struct netup_hw_pid_filter *pid_filt[2];
163 if ((temp_int->pid_filt[filt_nr]) == NULL)
166 if (temp_int->pid_filt[filt_nr]->demux == demux_dev)
457 struct netup_hw_pid_filter *pid_filt = NULL;
462 pid_filt = temp_int->internal->pid_filt[filt_nr - 1];
464 pid_filt->demux->start_feed = pid_filt->start_feed;
465 pid_filt->demux->stop_feed = pid_filt->stop_feed;
473 kfree(pid_filt->internal);
476 kfree(pid_filt);
514 static void altera_pid_control(struct netup_hw_pid_filter *pid_filt,
517 struct fpga_internal *inter = pid_filt->internal;
528 ((pid >> 11) & 0x03) | (pid_filt->nr << 2), 0);
542 pid_filt->nr, pid, pid, onoff ? "off" : "on");
545 static void altera_toggle_fullts_streaming(struct netup_hw_pid_filter *pid_filt,
548 struct fpga_internal *inter = pid_filt->internal;
552 pid_dbg_print("%s: pid_filt->nr[%d] now %s\n", __func__, pid_filt->nr,
566 ((i >> 8) & 0x03) | (pid_filt->nr << 2), 0);
580 struct netup_hw_pid_filter *pid_filt = inter->pid_filt[filt_nr - 1];
582 altera_pid_control(pid_filt, feed->pid, onoff ? 0 : 1);
585 pid_filt->start_feed(feed);
587 pid_filt->stop_feed(feed);
590 altera_toggle_fullts_streaming(pid_filt, filt_nr,
632 struct netup_hw_pid_filter *pid_filt = NULL;
637 pid_filt = kzalloc(sizeof(struct netup_hw_pid_filter), GFP_KERNEL);
641 if (!pid_filt) {
671 pid_filt, hw_filt_nr - 1);
672 inter->pid_filt[hw_filt_nr - 1] = pid_filt;
673 pid_filt->demux = config->demux;
674 pid_filt->internal = inter;
675 pid_filt->nr = hw_filt_nr - 1;
677 pid_filt->start_feed = config->demux->start_feed;
678 pid_filt->stop_feed = config->demux->stop_feed;
681 pid_filt->demux->start_feed = altera_ci_start_feed_1;
682 pid_filt->demux->stop_feed = altera_ci_stop_feed_1;
684 pid_filt->demux->start_feed = altera_ci_start_feed_2;
685 pid_filt->demux->stop_feed = altera_ci_stop_feed_2;
688 altera_toggle_fullts_streaming(pid_filt, 0, 1);
695 kfree(pid_filt);