Home
last modified time | relevance | path

Searched full:feed (Results 1 – 25 of 275) sorted by relevance

1234567891011

/linux/drivers/media/dvb-core/
H A Ddvb_demux.c90 return (f->feed.sec.crc_val = crc32_be(f->feed.sec.crc_val, src, len)); in dvb_dmx_crc32()
103 static inline int dvb_dmx_swfilter_payload(struct dvb_demux_feed *feed, in dvb_dmx_swfilter_payload() argument
117 ccok = ((feed->cc + 1) & 0x0f) == cc; in dvb_dmx_swfilter_payload()
119 set_buf_flags(feed, DMX_BUFFER_FLAG_DISCONTINUITY_DETECTED); in dvb_dmx_swfilter_payload()
121 cc, (feed->cc + 1) & 0x0f); in dvb_dmx_swfilter_payload()
123 feed->cc = cc; in dvb_dmx_swfilter_payload()
126 feed->peslen = 0xfffa; in dvb_dmx_swfilter_payload()
128 feed->peslen += count; in dvb_dmx_swfilter_payload()
130 return feed->cb.ts(&buf[p], count, NULL, 0, &feed->feed.ts, in dvb_dmx_swfilter_payload()
131 &feed->buffer_flags); in dvb_dmx_swfilter_payload()
[all …]
H A Ddmxdev.c423 struct dmx_ts_feed *feed, in dvb_dmxdev_ts_callback() argument
426 struct dmxdev_filter *dmxdevfilter = feed->priv; in dvb_dmxdev_ts_callback()
476 /* stop feed but only mark the specified filter as stopped (state set) */
479 struct dmxdev_feed *feed; in dvb_dmxdev_feed_stop() local
486 dmxdevfilter->feed.sec->stop_filtering(dmxdevfilter->feed.sec); in dvb_dmxdev_feed_stop()
489 list_for_each_entry(feed, &dmxdevfilter->feed.ts, next) in dvb_dmxdev_feed_stop()
490 feed->ts->stop_filtering(feed->ts); in dvb_dmxdev_feed_stop()
498 /* start feed associated with the specified filter */
501 struct dmxdev_feed *feed; in dvb_dmxdev_feed_start() local
508 return filter->feed.sec->start_filtering(filter->feed.sec); in dvb_dmxdev_feed_start()
[all …]
/linux/include/media/
H A Ddvb_demux.h30 * enum dvb_dmx_filter_type - type of demux feed.
32 * @DMX_TYPE_TS: feed is in TS mode.
33 * @DMX_TYPE_SEC: feed is in Section mode.
71 * @feed: &struct dvb_demux_feed pointer.
85 struct dvb_demux_feed *feed; member
97 * @feed: a union describing a digital TV feed.
98 * Depending on the feed type, it can be either
99 * @feed.ts or @feed.sec.
100 * @feed.ts: a &struct dmx_ts_feed pointer.
101 * For TS feed only.
[all …]
H A Ddemux.h48 * DMX_MAX_SECFEED_SIZE: Maximum length (in bytes) of a private section feed
81 * struct dmx_ts_feed - Structure that contains a TS feed filter
90 * A TS feed is typically mapped to a hardware PID filter on the demux chip.
92 * filtering TS packets on a particular TS feed.
98 int (*set)(struct dmx_ts_feed *feed,
103 int (*start_filtering)(struct dmx_ts_feed *feed);
104 int (*stop_filtering)(struct dmx_ts_feed *feed);
139 * struct dmx_section_feed - Structure that contains a section feed filter
148 * is in progress on this section feed. If a filter cannot
153 * on this section feed. After calling this function,
[all …]
H A Ddmxdev.h76 * struct dmxdev_feed - digital TV dmxdev feed
80 * @next: &struct list_head pointing to the next feed.
96 * @feed: a union describing a dmxdev feed.
98 * @feed.ts or @feed.sec.
99 * @feed.ts: a &struct list_head list.
101 * @feed.sec: a &struct dmx_section_feed pointer.
102 * For section feed only.
117 * feed timeouts.
133 } feed; member
/linux/drivers/media/spi/
H A 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()
336 pr_err("feed->demux is NULL\n"); in cxd2880_start_feed()
347 if (feed->pid == 0x2000) { in cxd2880_start_feed()
359 pr_debug("all PID feed (count = %d)\n", in cxd2880_start_feed()
369 cfgtmp.pid_config[i].pid = feed->pid; in cxd2880_start_feed()
371 feed->pid, i); in cxd2880_start_feed()
416 pr_debug("start feed (count %d)\n", dvb_spi->feed_count); in cxd2880_start_feed()
420 static int cxd2880_stop_feed(struct dvb_demux_feed *feed) in cxd2880_stop_feed() argument
[all …]
/linux/drivers/media/pci/cx23885/
H A Daltera-ci.c122 int (*start_feed)(struct dvb_demux_feed *feed);
123 int (*stop_feed)(struct dvb_demux_feed *feed);
463 /* stored old feed controls */ in altera_hw_filt_release()
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()
583 /* call old feed proc's */ 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
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-dvb.c230 /* Kernel DVB framework calls this when the feed needs to start.
234 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()
246 CX18_DEBUG_INFO("Start feed: pid = 0x%x index = %d\n", in cx18_dvb_start_feed()
247 feed->pid, feed->index); in cx18_dvb_start_feed()
253 CX18_ERR("Failed to initialize firmware starting DVB feed\n"); in cx18_dvb_start_feed()
304 /* Kernel DVB framework calls this when the feed needs to stop. */
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()
314 CX18_DEBUG_INFO("Stop feed: pid = 0x%x index = %d\n", in cx18_dvb_stop_feed()
[all …]
/linux/drivers/staging/media/av7110/
H A Dav7110.c100 static int budget_start_feed(struct dvb_demux_feed *feed);
101 static int budget_stop_feed(struct dvb_demux_feed *feed);
275 if (!dvbdmxfilter->feed->demux->dmx.frontend) in DvbDmxFilterCallback()
277 if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE) in DvbDmxFilterCallback()
296 return dvbdmxfilter->feed->cb.sec(buffer1, buffer1_len, in DvbDmxFilterCallback()
300 if (!(dvbdmxfilter->feed->ts_type & TS_PACKET)) in DvbDmxFilterCallback()
302 if (dvbdmxfilter->feed->ts_type & TS_PAYLOAD_ONLY) in DvbDmxFilterCallback()
303 return dvbdmxfilter->feed->cb.ts(buffer1, buffer1_len, in DvbDmxFilterCallback()
305 &dvbdmxfilter->feed->feed.ts, in DvbDmxFilterCallback()
309 dvbdmxfilter->feed->pid, in DvbDmxFilterCallback()
[all …]
H A Dav7110_av.c75 u8 *counter, struct dvb_demux_feed *feed);
90 &dvbdmxfeed->feed.ts, NULL); in av7110_record_cb()
100 &dvbdmxfeed->feed.ts, NULL); in dvb_filter_pes2ts_cb()
570 void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed) in av7110_p2t_init() argument
576 if (feed) in av7110_p2t_init()
577 p->feed = feed; in av7110_p2t_init()
682 p_to_t(p->pes, (TS_SIZE - 4), pid, &p->counter, p->feed); in av7110_p2t_write()
703 p_to_t(p->pes, p->pos, pid, &p->counter, p->feed); in av7110_p2t_write()
713 p_to_t(buf + c, c2 - c, pid, &p->counter, p->feed); in av7110_p2t_write()
724 p_to_t(buf + c, l, pid, &p->counter, p->feed); in av7110_p2t_write()
[all …]
H A Dav7110_av.h12 int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
23 void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed);
/linux/drivers/video/fbdev/matrox/
H A 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()
/linux/drivers/watchdog/
H A Dts4800_wdt.c23 /* possible feed values */
40 * 0 feed for 338ms
41 * 1 feed for 2.706s
42 * 2 feed for 10.824s
169 * The feed register is write-only, so it is not possible to determine in ts4800_wdt_probe()
H A Dlpc18xx_wdt.c67 * An abort condition will occur if an interrupt happens during the feed in lpc18xx_wdt_feed()
147 * enable the Watchdog. A valid feed sequence must be completed after in lpc18xx_wdt_start()
163 * Incorrect feed sequence causes immediate watchdog reset if enabled. in lpc18xx_wdt_restart()
/linux/drivers/media/pci/mantis/
H A Dmantis_dvb.c96 dprintk(MANTIS_DEBUG, 1, "Mantis DVB Start feed"); in mantis_dvb_start_feed()
103 dprintk(MANTIS_DEBUG, 1, "mantis start feed, feeds=%d", mantis->feeds); in mantis_dvb_start_feed()
106 dprintk(MANTIS_DEBUG, 1, "mantis start feed & dma"); in mantis_dvb_start_feed()
119 dprintk(MANTIS_DEBUG, 1, "Mantis DVB Stop feed"); in mantis_dvb_stop_feed()
127 dprintk(MANTIS_DEBUG, 1, "mantis stop feed and dma"); in mantis_dvb_stop_feed()
/linux/drivers/net/wireless/broadcom/b43/
H A Dtables_nphy.h125 #define B43_NTAB_C0_LOFEEDTH B43_NTAB16(0x1A, 0x1C0) /* Local Oscillator Feed Through Lookup Table…
135 #define B43_NTAB_C1_LOFEEDTH B43_NTAB16(0x1B, 0x1C0) /* Local Oscillator Feed Through Lookup Table…
160 #define B43_NTAB_C0_LOFEEDTH_R3 B43_NTAB16(26, 448) /* Local Oscillator Feed Through lookup 0 */
166 #define B43_NTAB_C1_LOFEEDTH_R3 B43_NTAB16(27, 448) /* Local Oscillator Feed Through lookup 1 */
/linux/drivers/media/common/siano/
H A Dsmsdvb-main.c554 * Only feed data to dvb demux if are there any feed listening in smsdvb_onresponse()
676 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 = 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 = feed->pid; in smsdvb_stop_feed()
/linux/drivers/media/pci/b2c2/
H A 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()
/linux/drivers/gpu/drm/sun4i/
H A DKconfig45 do some alpha blending and feed graphics to TCON. If M is
77 graphics mixture and feed graphics to TCON, If M is
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-dvb.c36 static int vb2_dvb_start_feed(struct dvb_demux_feed *feed) in vb2_dvb_start_feed() argument
38 struct dvb_demux *demux = feed->demux; in vb2_dvb_start_feed()
59 static int vb2_dvb_stop_feed(struct dvb_demux_feed *feed) in vb2_dvb_stop_feed() argument
61 struct dvb_demux *demux = feed->demux; in vb2_dvb_stop_feed()
/linux/drivers/media/firewire/
H A Dfiredtv-dvb.c60 dev_err(fdtv->device, "can't start dmx feed: invalid type %u\n", in fdtv_start_feed()
79 "can't start dmx feed: invalid pes type %u\n", in fdtv_start_feed()
89 dev_err(fdtv->device, "can't start dmx feed: busy\n"); in fdtv_start_feed()
/linux/drivers/media/common/b2c2/
H A Dflexcop-hw-filter.c183 fc->feedcount += onoff ? 1 : -1; /* the number of PIDs/Feed currently requested */ in flexcop_pid_feed_control()
188 * - pid_filtering is not enabled and it is the first or last feed requested in flexcop_pid_feed_control()
208 /* if it was the first or last feed request change the stream-status */ in flexcop_pid_feed_control()
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-dvb.c29 /* stop feed before setting a new pid if there will be no pid anymore */ in dvb_usb_ctrl_feed()
55 /* start the feed if this was the first feed and there is still a feed in dvb_usb_ctrl_feed()
/linux/Documentation/process/
H A Dapplying-patches.rst67 How do I feed a patch/diff file to ``patch``?
73 In all the examples below I feed the file (in uncompressed form) to patch
88 uncompress it before applying it, then you can feed it to patch like this
101 Which will leave you with a plain text patch-x.y.z file that you can feed to
195 feed patch a compressed patch file without uncompressing it first, or the patch
220 step. The -z flag to interdiff will even let you feed it patches in gzip or
/linux/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c419 dec->audio_filter->feed->cb.ts(data, 188, NULL, 0, in ttusb_dec_audio_pes2ts_cb()
420 &dec->audio_filter->feed->feed.ts, NULL); in ttusb_dec_audio_pes2ts_cb()
429 dec->video_filter->feed->cb.ts(data, 188, NULL, 0, in ttusb_dec_video_pes2ts_cb()
430 &dec->video_filter->feed->feed.ts, NULL); in ttusb_dec_video_pes2ts_cb()
481 dec->video_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
482 &dec->video_filter->feed->feed.ts, NULL); in ttusb_dec_process_pva()
542 dec->audio_filter->feed->cb.ts(pva, length, NULL, 0, in ttusb_dec_process_pva()
543 &dec->audio_filter->feed->feed.ts, NULL); in ttusb_dec_process_pva()
580 filter->feed->cb.sec(&packet[2], length - 2, NULL, 0, in ttusb_dec_process_filter()

1234567891011