Home
last modified time | relevance | path

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

12

/drivers/media/dvb-core/
Ddvb_demux.c100 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32()
113 static inline int dvb_dmx_swfilter_payload(struct dvb_demux_feed *feed, in dvb_dmx_swfilter_payload() argument
127 ccok = ((feed->cc + 1) & 0x0f) == cc; in dvb_dmx_swfilter_payload()
129 set_buf_flags(feed, DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED); in dvb_dmx_swfilter_payload()
131 cc, (feed->cc + 1) & 0x0f); in dvb_dmx_swfilter_payload()
133 feed->cc = cc; in dvb_dmx_swfilter_payload()
136 feed->peslen = 0xfffa; in dvb_dmx_swfilter_payload()
138 feed->peslen += count; in dvb_dmx_swfilter_payload()
140 return feed->cb.ts(&buf[p], count, NULL, 0, &feed->feed.ts, in dvb_dmx_swfilter_payload()
141 &feed->buffer_flags); in dvb_dmx_swfilter_payload()
[all …]
Ddmxdev.c433 struct dmx_ts_feed *feed, in dvb_dmxdev_ts_callback() argument
436 struct dmxdev_filter *dmxdevfilter = feed->priv; in dvb_dmxdev_ts_callback()
489 struct dmxdev_feed *feed; in dvb_dmxdev_feed_stop() local
496 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec); in dvb_dmxdev_feed_stop()
499 list_for_each_entry(feed, &dmxdevfilter->feed.ts, next) in dvb_dmxdev_feed_stop()
500 feed->ts->stop_filtering(feed->ts); in dvb_dmxdev_feed_stop()
511 struct dmxdev_feed *feed; in dvb_dmxdev_feed_start() local
518 return filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_feed_start()
520 list_for_each_entry(feed, &filter->feed.ts, next) { in dvb_dmxdev_feed_start()
521 ret = feed->ts->start_filtering(feed->ts); in dvb_dmxdev_feed_start()
[all …]
/drivers/media/pci/cx23885/
Daltera-ci.c122 int (*start_feed)(struct dvb_demux_feed *feed);
123 int (*stop_feed)(struct dvb_demux_feed *feed);
576 struct dvb_demux_feed *feed, int onoff) in altera_pid_feed_control() argument
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()
589 if (feed->pid == 0x2000) in altera_pid_feed_control()
596 static int altera_ci_start_feed(struct dvb_demux_feed *feed, int num) in altera_ci_start_feed() argument
598 altera_pid_feed_control(feed->demux, num, feed, 1); in altera_ci_start_feed()
603 static int altera_ci_stop_feed(struct dvb_demux_feed *feed, int num) in altera_ci_stop_feed() argument
[all …]
/drivers/staging/media/av7110/
Dav7110.c103 static int budget_start_feed(struct dvb_demux_feed *feed);
104 static int budget_stop_feed(struct dvb_demux_feed *feed);
286 if (!dvbdmxfilter->feed->demux->dmx.frontend) in DvbDmxFilterCallback()
288 if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE) in DvbDmxFilterCallback()
307 return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len, in DvbDmxFilterCallback()
311 if (!(dvbdmxfilter->feed->ts_type & TS_PACKET)) in DvbDmxFilterCallback()
313 if (dvbdmxfilter->feed->ts_type & TS_PAYLOAD_ONLY) in DvbDmxFilterCallback()
314 return dvbdmxfilter->feed->cb.ts(buffer1, buffer1_len, in DvbDmxFilterCallback()
316 &dvbdmxfilter->feed->feed.ts, in DvbDmxFilterCallback()
320 dvbdmxfilter->feed->pid, in DvbDmxFilterCallback()
[all …]
Dav7110_av.c75 u8 *counter, struct dvb_demux_feed *feed);
89 &dvbdmxfeed->feed.ts, NULL); in av7110_record_cb()
99 &dvbdmxfeed->feed.ts, NULL); in dvb_filter_pes2ts_cb()
565 void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed) in av7110_p2t_init() argument
571 if (feed) in av7110_p2t_init()
572 p->feed = feed; in av7110_p2t_init()
677 p_to_t(p->pes, (TS_SIZE - 4), pid, &p->counter, p->feed); in av7110_p2t_write()
698 p_to_t(p->pes, p->pos, pid, &p->counter, p->feed); in av7110_p2t_write()
708 p_to_t(buf + c, c2 - c, pid, &p->counter, p->feed); in av7110_p2t_write()
718 p_to_t(buf + c, l, pid, &p->counter, p->feed); in av7110_p2t_write()
[all …]
Dav7110_av.h12 extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
23 extern void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed);
Dav7110.h64 struct dvb_demux_feed *feed; member
/drivers/media/spi/
Dcxd2880-spi.c322 static int cxd2880_start_feed(struct dvb_demux_feed *feed) in cxd2880_start_feed() argument
329 if (!feed) { in cxd2880_start_feed()
334 demux = feed->demux; in cxd2880_start_feed()
347 if (feed->pid == 0x2000) { in cxd2880_start_feed()
369 cfgtmp.pid_config[i].pid = feed->pid; in cxd2880_start_feed()
371 feed->pid, i); in cxd2880_start_feed()
420 static int cxd2880_stop_feed(struct dvb_demux_feed *feed) in cxd2880_stop_feed() argument
427 if (!feed) { in cxd2880_stop_feed()
432 demux = feed->demux; in cxd2880_stop_feed()
444 if (feed->pid == 0x2000) { in cxd2880_stop_feed()
[all …]
/drivers/video/fbdev/matrox/
Dmatroxfb_misc.h9 unsigned int* in, unsigned int* feed, unsigned int* post);
12 unsigned int *in, unsigned int *feed, in PLL_calcclock() argument
15 return matroxfb_PLL_calcclock(&minfo->features.pll, freq, fmax, in, feed, post); in PLL_calcclock()
Dmatroxfb_maven.c227 unsigned int* in, unsigned int* feed, unsigned int* post, in matroxfb_PLL_mavenclock() argument
285 *feed = n; in matroxfb_PLL_mavenclock()
294 dprintk(KERN_ERR "clk: %02X %02X %02X %d %d\n", *in, *feed, *post, fxtal, fwant); in matroxfb_PLL_mavenclock()
295 return fxtal * (*feed) / (*in) * ctl->den; in matroxfb_PLL_mavenclock()
300 unsigned int* in, unsigned int* feed, unsigned int* post, in matroxfb_mavenclock() argument
305 fvco = matroxfb_PLL_mavenclock(&maven1000_pll, ctl, htotal, vtotal, in, feed, &p, htotal2); in matroxfb_mavenclock()
322 unsigned int* in, unsigned int* feed, unsigned int* post) { in DAC1064_calcclock() argument
326 fvco = matroxfb_PLL_calcclock(&maven_pll, freq, fmax, in, feed, &p); in DAC1064_calcclock()
Dmatroxfb_misc.c130 unsigned int* in, unsigned int* feed, unsigned int* post) { in matroxfb_PLL_calcclock() argument
181 *feed = n; in matroxfb_PLL_calcclock()
186 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.c234 static int cx18_dvb_start_feed(struct dvb_demux_feed *feed) in cx18_dvb_start_feed() argument
236 struct dvb_demux *demux = feed->demux; in cx18_dvb_start_feed()
247 feed->pid, feed->index); in cx18_dvb_start_feed()
305 static int cx18_dvb_stop_feed(struct dvb_demux_feed *feed) in cx18_dvb_stop_feed() argument
307 struct dvb_demux *demux = feed->demux; in cx18_dvb_stop_feed()
315 feed->pid, feed->index); in cx18_dvb_stop_feed()
/drivers/media/pci/b2c2/
Dflexcop-pci.c116 struct dvb_demux_feed *feed; in flexcop_pci_irq_check_work() local
120 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
122 flexcop_pid_feed_control(fc, feed, 0); in flexcop_pci_irq_check_work()
125 list_for_each_entry(feed, &fc->demux.feed_list, in flexcop_pci_irq_check_work()
127 flexcop_pid_feed_control(fc, feed, 1); in flexcop_pci_irq_check_work()
/drivers/media/common/videobuf2/
Dvideobuf2-dvb.c35 static int vb2_dvb_start_feed(struct dvb_demux_feed *feed) in vb2_dvb_start_feed() argument
37 struct dvb_demux *demux = feed->demux; in vb2_dvb_start_feed()
58 static int vb2_dvb_stop_feed(struct dvb_demux_feed *feed) in vb2_dvb_stop_feed() argument
60 struct dvb_demux *demux = feed->demux; in vb2_dvb_stop_feed()
/drivers/media/usb/ttusb-dec/
Dttusb_dec.c418 dec->audio_filter->feed->cb.ts(data, 188, NULL, 0, in ttusb_dec_audio_pes2ts_cb()
419 &dec->audio_filter->feed->feed.ts, NULL); in ttusb_dec_audio_pes2ts_cb()
428 dec->video_filter->feed->cb.ts(data, 188, NULL, 0, in ttusb_dec_video_pes2ts_cb()
429 &dec->video_filter->feed->feed.ts, NULL); in ttusb_dec_video_pes2ts_cb()
480 dec->video_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
481 &dec->video_filter->feed->feed.ts, NULL); in ttusb_dec_process_pva()
541 dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
542 &dec->audio_filter->feed->feed.ts, NULL); in ttusb_dec_process_pva()
579 filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, in ttusb_dec_process_filter()
/drivers/media/usb/tm6000/
Dtm6000-dvb.c181 static int tm6000_start_feed(struct dvb_demux_feed *feed) in tm6000_start_feed() argument
183 struct dvb_demux *demux = feed->demux; in tm6000_start_feed()
200 static int tm6000_stop_feed(struct dvb_demux_feed *feed) in tm6000_stop_feed() argument
202 struct dvb_demux *demux = feed->demux; in tm6000_stop_feed()
/drivers/media/common/siano/
Dsmsdvb-main.c676 static int smsdvb_start_feed(struct dvb_demux_feed *feed) in smsdvb_start_feed() argument
679 container_of(feed->demux, struct smsdvb_client_t, demux); in smsdvb_start_feed()
683 feed->pid, feed->pid); in smsdvb_start_feed()
692 pid_msg.msg_data[0] = feed->pid; in smsdvb_start_feed()
698 static int smsdvb_stop_feed(struct dvb_demux_feed *feed) in smsdvb_stop_feed() argument
701 container_of(feed->demux, struct smsdvb_client_t, demux); in smsdvb_stop_feed()
705 feed->pid, feed->pid); in smsdvb_stop_feed()
714 pid_msg.msg_data[0] = feed->pid; in smsdvb_stop_feed()
/drivers/media/pci/ttpci/
Dbudget-core.c308 static int budget_start_feed(struct dvb_demux_feed *feed) in budget_start_feed() argument
310 struct dvb_demux *demux = feed->demux; in budget_start_feed()
320 feed->pusi_seen = false; /* have a clean section start */ in budget_start_feed()
327 static int budget_stop_feed(struct dvb_demux_feed *feed) in budget_stop_feed() argument
329 struct dvb_demux *demux = feed->demux; in budget_stop_feed()
/drivers/media/test-drivers/vidtv/
Dvidtv_bridge.c217 static int vidtv_start_feed(struct dvb_demux_feed *feed) in vidtv_start_feed() argument
219 struct dvb_demux *demux = feed->demux; in vidtv_start_feed()
242 static int vidtv_stop_feed(struct dvb_demux_feed *feed) in vidtv_stop_feed() argument
244 struct dvb_demux *demux = feed->demux; in vidtv_stop_feed()
/drivers/gpu/drm/sun4i/
DKconfig41 do some alpha blending and feed graphics to TCON. If M is
71 graphics mixture and feed graphics to TCON, If M is
/drivers/media/usb/au0828/
Dau0828-dvb.c273 static int au0828_dvb_start_feed(struct dvb_demux_feed *feed) in au0828_dvb_start_feed() argument
275 struct dvb_demux *demux = feed->demux; in au0828_dvb_start_feed()
305 static int au0828_dvb_stop_feed(struct dvb_demux_feed *feed) in au0828_dvb_stop_feed() argument
307 struct dvb_demux *demux = feed->demux; in au0828_dvb_stop_feed()
/drivers/media/pci/saa7164/
Dsaa7164-dvb.c280 static int saa7164_dvb_start_feed(struct dvb_demux_feed *feed) in saa7164_dvb_start_feed() argument
282 struct dvb_demux *demux = feed->demux; in saa7164_dvb_start_feed()
307 static int saa7164_dvb_stop_feed(struct dvb_demux_feed *feed) in saa7164_dvb_stop_feed() argument
309 struct dvb_demux *demux = feed->demux; in saa7164_dvb_stop_feed()
/drivers/media/pci/pt3/
Dpt3.c495 static int pt3_start_feed(struct dvb_demux_feed *feed) in pt3_start_feed() argument
502 adap = container_of(feed->demux, struct pt3_adapter, demux); in pt3_start_feed()
511 static int pt3_stop_feed(struct dvb_demux_feed *feed) in pt3_stop_feed() argument
515 adap = container_of(feed->demux, struct pt3_adapter, demux); in pt3_stop_feed()
/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c307 static int start_feed(struct dvb_demux_feed *feed) in start_feed() argument
309 struct dvb_demux *demux = feed->demux; in start_feed()
330 static int stop_feed(struct dvb_demux_feed *feed) in stop_feed() argument
332 struct dvb_demux *demux = feed->demux; in stop_feed()
/drivers/media/pci/pt1/
Dpt1.c692 static int pt1_start_feed(struct dvb_demux_feed *feed) in pt1_start_feed() argument
695 adap = container_of(feed->demux, struct pt1_adapter, demux); in pt1_start_feed()
722 static int pt1_stop_feed(struct dvb_demux_feed *feed) in pt1_stop_feed() argument
725 adap = container_of(feed->demux, struct pt1_adapter, demux); in pt1_stop_feed()

12