Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/drivers/media/platform/st/sti/c8sectpfe/
A Dc8sectpfe-common.c44 demux->dvb_demux.priv = demux; in register_dvb()
59 demux->dmxdev.filternum = demux->dvb_demux.filternum; in register_dvb()
60 demux->dmxdev.demux = &demux->dvb_demux.dmx; in register_dvb()
71 demux->hw_frontend.source = DMX_FRONTEND_0 + demux->tsin_index; in register_dvb()
73 result = demux->dvb_demux.dmx.add_frontend(&demux->dvb_demux.dmx, in register_dvb()
81 result = demux->dvb_demux.dmx.add_frontend(&demux->dvb_demux.dmx, in register_dvb()
88 result = demux->dvb_demux.dmx.connect_frontend(&demux->dvb_demux.dmx, in register_dvb()
98 demux->dvb_demux.dmx.remove_frontend(&demux->dvb_demux.dmx, in register_dvb()
101 demux->dvb_demux.dmx.remove_frontend(&demux->dvb_demux.dmx, in register_dvb()
115 demux->dvb_demux.dmx.remove_frontend(&demux->dvb_demux.dmx, in unregister_dvb()
[all …]
/linux-6.3-rc2/drivers/media/dvb-core/
A Ddvb_demux.c158 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_feed() local
234 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_copy_dump() local
547 i = demux->tsbufp; in _dvb_dmx_swfilter()
556 dvb_dmx_swfilter_packet(demux, demux->tsbuf); in _dvb_dmx_swfilter()
557 demux->tsbufp = 0; in _dvb_dmx_swfilter()
573 q = demux->tsbuf; in _dvb_dmx_swfilter()
609 demux->feed->cb.ts(buf, count, NULL, 0, &demux->feed->feed.ts, in dvb_dmx_swfilter_raw()
691 struct dvb_demux *demux = feed->demux; in dmx_ts_feed_set() local
731 struct dvb_demux *demux = feed->demux; in dmx_ts_feed_start_filtering() local
764 struct dvb_demux *demux = feed->demux; in dmx_ts_feed_stop_filtering() local
[all …]
A Ddmxdev.c106 head = demux->get_frontends(demux); in get_fe()
192 dmxdev->demux->disconnect_frontend(dmxdev->demux); in dvb_dvr_open()
193 dmxdev->demux->connect_frontend(dmxdev->demux, front); in dvb_dvr_open()
208 dmxdev->demux->disconnect_frontend(dmxdev->demux); in dvb_dvr_release()
209 dmxdev->demux->connect_frontend(dmxdev->demux, in dvb_dvr_release()
260 ret = dmxdev->demux->write(dmxdev->demux, buf, count); in dvb_dvr_write()
569 demux = dmxdevfilter->dev->demux; in dvb_dmxdev_filter_stop()
571 demux->release_ts_feed(demux, feed->ts); in dvb_dmxdev_filter_stop()
1102 ret = dmxdev->demux->get_stc(dmxdev->demux, in dvb_demux_do_ioctl()
1413 if (dmxdev->demux->open(dmxdev->demux) < 0) in dvb_dmxdev_init()
[all …]
/linux-6.3-rc2/drivers/media/firewire/
A Dfiredtv-dvb.c121 struct dvb_demux *demux = dvbdmxfeed->demux; in fdtv_stop_feed() local
172 fdtv->demux.priv = fdtv; in fdtv_dvb_register()
173 fdtv->demux.filternum = 16; in fdtv_dvb_register()
174 fdtv->demux.feednum = 16; in fdtv_dvb_register()
184 fdtv->dmxdev.demux = &fdtv->demux.dmx; in fdtv_dvb_register()
193 err = fdtv->demux.dmx.add_frontend(&fdtv->demux.dmx, &fdtv->frontend); in fdtv_dvb_register()
197 err = fdtv->demux.dmx.connect_frontend(&fdtv->demux.dmx, in fdtv_dvb_register()
220 fdtv->demux.dmx.close(&fdtv->demux.dmx); in fdtv_dvb_register()
222 fdtv->demux.dmx.remove_frontend(&fdtv->demux.dmx, &fdtv->frontend); in fdtv_dvb_register()
239 fdtv->demux.dmx.close(&fdtv->demux.dmx); in fdtv_dvb_unregister()
[all …]
/linux-6.3-rc2/drivers/media/common/b2c2/
A Dflexcop.c70 fc->demux.priv = fc; in flexcop_dvb_init()
71 fc->demux.filternum = fc->demux.feednum = FC_MAX_FEED; in flexcop_dvb_init()
85 fc->dmxdev.demux = &fc->demux.dmx; in flexcop_dvb_init()
93 ret = fc->demux.dmx.add_frontend(&fc->demux.dmx, &fc->hw_frontend); in flexcop_dvb_init()
100 ret = fc->demux.dmx.add_frontend(&fc->demux.dmx, &fc->mem_frontend); in flexcop_dvb_init()
122 fc->demux.dmx.disconnect_frontend(&fc->demux.dmx); in flexcop_dvb_init()
124 fc->demux.dmx.remove_frontend(&fc->demux.dmx, &fc->mem_frontend); in flexcop_dvb_init()
126 fc->demux.dmx.remove_frontend(&fc->demux.dmx, &fc->hw_frontend); in flexcop_dvb_init()
141 fc->demux.dmx.close(&fc->demux.dmx); in flexcop_dvb_exit()
142 fc->demux.dmx.remove_frontend(&fc->demux.dmx, in flexcop_dvb_exit()
[all …]
/linux-6.3-rc2/drivers/media/common/videobuf2/
A Dvideobuf2-dvb.c37 struct dvb_demux *demux = feed->demux; in vb2_dvb_start_feed() local
41 if (!demux->dmx.frontend) in vb2_dvb_start_feed()
60 struct dvb_demux *demux = feed->demux; in vb2_dvb_stop_feed() local
131 dvb->dmxdev.demux = &dvb->demux.dmx; in vb2_dvb_register_frontend()
142 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in vb2_dvb_register_frontend()
150 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in vb2_dvb_register_frontend()
157 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in vb2_dvb_register_frontend()
174 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in vb2_dvb_register_frontend()
176 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in vb2_dvb_register_frontend()
325 fe->dvb.demux.dmx.remove_frontend(&fe->dvb.demux.dmx, in vb2_dvb_dealloc_frontends()
[all …]
/linux-6.3-rc2/drivers/media/pci/mantis/
A Dmantis_dvb.c159 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()
175 mantis->dmxdev.demux = &mantis->demux.dmx; in mantis_dvb_init()
187 result = mantis->demux.dmx.add_frontend(&mantis->demux.dmx, &mantis->fe_hw); in mantis_dvb_init()
195 result = mantis->demux.dmx.add_frontend(&mantis->demux.dmx, &mantis->fe_mem); in mantis_dvb_init()
201 result = mantis->demux.dmx.connect_frontend(&mantis->demux.dmx, &mantis->fe_hw); in mantis_dvb_init()
245 mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem); in mantis_dvb_init()
248 mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_hw); in mantis_dvb_init()
279 mantis->demux.dmx.remove_frontend(&mantis->demux.dmx, &mantis->fe_mem); in mantis_dvb_exit()
[all …]
/linux-6.3-rc2/include/media/
A Ddemux.h564 int (*open)(struct dmx_demux *demux);
565 int (*close)(struct dmx_demux *demux);
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,
583 int (*connect_frontend)(struct dmx_demux *demux,
585 int (*disconnect_frontend)(struct dmx_demux *demux);
[all …]
A 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-6.3-rc2/drivers/media/usb/au0828/
A Dau0828-dvb.c275 struct dvb_demux *demux = feed->demux; in au0828_dvb_start_feed() local
282 if (!demux->dmx.frontend) in au0828_dvb_start_feed()
307 struct dvb_demux *demux = feed->demux; in au0828_dvb_stop_feed() local
463 dvb->dmxdev.demux = &dvb->demux.dmx; in dvb_register()
472 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
480 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
487 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
508 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
510 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
543 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in au0828_dvb_unregister()
[all …]
/linux-6.3-rc2/drivers/media/spi/
A Dcxd2880-spi.c47 struct dvb_demux demux; member
334 demux = feed->demux; in cxd2880_start_feed()
335 if (!demux) { in cxd2880_start_feed()
339 dvb_spi = demux->priv; in cxd2880_start_feed()
432 demux = feed->demux; in cxd2880_stop_feed()
433 if (!demux) { in cxd2880_stop_feed()
579 dvb_spi->dmxdev.demux = &dvb_spi->demux.dmx; in cxd2880_spi_probe()
589 ret = dvb_spi->demux.dmx.add_frontend(&dvb_spi->demux.dmx, in cxd2880_spi_probe()
596 ret = dvb_spi->demux.dmx.connect_frontend(&dvb_spi->demux.dmx, in cxd2880_spi_probe()
608 dvb_spi->demux.dmx.remove_frontend(&dvb_spi->demux.dmx, in cxd2880_spi_probe()
[all …]
/linux-6.3-rc2/Documentation/driver-api/media/
A 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
37 Whenever the functions of the demux API modify shared data, the
53 provided by the client and called from the demux code.
76 High-level Digital TV demux interface
81 Driver-internal low-level hardware specific driver demux interface
[all …]
/linux-6.3-rc2/drivers/media/test-drivers/vidtv/
A Dvidtv_bridge.c219 struct dvb_demux *demux = feed->demux; in vidtv_start_feed() local
224 if (!demux->dmx.frontend) in vidtv_start_feed()
244 struct dvb_demux *demux = feed->demux; in vidtv_stop_feed() local
322 dvb->demux.priv = dvb; in vidtv_bridge_dmx_init()
323 dvb->demux.filternum = 256; in vidtv_bridge_dmx_init()
324 dvb->demux.feednum = 256; in vidtv_bridge_dmx_init()
334 dvb->dmx_dev.demux = &dvb->demux.dmx; in vidtv_bridge_dmxdev_init()
444 ret = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, in vidtv_bridge_dvb_init()
460 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, in vidtv_bridge_dvb_init()
464 dvb_dmx_release(&dvb->demux); in vidtv_bridge_dvb_init()
[all …]
/linux-6.3-rc2/drivers/media/usb/dvb-usb/
A Ddvb-usb-dvb.c16 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed()
173 adap->demux.priv = adap; in dvb_usb_adapter_dvb_init()
175 adap->demux.filternum = 0; in dvb_usb_adapter_dvb_init()
180 adap->demux.feednum = adap->demux.filternum; in dvb_usb_adapter_dvb_init()
183 adap->demux.write_to_decoder = NULL; in dvb_usb_adapter_dvb_init()
184 if ((ret = dvb_dmx_init(&adap->demux)) < 0) { in dvb_usb_adapter_dvb_init()
190 adap->dmxdev.demux = &adap->demux.dmx; in dvb_usb_adapter_dvb_init()
198 &adap->demux.dmx)) < 0) { in dvb_usb_adapter_dvb_init()
209 dvb_dmx_release(&adap->demux); in dvb_usb_adapter_dvb_init()
223 adap->demux.dmx.close(&adap->demux.dmx); in dvb_usb_adapter_dvb_exit()
[all …]
/linux-6.3-rc2/drivers/media/pci/saa7164/
A Dsaa7164-dvb.c282 struct dvb_demux *demux = feed->demux; in saa7164_dvb_start_feed() local
290 if (!demux->dmx.frontend) in saa7164_dvb_start_feed()
309 struct dvb_demux *demux = feed->demux; in saa7164_dvb_stop_feed() local
418 dvb->dmxdev.demux = &dvb->demux.dmx; in dvb_register()
428 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
436 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
443 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
455 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in dvb_register()
457 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in dvb_register()
510 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in saa7164_dvb_unregister()
[all …]
/linux-6.3-rc2/drivers/media/usb/pvrusb2/
A Dpvrusb2-dvb.c44 &adap->demux, in pvr2_dvb_feed_func()
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()
266 adap->demux.write_to_decoder = NULL; in pvr2_dvb_adapter_init()
268 ret = dvb_dmx_init(&adap->demux); in pvr2_dvb_adapter_init()
276 adap->dmxdev.demux = &adap->demux.dmx; in pvr2_dvb_adapter_init()
291 dvb_dmx_release(&adap->demux); in pvr2_dvb_adapter_init()
302 adap->demux.dmx.close(&adap->demux.dmx); in pvr2_dvb_adapter_exit()
[all …]
/linux-6.3-rc2/drivers/media/usb/cx231xx/
A Dcx231xx-dvb.c59 struct dvb_demux demux; member
309 struct dvb_demux *demux = feed->demux; in start_feed() local
332 struct dvb_demux *demux = feed->demux; in stop_feed() local
522 dvb->dmxdev.demux = &dvb->demux.dmx; in register_dvb()
533 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in register_dvb()
542 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in register_dvb()
550 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in register_dvb()
570 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in register_dvb()
572 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in register_dvb()
594 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in unregister_dvb()
[all …]
/linux-6.3-rc2/drivers/media/pci/bt8xx/
A Ddvb-bt8xx.c51 (&card->demux, in dvb_bt8xx_task()
730 card->demux.priv = card; in dvb_bt8xx_load_card()
744 card->dmxdev.demux = &card->demux.dmx; in dvb_bt8xx_load_card()
755 result = card->demux.dmx.add_frontend(&card->demux.dmx, &card->fe_hw); in dvb_bt8xx_load_card()
763 result = card->demux.dmx.add_frontend(&card->demux.dmx, &card->fe_mem); in dvb_bt8xx_load_card()
769 result = card->demux.dmx.connect_frontend(&card->demux.dmx, &card->fe_hw); in dvb_bt8xx_load_card()
788 card->demux.dmx.disconnect_frontend(&card->demux.dmx); in dvb_bt8xx_load_card()
790 card->demux.dmx.remove_frontend(&card->demux.dmx, &card->fe_mem); in dvb_bt8xx_load_card()
792 card->demux.dmx.remove_frontend(&card->demux.dmx, &card->fe_hw); in dvb_bt8xx_load_card()
923 card->demux.dmx.remove_frontend(&card->demux.dmx, &card->fe_mem); in dvb_bt8xx_remove()
[all …]
/linux-6.3-rc2/Documentation/userspace-api/media/dvb/
A Ddmx-fwrite.rst7 Digital TV demux write()
13 Digital TV demux write()
36 ``/dev/dvb/adapter?/dvr?``, associated with the physical demux device that
39 in the corresponding physical demux device, ``/dev/dvb/adapter?/demux?``.
65 corresponding demux device is setup to receive data from the
A Ddmx-fopen.rst7 Digital TV demux open()
13 Digital TV demux open()
24 Name of specific Digital TV demux device.
52 This system call, used with a device name of ``/dev/dvb/adapter?/demux?``,
59 all PES filters set in the corresponding demux device
60 (``/dev/dvb/adapter?/demux?``) having the output set to ``DMX_OUT_TS_TAP``.
/linux-6.3-rc2/drivers/media/pci/ttpci/
A Dbudget-core.c310 struct dvb_demux *demux = feed->demux; in budget_start_feed() local
311 struct budget *budget = (struct budget *) demux->priv; in budget_start_feed()
316 if (!demux->dmx.frontend) in budget_start_feed()
329 struct dvb_demux *demux = feed->demux; in budget_stop_feed() local
330 struct budget *budget = (struct budget *) demux->priv; in budget_stop_feed()
344 struct dvb_demux *dvbdemux = &budget->demux; in budget_register()
360 dvb_dmx_init(&budget->demux); in budget_register()
363 budget->dmxdev.demux = &dvbdemux->dmx; in budget_register()
390 dvb_dmx_release(&budget->demux); in budget_register()
396 struct dvb_demux *dvbdemux = &budget->demux; in budget_unregister()
[all …]
/linux-6.3-rc2/drivers/staging/media/av7110/
A Dav7110.c388 if (av7110->demux.recording) in debiirq()
946 struct dvb_demux *demux = feed->demux; in av7110_start_feed() local
952 if (!demux->dmx.frontend) in av7110_start_feed()
971 demux->playing = 1; in av7110_start_feed()
1014 struct dvb_demux *demux = feed->demux; in av7110_stop_feed() local
1109 BUG_ON(!demux); in dvb_get_stc()
1110 dvbdemux = demux->priv; in dvb_get_stc()
1206 struct dvb_demux *demux = feed->demux; in budget_start_feed() local
1221 struct dvb_demux *demux = feed->demux; in budget_stop_feed() local
1239 struct dvb_demux *demux = budget->full_ts ? &budget->demux : &budget->demux1; in vpeirq() local
[all …]
/linux-6.3-rc2/drivers/media/usb/ttusb-dec/
A Dttusb_dec.c98 struct dvb_demux demux; member
1474 dec->demux.priv = (void *)dec; in ttusb_dec_init_dvb()
1475 dec->demux.filternum = 31; in ttusb_dec_init_dvb()
1476 dec->demux.feednum = 31; in ttusb_dec_init_dvb()
1491 dec->dmxdev.demux = &dec->demux.dmx; in ttusb_dec_init_dvb()
1506 if ((result = dec->demux.dmx.add_frontend(&dec->demux.dmx, in ttusb_dec_init_dvb()
1518 if ((result = dec->demux.dmx.connect_frontend(&dec->demux.dmx, in ttusb_dec_init_dvb()
1523 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); in ttusb_dec_init_dvb()
1541 dec->demux.dmx.close(&dec->demux.dmx); in ttusb_dec_exit_dvb()
1542 dec->demux.dmx.remove_frontend(&dec->demux.dmx, &dec->frontend); in ttusb_dec_exit_dvb()
[all …]
/linux-6.3-rc2/drivers/media/usb/em28xx/
A Dem28xx-dvb.c250 struct dvb_demux *demux = feed->demux; in em28xx_start_feed() local
254 if (!demux->dmx.frontend) in em28xx_start_feed()
273 struct dvb_demux *demux = feed->demux; in em28xx_stop_feed() local
1041 dvb->dmxdev.demux = &dvb->demux.dmx; in em28xx_register_dvb()
1052 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_hw); in em28xx_register_dvb()
1061 result = dvb->demux.dmx.add_frontend(&dvb->demux.dmx, &dvb->fe_mem); in em28xx_register_dvb()
1069 result = dvb->demux.dmx.connect_frontend(&dvb->demux.dmx, &dvb->fe_hw); in em28xx_register_dvb()
1093 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in em28xx_register_dvb()
1095 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_hw); in em28xx_register_dvb()
1117 dvb->demux.dmx.remove_frontend(&dvb->demux.dmx, &dvb->fe_mem); in em28xx_unregister_dvb()
[all …]
/linux-6.3-rc2/drivers/media/pci/pt3/
A 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()
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()
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()
584 dvb_dmx_release(&adap->demux); in pt3_alloc_adapter()
607 dmx = &adap->demux.dmx; in pt3_cleanup_adapter()
[all …]

Completed in 80 milliseconds

12345