Lines Matching refs:pid_filt

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