Home
last modified time | relevance | path

Searched refs:feed (Results 1 – 25 of 35) sorted by relevance

12

/drivers/media/dvb-core/
Ddvb_demux.c94 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32()
107 static inline int dvb_dmx_swfilter_payload(struct dvb_demux_feed *feed, in dvb_dmx_swfilter_payload() argument
129 feed->peslen = 0xfffa; in dvb_dmx_swfilter_payload()
131 feed->peslen += count; in dvb_dmx_swfilter_payload()
133 return feed->cb.ts(&buf[p], count, NULL, 0, &feed->feed.ts, DMX_OK); in dvb_dmx_swfilter_payload()
136 static int dvb_dmx_swfilter_sectionfilter(struct dvb_demux_feed *feed, in dvb_dmx_swfilter_sectionfilter() argument
143 u8 xor = f->filter.filter_value[i] ^ feed->feed.sec.secbuf[i]; in dvb_dmx_swfilter_sectionfilter()
154 return feed->cb.sec(feed->feed.sec.secbuf, feed->feed.sec.seclen, in dvb_dmx_swfilter_sectionfilter()
158 static inline int dvb_dmx_swfilter_section_feed(struct dvb_demux_feed *feed) in dvb_dmx_swfilter_section_feed() argument
160 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_feed()
[all …]
Ddmxdev.c393 struct dmx_ts_feed *feed, in dvb_dmxdev_ts_callback() argument
396 struct dmxdev_filter *dmxdevfilter = feed->priv; in dvb_dmxdev_ts_callback()
431 struct dmxdev_feed *feed; in dvb_dmxdev_feed_stop() local
438 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec); in dvb_dmxdev_feed_stop()
441 list_for_each_entry(feed, &dmxdevfilter->feed.ts, next) in dvb_dmxdev_feed_stop()
442 feed->ts->stop_filtering(feed->ts); in dvb_dmxdev_feed_stop()
453 struct dmxdev_feed *feed; in dvb_dmxdev_feed_start() local
460 return filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_feed_start()
462 list_for_each_entry(feed, &filter->feed.ts, next) { in dvb_dmxdev_feed_start()
463 ret = feed->ts->start_filtering(feed->ts); in dvb_dmxdev_feed_start()
[all …]
Ddemux.h90 int (*set) (struct dmx_ts_feed *feed,
96 int (*start_filtering) (struct dmx_ts_feed* feed);
97 int (*stop_filtering) (struct dmx_ts_feed* feed);
124 int (*set) (struct dmx_section_feed* feed,
128 int (*allocate_filter) (struct dmx_section_feed* feed,
130 int (*release_filter) (struct dmx_section_feed* feed,
132 int (*start_filtering) (struct dmx_section_feed* feed);
133 int (*stop_filtering) (struct dmx_section_feed* feed);
213 struct dmx_ts_feed** feed,
216 struct dmx_ts_feed* feed);
[all …]
Ddvb_demux.h56 struct dvb_demux_feed *feed; member
71 } feed; member
106 int (*start_feed)(struct dvb_demux_feed *feed);
107 int (*stop_feed)(struct dvb_demux_feed *feed);
108 int (*write_to_decoder)(struct dvb_demux_feed *feed,
110 u32 (*check_crc32)(struct dvb_demux_feed *feed,
112 void (*memcopy)(struct dvb_demux_feed *feed, u8 *dst,
118 struct dvb_demux_feed *feed; member
Ddmxdev.h73 } feed; member
/drivers/media/pci/cx23885/
Daltera-ci.c131 int (*start_feed)(struct dvb_demux_feed *feed);
132 int (*stop_feed)(struct dvb_demux_feed *feed);
586 struct dvb_demux_feed *feed, int onoff) in altera_pid_feed_control() argument
592 altera_pid_control(pid_filt, feed->pid, onoff ? 0 : 1); in altera_pid_feed_control()
595 pid_filt->start_feed(feed); in altera_pid_feed_control()
597 pid_filt->stop_feed(feed); in altera_pid_feed_control()
599 if (feed->pid == 0x2000) in altera_pid_feed_control()
607 static int altera_ci_start_feed(struct dvb_demux_feed *feed, int num) in altera_ci_start_feed() argument
609 altera_pid_feed_control(feed->demux, num, feed, 1); in altera_ci_start_feed()
614 static int altera_ci_stop_feed(struct dvb_demux_feed *feed, int num) in altera_ci_stop_feed() argument
[all …]
/drivers/media/pci/ttpci/
Dav7110.c121 static int budget_start_feed(struct dvb_demux_feed *feed);
122 static int budget_stop_feed(struct dvb_demux_feed *feed);
309 if (!dvbdmxfilter->feed->demux->dmx.frontend) in DvbDmxFilterCallback()
311 if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE) in DvbDmxFilterCallback()
330 return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len, in DvbDmxFilterCallback()
335 if (!(dvbdmxfilter->feed->ts_type & TS_PACKET)) in DvbDmxFilterCallback()
337 if (dvbdmxfilter->feed->ts_type & TS_PAYLOAD_ONLY) in DvbDmxFilterCallback()
338 return dvbdmxfilter->feed->cb.ts(buffer1, buffer1_len, in DvbDmxFilterCallback()
340 &dvbdmxfilter->feed->feed.ts, in DvbDmxFilterCallback()
344 dvbdmxfilter->feed->pid, in DvbDmxFilterCallback()
[all …]
Dav7110_av.c91 u8 *counter, struct dvb_demux_feed *feed);
105 &dvbdmxfeed->feed.ts, DMX_OK); in av7110_record_cb()
115 &dvbdmxfeed->feed.ts, DMX_OK); in dvb_filter_pes2ts_cb()
579 void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed) in av7110_p2t_init() argument
585 if (feed) in av7110_p2t_init()
586 p->feed = feed; in av7110_p2t_init()
691 p_to_t(p->pes, (TS_SIZE - 4), pid, &p->counter, p->feed); in av7110_p2t_write()
712 p_to_t(p->pes, p->pos, pid, &p->counter, p->feed); in av7110_p2t_write()
722 p_to_t(buf + c, c2 - c, pid, &p->counter, p->feed); in av7110_p2t_write()
732 p_to_t(buf + c, l, pid, &p->counter, p->feed); in av7110_p2t_write()
[all …]
Dav7110_av.h11 extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
21 extern void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed);
Dbudget-core.c314 static int budget_start_feed(struct dvb_demux_feed *feed) in budget_start_feed() argument
316 struct dvb_demux *demux = feed->demux; in budget_start_feed()
326 feed->pusi_seen = 0; /* have a clean section start */ in budget_start_feed()
333 static int budget_stop_feed(struct dvb_demux_feed *feed) in budget_stop_feed() argument
335 struct dvb_demux *demux = feed->demux; in budget_stop_feed()
/drivers/video/matrox/
Dmatroxfb_misc.h8 unsigned int* in, unsigned int* feed, unsigned int* post);
11 unsigned int *in, unsigned int *feed, in PLL_calcclock() argument
14 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
Dmatroxfb_maven.c224 unsigned int* in, unsigned int* feed, unsigned int* post, in matroxfb_PLL_mavenclock() argument
282 *feed = n; in matroxfb_PLL_mavenclock()
291 dprintk(KERN_ERR "clk: %02X %02X %02X %d %d\n", *in, *feed, *post, fxtal, fwant); in matroxfb_PLL_mavenclock()
292 return fxtal * (*feed) / (*in) * ctl->den; in matroxfb_PLL_mavenclock()
297 unsigned int* in, unsigned int* feed, unsigned int* post, in matroxfb_mavenclock() argument
302 fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); in matroxfb_mavenclock()
319 unsigned int* in, unsigned int* feed, unsigned int* post) { in DAC1064_calcclock() argument
323 fvco = matroxfb_PLL_calcclock(&maven_pll, freq, fmax, in, feed, &p); in DAC1064_calcclock()
Dmatroxfb_misc.c129 unsigned int* in, unsigned int* feed, unsigned int* post) { in matroxfb_PLL_calcclock() argument
180 *feed = n; in matroxfb_PLL_calcclock()
185 dprintk(KERN_ERR "clk: %02X %02X %02X %d %d %d\n", *in, *feed, *post, fxtal, bestvco, fwant); in matroxfb_PLL_calcclock()
/drivers/media/pci/cx18/
Dcx18-dvb.c250 static int cx18_dvb_start_feed(struct dvb_demux_feed *feed) in cx18_dvb_start_feed() argument
252 struct dvb_demux *demux = feed->demux; in cx18_dvb_start_feed()
263 feed->pid, feed->index); in cx18_dvb_start_feed()
321 static int cx18_dvb_stop_feed(struct dvb_demux_feed *feed) in cx18_dvb_stop_feed() argument
323 struct dvb_demux *demux = feed->demux; in cx18_dvb_stop_feed()
331 feed->pid, feed->index); in cx18_dvb_stop_feed()
/drivers/media/pci/b2c2/
Dflexcop-pci.c115 struct dvb_demux_feed *feed; in flexcop_pci_irq_check_work() local
119 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
121 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work()
124 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
126 flexcop_pid_feed_control(fc, feed, 1); in flexcop_pci_irq_check_work()
/drivers/media/usb/ttusb-dec/
Dttusb_dec.c377 dec->audio_filter->feed->cb.ts(data, 188, NULL, 0, in ttusb_dec_audio_pes2ts_cb()
378 &dec->audio_filter->feed->feed.ts, in ttusb_dec_audio_pes2ts_cb()
388 dec->video_filter->feed->cb.ts(data, 188, NULL, 0, in ttusb_dec_video_pes2ts_cb()
389 &dec->video_filter->feed->feed.ts, in ttusb_dec_video_pes2ts_cb()
441 dec->video_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
442 &dec->video_filter->feed->feed.ts, DMX_OK); in ttusb_dec_process_pva()
502 dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
503 &dec->audio_filter->feed->feed.ts, DMX_OK); in ttusb_dec_process_pva()
540 filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, in ttusb_dec_process_filter()
/drivers/media/usb/tm6000/
Dtm6000-dvb.c193 static int tm6000_start_feed(struct dvb_demux_feed *feed) in tm6000_start_feed() argument
195 struct dvb_demux *demux = feed->demux; in tm6000_start_feed()
212 static int tm6000_stop_feed(struct dvb_demux_feed *feed) in tm6000_stop_feed() argument
214 struct dvb_demux *demux = feed->demux; in tm6000_stop_feed()
/drivers/media/common/siano/
Dsmsdvb-main.c638 static int smsdvb_start_feed(struct dvb_demux_feed *feed) in smsdvb_start_feed() argument
641 container_of(feed->demux, struct smsdvb_client_t, demux); in smsdvb_start_feed()
645 feed->pid, feed->pid); in smsdvb_start_feed()
654 pid_msg.msg_data[0] = feed->pid; in smsdvb_start_feed()
660 static int smsdvb_stop_feed(struct dvb_demux_feed *feed) in smsdvb_stop_feed() argument
663 container_of(feed->demux, struct smsdvb_client_t, demux); in smsdvb_stop_feed()
667 feed->pid, feed->pid); in smsdvb_stop_feed()
676 pid_msg.msg_data[0] = feed->pid; in smsdvb_stop_feed()
/drivers/media/v4l2-core/
Dvideobuf-dvb.c93 static int videobuf_dvb_start_feed(struct dvb_demux_feed *feed) in videobuf_dvb_start_feed() argument
95 struct dvb_demux *demux = feed->demux; in videobuf_dvb_start_feed()
120 static int videobuf_dvb_stop_feed(struct dvb_demux_feed *feed) in videobuf_dvb_stop_feed() argument
122 struct dvb_demux *demux = feed->demux; in videobuf_dvb_stop_feed()
/drivers/media/usb/au0828/
Dau0828-dvb.c220 static int au0828_dvb_start_feed(struct dvb_demux_feed *feed) in au0828_dvb_start_feed() argument
222 struct dvb_demux *demux = feed->demux; in au0828_dvb_start_feed()
248 static int au0828_dvb_stop_feed(struct dvb_demux_feed *feed) in au0828_dvb_stop_feed() argument
250 struct dvb_demux *demux = feed->demux; in au0828_dvb_stop_feed()
/drivers/media/usb/tlg2300/
Dpd-dvb.c491 static int pd_start_feed(struct dvb_demux_feed *feed) in pd_start_feed() argument
493 struct pd_dvb_adapter *pd_dvb = feed->demux->priv; in pd_start_feed()
503 static int pd_stop_feed(struct dvb_demux_feed *feed) in pd_stop_feed() argument
505 struct pd_dvb_adapter *pd_dvb = feed->demux->priv; in pd_stop_feed()
/drivers/media/pci/saa7164/
Dsaa7164-dvb.c232 static int saa7164_dvb_start_feed(struct dvb_demux_feed *feed) in saa7164_dvb_start_feed() argument
234 struct dvb_demux *demux = feed->demux; in saa7164_dvb_start_feed()
259 static int saa7164_dvb_stop_feed(struct dvb_demux_feed *feed) in saa7164_dvb_stop_feed() argument
261 struct dvb_demux *demux = feed->demux; in saa7164_dvb_stop_feed()
/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c296 static int start_feed(struct dvb_demux_feed *feed) in start_feed() argument
298 struct dvb_demux *demux = feed->demux; in start_feed()
319 static int stop_feed(struct dvb_demux_feed *feed) in stop_feed() argument
321 struct dvb_demux *demux = feed->demux; in stop_feed()
/drivers/media/pci/pt1/
Dpt1.c505 static int pt1_start_feed(struct dvb_demux_feed *feed) in pt1_start_feed() argument
508 adap = container_of(feed->demux, struct pt1_adapter, demux); in pt1_start_feed()
535 static int pt1_stop_feed(struct dvb_demux_feed *feed) in pt1_stop_feed() argument
538 adap = container_of(feed->demux, struct pt1_adapter, demux); in pt1_stop_feed()
/drivers/media/usb/em28xx/
Dem28xx-dvb.c229 static int em28xx_start_feed(struct dvb_demux_feed *feed) in em28xx_start_feed() argument
231 struct dvb_demux *demux = feed->demux; in em28xx_start_feed()
252 static int em28xx_stop_feed(struct dvb_demux_feed *feed) in em28xx_stop_feed() argument
254 struct dvb_demux *demux = feed->demux; in em28xx_stop_feed()

12