/drivers/media/dvb-core/ |
D | dvb_demux.c | 160 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_feed() local 174 demux->check_crc32(feed, sec->secbuf, sec->seclen)) in dvb_dmx_swfilter_section_feed() 237 struct dvb_demux *demux = feed->demux; in dvb_dmx_swfilter_section_copy_dump() local 256 demux->memcopy(feed, sec->secbuf_base + sec->tsfeedp, buf, len); in dvb_dmx_swfilter_section_copy_dump() 374 if (feed->demux->write_to_decoder) in dvb_dmx_swfilter_packet_type() 375 feed->demux->write_to_decoder(feed, buf, 188); in dvb_dmx_swfilter_packet_type() 395 static void dvb_dmx_swfilter_packet(struct dvb_demux *demux, const u8 *buf) in dvb_dmx_swfilter_packet() argument 405 demux->speed_pkts_cnt++; in dvb_dmx_swfilter_packet() 408 if (!(demux->speed_pkts_cnt % SPEED_PKTS_INTERVAL)) { in dvb_dmx_swfilter_packet() 411 if (demux->speed_last_time.tv_sec != 0 && in dvb_dmx_swfilter_packet() [all …]
|
D | demux.h | 209 int (*open) (struct dmx_demux* demux); 210 int (*close) (struct dmx_demux* demux); 211 int (*write) (struct dmx_demux* demux, const char __user *buf, size_t count); 212 int (*allocate_ts_feed) (struct dmx_demux* demux, 215 int (*release_ts_feed) (struct dmx_demux* demux, 217 int (*allocate_section_feed) (struct dmx_demux* demux, 220 int (*release_section_feed) (struct dmx_demux* demux, 222 int (*add_frontend) (struct dmx_demux* demux, 224 int (*remove_frontend) (struct dmx_demux* demux, 226 struct list_head* (*get_frontends) (struct dmx_demux* demux); [all …]
|
D | dmxdev.c | 109 static struct dmx_frontend *get_fe(struct dmx_demux *demux, int type) in get_fe() argument 113 head = demux->get_frontends(demux); in get_fe() 162 dmxdev->dvr_orig_fe = dmxdev->demux->frontend; in dvb_dvr_open() 164 if (!dmxdev->demux->write) { in dvb_dvr_open() 169 front = get_fe(dmxdev->demux, DMX_MEMORY_FE); in dvb_dvr_open() 175 dmxdev->demux->disconnect_frontend(dmxdev->demux); in dvb_dvr_open() 176 dmxdev->demux->connect_frontend(dmxdev->demux, front); in dvb_dvr_open() 191 dmxdev->demux->disconnect_frontend(dmxdev->demux); in dvb_dvr_release() 192 dmxdev->demux->connect_frontend(dmxdev->demux, in dvb_dvr_release() 226 if (!dmxdev->demux->write) in dvb_dvr_write() [all …]
|
D | dvb_demux.h | 78 struct dvb_demux *demux; member 145 void dvb_dmx_swfilter(struct dvb_demux *demux, const u8 *buf, size_t count); 146 void dvb_dmx_swfilter_204(struct dvb_demux *demux, const u8 *buf, 148 void dvb_dmx_swfilter_raw(struct dvb_demux *demux, const u8 *buf,
|
/drivers/media/firewire/ |
D | firedtv-dvb.c | 55 struct firedtv *fdtv = dvbdmxfeed->demux->priv; in fdtv_start_feed() 125 struct dvb_demux *demux = dvbdmxfeed->demux; in fdtv_stop_feed() local 126 struct firedtv *fdtv = demux->priv; in fdtv_stop_feed() 132 (demux->dmx.frontend->source != DMX_MEMORY_FE))) { in fdtv_stop_feed() 136 !demux->pesfilter[dvbdmxfeed->pes_type]) in fdtv_stop_feed() 139 demux->pids[dvbdmxfeed->pes_type] |= 0x8000; in fdtv_stop_feed() 140 demux->pesfilter[dvbdmxfeed->pes_type] = NULL; in fdtv_stop_feed() 174 fdtv->demux.dmx.capabilities = 0; in fdtv_dvb_register() 176 fdtv->demux.priv = fdtv; in fdtv_dvb_register() 177 fdtv->demux.filternum = 16; in fdtv_dvb_register() [all …]
|
/drivers/media/common/b2c2/ |
D | flexcop.c | 61 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_start_feed() 67 struct flexcop_device *fc = dvbdmxfeed->demux->priv; in flexcop_dvb_stop_feed() 82 fc->demux.dmx.capabilities = (DMX_TS_FILTERING | DMX_SECTION_FILTERING in flexcop_dvb_init() 84 fc->demux.priv = fc; in flexcop_dvb_init() 85 fc->demux.filternum = fc->demux.feednum = FC_MAX_FEED; in flexcop_dvb_init() 86 fc->demux.start_feed = flexcop_dvb_start_feed; in flexcop_dvb_init() 87 fc->demux.stop_feed = flexcop_dvb_stop_feed; in flexcop_dvb_init() 88 fc->demux.write_to_decoder = NULL; in flexcop_dvb_init() 90 ret = dvb_dmx_init(&fc->demux); in flexcop_dvb_init() 98 fc->dmxdev.filternum = fc->demux.feednum; in flexcop_dvb_init() [all …]
|
/drivers/media/pci/mantis/ |
D | mantis_dvb.c | 105 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in mantis_dvb_start_feed() 128 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in mantis_dvb_stop_feed() 167 mantis->demux.dmx.capabilities = DMX_TS_FILTERING | in mantis_dvb_init() 171 mantis->demux.priv = mantis; in mantis_dvb_init() 172 mantis->demux.filternum = 256; in mantis_dvb_init() 173 mantis->demux.feednum = 256; in mantis_dvb_init() 174 mantis->demux.start_feed = mantis_dvb_start_feed; in mantis_dvb_init() 175 mantis->demux.stop_feed = mantis_dvb_stop_feed; in mantis_dvb_init() 176 mantis->demux.write_to_decoder = NULL; in mantis_dvb_init() 179 result = dvb_dmx_init(&mantis->demux); in mantis_dvb_init() [all …]
|
/drivers/media/v4l2-core/ |
D | videobuf-dvb.c | 72 dvb_dmx_swfilter(&dvb->demux, outp, in videobuf_dvb_thread() 95 struct dvb_demux *demux = feed->demux; in videobuf_dvb_start_feed() local 96 struct videobuf_dvb *dvb = demux->priv; in videobuf_dvb_start_feed() 99 if (!demux->dmx.frontend) in videobuf_dvb_start_feed() 122 struct dvb_demux *demux = feed->demux; in videobuf_dvb_stop_feed() local 123 struct videobuf_dvb *dvb = demux->priv; in videobuf_dvb_stop_feed() 175 dvb->demux.dmx.capabilities = in videobuf_dvb_register_frontend() 178 dvb->demux.priv = dvb; in videobuf_dvb_register_frontend() 179 dvb->demux.filternum = 256; in videobuf_dvb_register_frontend() 180 dvb->demux.feednum = 256; in videobuf_dvb_register_frontend() [all …]
|
/drivers/media/usb/au0828/ |
D | au0828-dvb.c | 138 dvb_dmx_swfilter_packets(&dev->dvb.demux, in urb_completion() 222 struct dvb_demux *demux = feed->demux; in au0828_dvb_start_feed() local 223 struct au0828_dev *dev = (struct au0828_dev *) demux->priv; in au0828_dvb_start_feed() 229 if (!demux->dmx.frontend) in au0828_dvb_start_feed() 250 struct dvb_demux *demux = feed->demux; in au0828_dvb_stop_feed() local 251 struct au0828_dev *dev = (struct au0828_dev *) demux->priv; in au0828_dvb_stop_feed() 328 dvb->demux.dmx.capabilities = in dvb_register() 331 dvb->demux.priv = dev; in dvb_register() 332 dvb->demux.filternum = 256; in dvb_register() 333 dvb->demux.feednum = 256; in dvb_register() [all …]
|
/drivers/media/pci/saa7164/ |
D | saa7164-dvb.c | 234 struct dvb_demux *demux = feed->demux; in saa7164_dvb_start_feed() local 235 struct saa7164_port *port = (struct saa7164_port *) demux->priv; in saa7164_dvb_start_feed() 242 if (!demux->dmx.frontend) in saa7164_dvb_start_feed() 261 struct dvb_demux *demux = feed->demux; in saa7164_dvb_stop_feed() local 262 struct saa7164_port *port = (struct saa7164_port *) demux->priv; in saa7164_dvb_stop_feed() 357 dvb->demux.dmx.capabilities = in dvb_register() 360 dvb->demux.priv = port; in dvb_register() 361 dvb->demux.filternum = 256; in dvb_register() 362 dvb->demux.feednum = 256; in dvb_register() 363 dvb->demux.start_feed = saa7164_dvb_start_feed; in dvb_register() [all …]
|
/drivers/media/usb/cx231xx/ |
D | cx231xx-dvb.c | 65 struct dvb_demux demux; member 217 dvb_dmx_swfilter(&dev->dvb->demux, in dvb_isoc_copy() 241 dvb_dmx_swfilter(&dev->dvb->demux, in dvb_bulk_copy() 298 struct dvb_demux *demux = feed->demux; in start_feed() local 299 struct cx231xx_dvb *dvb = demux->priv; in start_feed() 302 if (!demux->dmx.frontend) in start_feed() 321 struct dvb_demux *demux = feed->demux; in stop_feed() local 322 struct cx231xx_dvb *dvb = demux->priv; in stop_feed() 477 dvb->demux.dmx.capabilities = in register_dvb() 480 dvb->demux.priv = dvb; in register_dvb() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | dvb-usb-dvb.c | 14 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed() 118 adap->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in dvb_usb_adapter_dvb_init() 119 adap->demux.priv = adap; in dvb_usb_adapter_dvb_init() 121 adap->demux.filternum = 0; in dvb_usb_adapter_dvb_init() 123 if (adap->demux.filternum < adap->fe_adap[i].max_feed_count) in dvb_usb_adapter_dvb_init() 124 adap->demux.filternum = adap->fe_adap[i].max_feed_count; in dvb_usb_adapter_dvb_init() 126 adap->demux.feednum = adap->demux.filternum; in dvb_usb_adapter_dvb_init() 127 adap->demux.start_feed = dvb_usb_start_feed; in dvb_usb_adapter_dvb_init() 128 adap->demux.stop_feed = dvb_usb_stop_feed; in dvb_usb_adapter_dvb_init() 129 adap->demux.write_to_decoder = NULL; in dvb_usb_adapter_dvb_init() [all …]
|
/drivers/media/usb/tm6000/ |
D | tm6000-dvb.c | 105 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in tm6000_urb_received() 195 struct dvb_demux *demux = feed->demux; in tm6000_start_feed() local 196 struct tm6000_core *dev = demux->priv; in tm6000_start_feed() 214 struct dvb_demux *demux = feed->demux; in tm6000_stop_feed() local 215 struct tm6000_core *dev = demux->priv; in tm6000_stop_feed() 333 dvb->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING in register_dvb() 335 dvb->demux.priv = dev; in register_dvb() 336 dvb->demux.filternum = 8; in register_dvb() 337 dvb->demux.feednum = 8; in register_dvb() 338 dvb->demux.start_feed = tm6000_start_feed; in register_dvb() [all …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-dvb.c | 57 &adap->demux, in pvr2_dvb_feed_func() 207 struct pvr2_dvb_adapter *adap = dvbdmxfeed->demux->priv; in pvr2_dvb_ctrl_feed() 271 adap->demux.dmx.capabilities = DMX_TS_FILTERING | in pvr2_dvb_adapter_init() 274 adap->demux.priv = adap; in pvr2_dvb_adapter_init() 275 adap->demux.filternum = 256; in pvr2_dvb_adapter_init() 276 adap->demux.feednum = 256; in pvr2_dvb_adapter_init() 277 adap->demux.start_feed = pvr2_dvb_start_feed; in pvr2_dvb_adapter_init() 278 adap->demux.stop_feed = pvr2_dvb_stop_feed; in pvr2_dvb_adapter_init() 279 adap->demux.write_to_decoder = NULL; in pvr2_dvb_adapter_init() 281 ret = dvb_dmx_init(&adap->demux); in pvr2_dvb_adapter_init() [all …]
|
/drivers/media/pci/bt8xx/ |
D | dvb-bt8xx.c | 62 (&card->demux, in dvb_bt8xx_task() 73 struct dvb_demux*dvbdmx = dvbdmxfeed->demux; in dvb_bt8xx_start_feed() 94 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dvb_bt8xx_stop_feed() 739 memset(&card->demux, 0, sizeof(struct dvb_demux)); in dvb_bt8xx_load_card() 741 …card->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING | DMX_MEMORY_BASED_FILTERI… in dvb_bt8xx_load_card() 743 card->demux.priv = card; in dvb_bt8xx_load_card() 744 card->demux.filternum = 256; in dvb_bt8xx_load_card() 745 card->demux.feednum = 256; in dvb_bt8xx_load_card() 746 card->demux.start_feed = dvb_bt8xx_start_feed; in dvb_bt8xx_load_card() 747 card->demux.stop_feed = dvb_bt8xx_stop_feed; in dvb_bt8xx_load_card() [all …]
|
/drivers/media/usb/em28xx/ |
D | em28xx-dvb.c | 79 struct dvb_demux demux; member 159 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in em28xx_dvb_urb_data_copy() 168 dvb_dmx_swfilter(&dev->dvb->demux, in em28xx_dvb_urb_data_copy() 231 struct dvb_demux *demux = feed->demux; in em28xx_start_feed() local 232 struct em28xx_dvb *dvb = demux->priv; in em28xx_start_feed() 235 if (!demux->dmx.frontend) in em28xx_start_feed() 254 struct dvb_demux *demux = feed->demux; in em28xx_stop_feed() local 255 struct em28xx_dvb *dvb = demux->priv; in em28xx_stop_feed() 866 dvb->demux.dmx.capabilities = in em28xx_register_dvb() 869 dvb->demux.priv = dvb; in em28xx_register_dvb() [all …]
|
/drivers/media/pci/ttpci/ |
D | av7110.c | 309 if (!dvbdmxfilter->feed->demux->dmx.frontend) in DvbDmxFilterCallback() 311 if (dvbdmxfilter->feed->demux->dmx.frontend->source == DMX_MEMORY_FE) in DvbDmxFilterCallback() 404 dvb_dmx_swfilter_packets(&av7110->demux, in debiirq() 411 if (av7110->demux.recording) in debiirq() 805 struct av7110 *av7110 = dvbdmxfeed->demux->priv; in StartHWFilter() 857 struct av7110 *av7110 = dvbdmxfilter->feed->demux->priv; in StopHWFilter() 895 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dvb_feed_start_pid() 938 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in dvb_feed_stop_pid() 979 struct dvb_demux *demux = feed->demux; in av7110_start_feed() local 980 struct av7110 *av7110 = demux->priv; in av7110_start_feed() [all …]
|
D | budget-core.c | 214 dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188); in vpeirq() 217 dvb_dmx_swfilter_packets(&budget->demux, mem + olddma, count / 188); in vpeirq() 219 dvb_dmx_swfilter_packets(&budget->demux, mem, newdma / 188); in vpeirq() 316 struct dvb_demux *demux = feed->demux; in budget_start_feed() local 317 struct budget *budget = (struct budget *) demux->priv; in budget_start_feed() 322 if (!demux->dmx.frontend) in budget_start_feed() 335 struct dvb_demux *demux = feed->demux; in budget_stop_feed() local 336 struct budget *budget = (struct budget *) demux->priv; in budget_stop_feed() 350 struct dvb_demux *dvbdemux = &budget->demux; in budget_register() 366 dvb_dmx_init(&budget->demux); in budget_register() [all …]
|
/drivers/media/pci/pt1/ |
D | pt1.c | 99 struct dvb_demux demux; member 307 dvb_dmx_swfilter_packets(&adap->demux, buf, 21); in pt1_filter() 508 adap = container_of(feed->demux, struct pt1_adapter, demux); in pt1_start_feed() 538 adap = container_of(feed->demux, struct pt1_adapter, demux); in pt1_stop_feed() 626 adap->demux.dmx.close(&adap->demux.dmx); in pt1_free_adapter() 628 dvb_dmx_release(&adap->demux); in pt1_free_adapter() 642 struct dvb_demux *demux; in pt1_alloc_adapter() local 675 demux = &adap->demux; in pt1_alloc_adapter() 676 demux->dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in pt1_alloc_adapter() 677 demux->priv = adap; in pt1_alloc_adapter() [all …]
|
/drivers/media/usb/ttusb-dec/ |
D | ttusb_dec.c | 104 struct dvb_demux demux; member 932 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in ttusb_dec_start_ts_feed() 1000 struct ttusb_dec *dec = dvbdmxfeed->demux->priv; in ttusb_dec_start_sec_feed() 1055 struct dvb_demux *dvbdmx = dvbdmxfeed->demux; in ttusb_dec_start_feed() 1083 struct ttusb_dec *dec = dvbdmxfeed->demux->priv; in ttusb_dec_stop_ts_feed() 1097 struct ttusb_dec *dec = dvbdmxfeed->demux->priv; in ttusb_dec_stop_sec_feed() 1459 dec->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in ttusb_dec_init_dvb() 1461 dec->demux.priv = (void *)dec; in ttusb_dec_init_dvb() 1462 dec->demux.filternum = 31; in ttusb_dec_init_dvb() 1463 dec->demux.feednum = 31; in ttusb_dec_init_dvb() [all …]
|
/drivers/staging/media/as102/ |
D | as102_drv.c | 152 struct dvb_demux *demux = dvbdmxfeed->demux; in as102_dvb_dmx_start_feed() local 153 struct as102_dev_t *as102_dev = demux->priv; in as102_dvb_dmx_start_feed() 174 struct dvb_demux *demux = dvbdmxfeed->demux; in as102_dvb_dmx_stop_feed() local 175 struct as102_dev_t *as102_dev = demux->priv; in as102_dvb_dmx_stop_feed() 218 as102_dev->dvb_dmxdev.demux = &as102_dev->dvb_dmx.dmx; in as102_dvb_register()
|
/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_core.c | 219 dvb_dmx_swfilter(&adap->demux, buf, len); in dvb_usb_data_complete() 226 dvb_dmx_swfilter_204(&adap->demux, buf, len); in dvb_usb_data_complete_204() 233 dvb_dmx_swfilter_raw(&adap->demux, buf, len); in dvb_usb_data_complete_raw() 265 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_start_feed() 354 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_stop_feed() 437 adap->demux.dmx.capabilities = DMX_TS_FILTERING | DMX_SECTION_FILTERING; in dvb_usbv2_adapter_dvb_init() 438 adap->demux.priv = adap; in dvb_usbv2_adapter_dvb_init() 439 adap->demux.filternum = 0; in dvb_usbv2_adapter_dvb_init() 440 adap->demux.filternum = adap->max_feed_count; in dvb_usbv2_adapter_dvb_init() 441 adap->demux.feednum = adap->demux.filternum; in dvb_usbv2_adapter_dvb_init() [all …]
|
/drivers/media/pci/cx23885/ |
D | altera-ci.c | 129 struct dvb_demux *demux; member 175 if (temp_int->pid_filt[filt_nr]->demux == demux_dev) in check_filter() 473 pid_filt->demux->start_feed = pid_filt->start_feed; in altera_hw_filt_release() 474 pid_filt->demux->stop_feed = pid_filt->stop_feed; in altera_hw_filt_release() 609 altera_pid_feed_control(feed->demux, num, feed, 1); in altera_ci_start_feed() 616 altera_pid_feed_control(feed->demux, num, feed, 0); in altera_ci_stop_feed() 680 pid_filt->demux = config->demux; in altera_hw_filt_init() 684 pid_filt->start_feed = config->demux->start_feed; in altera_hw_filt_init() 685 pid_filt->stop_feed = config->demux->stop_feed; in altera_hw_filt_init() 688 pid_filt->demux->start_feed = altera_ci_start_feed_1; in altera_hw_filt_init() [all …]
|
/drivers/media/usb/tlg2300/ |
D | pd-dvb.c | 374 struct dvb_demux *demux = &pd_dvb->demux; in dvb_urb_irq() local 384 dvb_dmx_swfilter(demux, urb->transfer_buffer, len); in dvb_urb_irq() 395 dvb_dmx_swfilter(demux, buf, offset); in dvb_urb_irq() 400 dvb_dmx_swfilter(demux, buf, len); in dvb_urb_irq() 493 struct pd_dvb_adapter *pd_dvb = feed->demux->priv; in pd_start_feed() 505 struct pd_dvb_adapter *pd_dvb = feed->demux->priv; in pd_stop_feed() 543 dvbdemux = &pd_dvb->demux; in pd_dvb_usb_device_init() 555 pd_dvb->dmxdev.filternum = pd_dvb->demux.filternum; in pd_dvb_usb_device_init() 556 pd_dvb->dmxdev.demux = &pd_dvb->demux.dmx; in pd_dvb_usb_device_init()
|
/drivers/media/pci/cx18/ |
D | cx18-dvb.c | 252 struct dvb_demux *demux = feed->demux; in cx18_dvb_start_feed() local 253 struct cx18_stream *stream = (struct cx18_stream *) demux->priv; in cx18_dvb_start_feed() 297 if (!demux->dmx.frontend) in cx18_dvb_start_feed() 323 struct dvb_demux *demux = feed->demux; in cx18_dvb_stop_feed() local 324 struct cx18_stream *stream = (struct cx18_stream *)demux->priv; in cx18_dvb_stop_feed() 370 dvbdemux = &dvb->demux; in cx18_dvb_register() 389 dvb->dmxdev.demux = dmx; in cx18_dvb_register() 453 dvbdemux = &dvb->demux; in cx18_dvb_unregister()
|