• Home
  • Raw
  • Download

Lines Matching refs:feed

389 				  struct dmx_ts_feed *feed,  in dvb_dmxdev_ts_callback()  argument
392 struct dmxdev_filter *dmxdevfilter = feed->priv; in dvb_dmxdev_ts_callback()
425 struct dmxdev_feed *feed; in dvb_dmxdev_feed_stop() local
432 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec); in dvb_dmxdev_feed_stop()
435 list_for_each_entry(feed, &dmxdevfilter->feed.ts, next) in dvb_dmxdev_feed_stop()
436 feed->ts->stop_filtering(feed->ts); in dvb_dmxdev_feed_stop()
447 struct dmxdev_feed *feed; in dvb_dmxdev_feed_start() local
454 return filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_feed_start()
456 list_for_each_entry(feed, &filter->feed.ts, next) { in dvb_dmxdev_feed_start()
457 ret = feed->ts->start_filtering(feed->ts); in dvb_dmxdev_feed_start()
488 filter->feed.sec); in dvb_dmxdev_feed_restart()
495 struct dmxdev_feed *feed; in dvb_dmxdev_filter_stop() local
503 if (!dmxdevfilter->feed.sec) in dvb_dmxdev_filter_stop()
507 dmxdevfilter->feed.sec-> in dvb_dmxdev_filter_stop()
508 release_filter(dmxdevfilter->feed.sec, in dvb_dmxdev_filter_stop()
511 dmxdevfilter->feed.sec = NULL; in dvb_dmxdev_filter_stop()
516 list_for_each_entry(feed, &dmxdevfilter->feed.ts, next) { in dvb_dmxdev_filter_stop()
517 demux->release_ts_feed(demux, feed->ts); in dvb_dmxdev_filter_stop()
518 feed->ts = NULL; in dvb_dmxdev_filter_stop()
533 struct dmxdev_feed *feed, *tmp; in dvb_dmxdev_delete_pids() local
536 list_for_each_entry_safe(feed, tmp, &dmxdevfilter->feed.ts, next) { in dvb_dmxdev_delete_pids()
537 list_del(&feed->next); in dvb_dmxdev_delete_pids()
538 kfree(feed); in dvb_dmxdev_delete_pids()
541 BUG_ON(!list_empty(&dmxdevfilter->feed.ts)); in dvb_dmxdev_delete_pids()
559 struct dmxdev_feed *feed) in dvb_dmxdev_start_feed() argument
569 feed->ts = NULL; in dvb_dmxdev_start_feed()
586 ret = dmxdev->demux->allocate_ts_feed(dmxdev->demux, &feed->ts, in dvb_dmxdev_start_feed()
591 tsfeed = feed->ts; in dvb_dmxdev_start_feed()
594 ret = tsfeed->set(tsfeed, feed->pid, ts_type, ts_pes, 32768, timeout); in dvb_dmxdev_start_feed()
612 struct dmxdev_feed *feed; in dvb_dmxdev_filter_start() local
638 struct dmx_section_feed **secfeed = &filter->feed.sec; in dvb_dmxdev_filter_start()
649 *secfeed = dmxdev->filter[i].feed.sec; in dvb_dmxdev_filter_start()
680 filter->feed.sec->start_filtering(*secfeed); in dvb_dmxdev_filter_start()
702 ret = filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_filter_start()
710 list_for_each_entry(feed, &filter->feed.ts, next) { in dvb_dmxdev_filter_start()
711 ret = dvb_dmxdev_start_feed(dmxdev, filter, feed); in dvb_dmxdev_filter_start()
799 struct dmxdev_feed *feed; in dvb_dmxdev_add_pid() local
807 (!list_empty(&filter->feed.ts))) in dvb_dmxdev_add_pid()
810 feed = kzalloc(sizeof(struct dmxdev_feed), GFP_KERNEL); in dvb_dmxdev_add_pid()
811 if (feed == NULL) in dvb_dmxdev_add_pid()
814 feed->pid = pid; in dvb_dmxdev_add_pid()
815 list_add(&feed->next, &filter->feed.ts); in dvb_dmxdev_add_pid()
818 return dvb_dmxdev_start_feed(dmxdev, filter, feed); in dvb_dmxdev_add_pid()
826 struct dmxdev_feed *feed, *tmp; in dvb_dmxdev_remove_pid() local
832 list_for_each_entry_safe(feed, tmp, &filter->feed.ts, next) { in dvb_dmxdev_remove_pid()
833 if ((feed->pid == pid) && (feed->ts != NULL)) { in dvb_dmxdev_remove_pid()
834 feed->ts->stop_filtering(feed->ts); in dvb_dmxdev_remove_pid()
836 feed->ts); in dvb_dmxdev_remove_pid()
837 list_del(&feed->next); in dvb_dmxdev_remove_pid()
838 kfree(feed); in dvb_dmxdev_remove_pid()
881 INIT_LIST_HEAD(&dmxdevfilter->feed.ts); in dvb_dmxdev_pes_filter_set()