Home
last modified time | relevance | path

Searched refs:demux (Results 1 – 25 of 115) sorted by relevance

12345

/Linux-v5.4/drivers/media/platform/sti/c8sectpfe/
Dc8sectpfe-common.c34 static int register_dvb(struct stdemux *demux, struct dvb_adapter *adap, in register_dvb() argument
40 demux->dvb_demux.dmx.capabilities = DMX_TS_FILTERING | in register_dvb()
44 demux->dvb_demux.priv = demux; in register_dvb()
45 demux->dvb_demux.filternum = C8SECTPFE_MAXCHANNEL; in register_dvb()
46 demux->dvb_demux.feednum = C8SECTPFE_MAXCHANNEL; in register_dvb()
48 demux->dvb_demux.start_feed = start_feed; in register_dvb()
49 demux->dvb_demux.stop_feed = stop_feed; in register_dvb()
50 demux->dvb_demux.write_to_decoder = NULL; in register_dvb()
52 result = dvb_dmx_init(&demux->dvb_demux); in register_dvb()
59 demux->dmxdev.filternum = demux->dvb_demux.filternum; in register_dvb()
[all …]
/Linux-v5.4/drivers/media/dvb-core/
Ddvb_demux.c168 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_feed() local
182 demux->check_crc32(feed, sec->secbuf, sec->seclen)) { in dvb_dmx_swfilter_section_feed()
244 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_copy_dump() local
262 demux->memcopy(feed, sec->secbuf_base + sec->tsfeedp, buf, len); in dvb_dmx_swfilter_section_copy_dump()
394 if (feed->demux->write_to_decoder) in dvb_dmx_swfilter_packet_type()
395 feed->demux->write_to_decoder(feed, buf, 188); in dvb_dmx_swfilter_packet_type()
415 static void dvb_dmx_swfilter_packet(struct dvb_demux *demux, const u8 *buf) in dvb_dmx_swfilter_packet() argument
425 demux->speed_pkts_cnt++; in dvb_dmx_swfilter_packet()
428 if (!(demux->speed_pkts_cnt % SPEED_PKTS_INTERVAL)) { in dvb_dmx_swfilter_packet()
431 if (ktime_to_ns(demux->speed_last_time) != 0) { in dvb_dmx_swfilter_packet()
[all …]
Ddmxdev.c112 static struct dmx_frontend *get_fe(struct dmx_demux *demux, int type) in get_fe() argument
116 head = demux->get_frontends(demux); in get_fe()
189 dmxdev->dvr_orig_fe = dmxdev->demux->frontend; in dvb_dvr_open()
191 if (!dmxdev->demux->write) { in dvb_dvr_open()
196 front = get_fe(dmxdev->demux, DMX_MEMORY_FE); in dvb_dvr_open()
202 dmxdev->demux->disconnect_frontend(dmxdev->demux); in dvb_dvr_open()
203 dmxdev->demux->connect_frontend(dmxdev->demux, front); in dvb_dvr_open()
218 dmxdev->demux->disconnect_frontend(dmxdev->demux); in dvb_dvr_release()
219 dmxdev->demux->connect_frontend(dmxdev->demux, in dvb_dvr_release()
259 if (!dmxdev->demux->write) in dvb_dvr_write()
[all …]
/Linux-v5.4/drivers/media/firewire/
Dfiredtv-dvb.c51 struct firedtv *fdtv = dvbdmxfeed->demux->priv; in fdtv_start_feed()
121 struct dvb_demux *demux = dvbdmxfeed->demux; in fdtv_stop_feed() local
122 struct firedtv *fdtv = demux->priv; in fdtv_stop_feed()
128 (demux->dmx.frontend->source != DMX_MEMORY_FE))) { in fdtv_stop_feed()
132 !demux->pesfilter[dvbdmxfeed->pes_type]) in fdtv_stop_feed()
135 demux->pids[dvbdmxfeed->pes_type] |= 0x8000; in fdtv_stop_feed()
136 demux->pesfilter[dvbdmxfeed->pes_type] = NULL; in fdtv_stop_feed()
170 fdtv->demux.dmx.capabilities = 0; in fdtv_dvb_register()
172 fdtv->demux.priv = fdtv; in fdtv_dvb_register()
173 fdtv->demux.filternum = 16; in fdtv_dvb_register()
[all …]
/Linux-v5.4/drivers/media/common/b2c2/
Dflexcop.c56 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed()
62 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed()
77 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init()
79 fc->demux.priv = fc; in flexcop_dvb_init()
80 fc->demux.filternum = fc->demux.feednum = FC_MAX_FEED; in flexcop_dvb_init()
81 fc->demux.start_feed = flexcop_dvb_start_feed; in flexcop_dvb_init()
82 fc->demux.stop_feed = flexcop_dvb_stop_feed; in flexcop_dvb_init()
83 fc->demux.write_to_decoder = NULL; in flexcop_dvb_init()
85 ret = dvb_dmx_init(&fc->demux); in flexcop_dvb_init()
93 fc->dmxdev.filternum = fc->demux.feednum; in flexcop_dvb_init()
[all …]
/Linux-v5.4/drivers/media/common/videobuf2/
Dvideobuf2-dvb.c30 dvb_dmx_swfilter(&dvb->demux, vb2_plane_vaddr(vb, 0), in dvb_fnc()
37 struct dvb_demux *demux = feed->demux; in vb2_dvb_start_feed() local
38 struct vb2_dvb *dvb = demux->priv; in vb2_dvb_start_feed()
41 if (!demux->dmx.frontend) in vb2_dvb_start_feed()
60 struct dvb_demux *demux = feed->demux; in vb2_dvb_stop_feed() local
61 struct vb2_dvb *dvb = demux->priv; in vb2_dvb_stop_feed()
115 dvb->demux.dmx.capabilities = in vb2_dvb_register_frontend()
118 dvb->demux.priv = dvb; in vb2_dvb_register_frontend()
119 dvb->demux.filternum = 256; in vb2_dvb_register_frontend()
120 dvb->demux.feednum = 256; in vb2_dvb_register_frontend()
[all …]
/Linux-v5.4/drivers/media/pci/mantis/
Dmantis_dvb.c93 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in mantis_dvb_start_feed()
116 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in mantis_dvb_stop_feed()
155 mantis->demux.dmx.capabilities = DMX_TS_FILTERING | in mantis_dvb_init()
159 mantis->demux.priv = mantis; in mantis_dvb_init()
160 mantis->demux.filternum = 256; in mantis_dvb_init()
161 mantis->demux.feednum = 256; in mantis_dvb_init()
162 mantis->demux.start_feed = mantis_dvb_start_feed; in mantis_dvb_init()
163 mantis->demux.stop_feed = mantis_dvb_stop_feed; in mantis_dvb_init()
164 mantis->demux.write_to_decoder = NULL; in mantis_dvb_init()
167 result = dvb_dmx_init(&mantis->demux); in mantis_dvb_init()
[all …]
/Linux-v5.4/include/media/
Ddemux.h564 int (*open)(struct dmx_demux *demux);
565 int (*close)(struct dmx_demux *demux);
566 int (*write)(struct dmx_demux *demux, const char __user *buf,
568 int (*allocate_ts_feed)(struct dmx_demux *demux,
571 int (*release_ts_feed)(struct dmx_demux *demux,
573 int (*allocate_section_feed)(struct dmx_demux *demux,
576 int (*release_section_feed)(struct dmx_demux *demux,
578 int (*add_frontend)(struct dmx_demux *demux,
580 int (*remove_frontend)(struct dmx_demux *demux,
582 struct list_head *(*get_frontends)(struct dmx_demux *demux);
[all …]
Ddvb_demux.h141 struct dvb_demux *demux; member
267 int dvb_dmx_init(struct dvb_demux *demux);
278 void dvb_dmx_release(struct dvb_demux *demux);
295 void dvb_dmx_swfilter_packets(struct dvb_demux *demux, const u8 *buf,
314 void dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count);
332 void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf,
351 void dvb_dmx_swfilter_raw(struct dvb_demux *demux, const u8 *buf,
/Linux-v5.4/drivers/media/usb/au0828/
Dau0828-dvb.c150 dvb_dmx_swfilter_packets(&dev->dvb.demux, in urb_completion()
275 struct dvb_demux *demux = feed->demux; in au0828_dvb_start_feed() local
276 struct au0828_dev *dev = (struct au0828_dev *) demux->priv; in au0828_dvb_start_feed()
282 if (!demux->dmx.frontend) in au0828_dvb_start_feed()
307 struct dvb_demux *demux = feed->demux; in au0828_dvb_stop_feed() local
308 struct au0828_dev *dev = (struct au0828_dev *) demux->priv; in au0828_dvb_stop_feed()
448 dvb->demux.dmx.capabilities = in dvb_register()
451 dvb->demux.priv = dev; in dvb_register()
452 dvb->demux.filternum = 256; in dvb_register()
453 dvb->demux.feednum = 256; in dvb_register()
[all …]
/Linux-v5.4/Documentation/media/kapi/
Ddtv-demux.rst11 demux layer. It is only of interest for Digital TV device driver writers.
12 The header file for this kABI is named ``demux.h`` and located in
15 The demux kABI should be implemented for each demux in the system. It is
16 used to select the TS source of a demux and to manage the demux resources.
17 When the demux client allocates a resource via the demux kABI, it receives
20 Each demux receives its TS input from a DVB front-end or from memory, as
21 set via this demux kABI. In a system with more than one front-end, the kABI
22 can be used to select one of the DVB front-ends as a TS source for a demux,
25 The demux kABI only controls front-ends regarding to their connections with
29 The functions that implement the abstract interface demux should be defined
[all …]
/Linux-v5.4/drivers/media/spi/
Dcxd2880-spi.c47 struct dvb_demux demux; member
300 dvb_dmx_swfilter(&dvb_spi->demux, in cxd2880_ts_read()
310 dvb_dmx_swfilter(&dvb_spi->demux, in cxd2880_ts_read()
326 struct dvb_demux *demux = NULL; in cxd2880_start_feed() local
334 demux = feed->demux; in cxd2880_start_feed()
335 if (!demux) { in cxd2880_start_feed()
339 dvb_spi = demux->priv; in cxd2880_start_feed()
424 struct dvb_demux *demux = NULL; in cxd2880_stop_feed() local
432 demux = feed->demux; in cxd2880_stop_feed()
433 if (!demux) { in cxd2880_stop_feed()
[all …]
/Linux-v5.4/drivers/media/usb/tm6000/
Dtm6000-dvb.c91 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in tm6000_urb_received()
181 struct dvb_demux *demux = feed->demux; in tm6000_start_feed() local
182 struct tm6000_core *dev = demux->priv; in tm6000_start_feed()
200 struct dvb_demux *demux = feed->demux; in tm6000_stop_feed() local
201 struct tm6000_core *dev = demux->priv; in tm6000_stop_feed()
320 dvb->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING in register_dvb()
322 dvb->demux.priv = dev; in register_dvb()
323 dvb->demux.filternum = 8; in register_dvb()
324 dvb->demux.feednum = 8; in register_dvb()
325 dvb->demux.start_feed = tm6000_start_feed; in register_dvb()
[all …]
/Linux-v5.4/drivers/media/usb/dvb-usb/
Ddvb-usb-dvb.c16 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed()
172 adap->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in dvb_usb_adapter_dvb_init()
173 adap->demux.priv = adap; in dvb_usb_adapter_dvb_init()
175 adap->demux.filternum = 0; in dvb_usb_adapter_dvb_init()
177 if (adap->demux.filternum < adap->fe_adap[i].max_feed_count) in dvb_usb_adapter_dvb_init()
178 adap->demux.filternum = adap->fe_adap[i].max_feed_count; in dvb_usb_adapter_dvb_init()
180 adap->demux.feednum = adap->demux.filternum; in dvb_usb_adapter_dvb_init()
181 adap->demux.start_feed = dvb_usb_start_feed; in dvb_usb_adapter_dvb_init()
182 adap->demux.stop_feed = dvb_usb_stop_feed; in dvb_usb_adapter_dvb_init()
183 adap->demux.write_to_decoder = NULL; in dvb_usb_adapter_dvb_init()
[all …]
/Linux-v5.4/drivers/media/pci/saa7164/
Dsaa7164-dvb.c282 struct dvb_demux *demux = feed->demux; in saa7164_dvb_start_feed() local
283 struct saa7164_port *port = (struct saa7164_port *) demux->priv; in saa7164_dvb_start_feed()
290 if (!demux->dmx.frontend) in saa7164_dvb_start_feed()
309 struct dvb_demux *demux = feed->demux; in saa7164_dvb_stop_feed() local
310 struct saa7164_port *port = (struct saa7164_port *) demux->priv; in saa7164_dvb_stop_feed()
403 dvb->demux.dmx.capabilities = in dvb_register()
406 dvb->demux.priv = port; in dvb_register()
407 dvb->demux.filternum = 256; in dvb_register()
408 dvb->demux.feednum = 256; in dvb_register()
409 dvb->demux.start_feed = saa7164_dvb_start_feed; in dvb_register()
[all …]
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-dvb.c44 &adap->demux, in pvr2_dvb_feed_func()
194 struct pvr2_dvb_adapter *adap = dvbdmxfeed->demux->priv; in pvr2_dvb_ctrl_feed()
258 adap->demux.dmx.capabilities = DMX_TS_FILTERING | in pvr2_dvb_adapter_init()
261 adap->demux.priv = adap; in pvr2_dvb_adapter_init()
262 adap->demux.filternum = 256; in pvr2_dvb_adapter_init()
263 adap->demux.feednum = 256; in pvr2_dvb_adapter_init()
264 adap->demux.start_feed = pvr2_dvb_start_feed; in pvr2_dvb_adapter_init()
265 adap->demux.stop_feed = pvr2_dvb_stop_feed; in pvr2_dvb_adapter_init()
266 adap->demux.write_to_decoder = NULL; in pvr2_dvb_adapter_init()
268 ret = dvb_dmx_init(&adap->demux); in pvr2_dvb_adapter_init()
[all …]
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c59 struct dvb_demux demux; member
232 dvb_dmx_swfilter(&dev->dvb->demux, in dvb_isoc_copy()
256 dvb_dmx_swfilter(&dev->dvb->demux, in dvb_bulk_copy()
309 struct dvb_demux *demux = feed->demux; in start_feed() local
310 struct cx231xx_dvb *dvb = demux->priv; in start_feed()
313 if (!demux->dmx.frontend) in start_feed()
332 struct dvb_demux *demux = feed->demux; in stop_feed() local
333 struct cx231xx_dvb *dvb = demux->priv; in stop_feed()
504 dvb->demux.dmx.capabilities = in register_dvb()
507 dvb->demux.priv = dvb; in register_dvb()
[all …]
/Linux-v5.4/drivers/media/pci/bt8xx/
Ddvb-bt8xx.c50 (&card->demux, in dvb_bt8xx_task()
61 struct dvb_demux*dvbdmx = dvbdmxfeed->demux; in dvb_bt8xx_start_feed()
82 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dvb_bt8xx_stop_feed()
725 memset(&card->demux, 0, sizeof(struct dvb_demux)); in dvb_bt8xx_load_card()
727 …card->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING | DMX_MEMORY_BASED_FILTERI… in dvb_bt8xx_load_card()
729 card->demux.priv = card; in dvb_bt8xx_load_card()
730 card->demux.filternum = 256; in dvb_bt8xx_load_card()
731 card->demux.feednum = 256; in dvb_bt8xx_load_card()
732 card->demux.start_feed = dvb_bt8xx_start_feed; in dvb_bt8xx_load_card()
733 card->demux.stop_feed = dvb_bt8xx_stop_feed; in dvb_bt8xx_load_card()
[all …]
/Linux-v5.4/Documentation/media/uapi/dvb/
Ddmx-fwrite.rst13 Digital TV demux write()
19 Digital TV demux write()
44 ``/dev/dvb/adapter?/dvr?``, associated with the physical demux device that
47 in the corresponding physical demux device, ``/dev/dvb/adapter?/demux?``.
74 corresponding demux device is setup to receive data from the
Ddmx-fopen.rst13 Digital TV demux open()
19 Digital TV demux open()
32 Name of specific Digital TV demux device.
61 This system call, used with a device name of ``/dev/dvb/adapter?/demux?``,
68 all PES filters set in the corresponding demux device
69 (``/dev/dvb/adapter?/demux?``) having the output set to ``DMX_OUT_TS_TAP``.
/Linux-v5.4/drivers/media/pci/ttpci/
Dav7110.c286 if (!dvbdmxfilter->feed->demux->dmx.frontend) in DvbDmxFilterCallback()
288 if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE) in DvbDmxFilterCallback()
381 dvb_dmx_swfilter_packets(&av7110->demux, in debiirq()
388 if (av7110->demux.recording) in debiirq()
773 struct av7110 *av7110 = dvbdmxfeed->demux->priv; in StartHWFilter()
824 struct av7110 *av7110 = dvbdmxfilter->feed->demux->priv; in StopHWFilter()
861 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dvb_feed_start_pid()
904 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dvb_feed_stop_pid()
945 struct dvb_demux *demux = feed->demux; in av7110_start_feed() local
946 struct av7110 *av7110 = demux->priv; in av7110_start_feed()
[all …]
Dbudget-core.c198 dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188); in vpeirq()
201 dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188); in vpeirq()
203 dvb_dmx_swfilter_packets(&budget->demux, mem, newdma / 188); in vpeirq()
309 struct dvb_demux *demux = feed->demux; in budget_start_feed() local
310 struct budget *budget = (struct budget *) demux->priv; in budget_start_feed()
315 if (!demux->dmx.frontend) in budget_start_feed()
328 struct dvb_demux *demux = feed->demux; in budget_stop_feed() local
329 struct budget *budget = (struct budget *) demux->priv; in budget_stop_feed()
343 struct dvb_demux *dvbdemux = &budget->demux; in budget_register()
359 dvb_dmx_init(&budget->demux); in budget_register()
[all …]
/Linux-v5.4/drivers/media/usb/em28xx/
Dem28xx-dvb.c92 struct dvb_demux demux; member
176 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in em28xx_dvb_urb_data_copy()
187 dvb_dmx_swfilter(&dev->dvb->demux, in em28xx_dvb_urb_data_copy()
253 struct dvb_demux *demux = feed->demux; in em28xx_start_feed() local
254 struct em28xx_dvb *dvb = demux->priv; in em28xx_start_feed()
257 if (!demux->dmx.frontend) in em28xx_start_feed()
276 struct dvb_demux *demux = feed->demux; in em28xx_stop_feed() local
277 struct em28xx_dvb *dvb = demux->priv; in em28xx_stop_feed()
1026 dvb->demux.dmx.capabilities = in em28xx_register_dvb()
1029 dvb->demux.priv = dvb; in em28xx_register_dvb()
[all …]
/Linux-v5.4/drivers/media/usb/ttusb-dec/
Dttusb_dec.c98 struct dvb_demux demux; member
968 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in ttusb_dec_start_ts_feed()
1036 struct ttusb_dec *dec = dvbdmxfeed->demux->priv; in ttusb_dec_start_sec_feed()
1091 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in ttusb_dec_start_feed()
1119 struct ttusb_dec *dec = dvbdmxfeed->demux->priv; in ttusb_dec_stop_ts_feed()
1133 struct ttusb_dec *dec = dvbdmxfeed->demux->priv; in ttusb_dec_stop_sec_feed()
1479 dec->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in ttusb_dec_init_dvb()
1481 dec->demux.priv = (void *)dec; in ttusb_dec_init_dvb()
1482 dec->demux.filternum = 31; in ttusb_dec_init_dvb()
1483 dec->demux.feednum = 31; in ttusb_dec_init_dvb()
[all …]
/Linux-v5.4/drivers/media/pci/pt3/
Dpt3.c502 adap = container_of(feed->demux, struct pt3_adapter, demux); in pt3_start_feed()
515 adap = container_of(feed->demux, struct pt3_adapter, demux); in pt3_stop_feed()
552 adap->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in pt3_alloc_adapter()
553 adap->demux.priv = adap; in pt3_alloc_adapter()
554 adap->demux.feednum = 256; in pt3_alloc_adapter()
555 adap->demux.filternum = 256; in pt3_alloc_adapter()
556 adap->demux.start_feed = pt3_start_feed; in pt3_alloc_adapter()
557 adap->demux.stop_feed = pt3_stop_feed; in pt3_alloc_adapter()
558 ret = dvb_dmx_init(&adap->demux); in pt3_alloc_adapter()
565 adap->dmxdev.demux = &adap->demux.dmx; in pt3_alloc_adapter()
[all …]

12345