Home
last modified time | relevance | path

Searched refs:dmxdev (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.12.1/drivers/media/dvb-core/
Ddmxdev.c119 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_open() local
125 if (mutex_lock_interruptible(&dmxdev->mutex)) in dvb_dvr_open()
128 if (dmxdev->exit) { in dvb_dvr_open()
129 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
133 dmxdev->may_do_mmap = 0; in dvb_dvr_open()
148 if (!(dmxdev->capabilities & DMXDEV_CAP_DUPLEX)) { in dvb_dvr_open()
150 dmxdev->may_do_mmap = 1; in dvb_dvr_open()
153 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
163 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
168 mutex_unlock(&dmxdev->mutex); in dvb_dvr_open()
[all …]
/linux-6.12.1/include/media/
Ddmxdev.h142 struct dmxdev *dev;
173 struct dmxdev { struct
204 int dvb_dmxdev_init(struct dmxdev *dmxdev, struct dvb_adapter *adap);
211 void dvb_dmxdev_release(struct dmxdev *dmxdev);
Dvideobuf2-dvb.h33 struct dmxdev dmxdev; member
/linux-6.12.1/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-common.c59 demux->dmxdev.filternum = demux->dvb_demux.filternum; in register_dvb()
60 demux->dmxdev.demux = &demux->dvb_demux.dmx; in register_dvb()
61 demux->dmxdev.capabilities = 0; in register_dvb()
63 result = dvb_dmxdev_init(&demux->dmxdev, adap); in register_dvb()
104 dvb_dmxdev_release(&demux->dmxdev); in register_dvb()
121 dvb_dmxdev_release(&demux->dmxdev); in unregister_dvb()
Dc8sectpfe-common.h34 struct dmxdev dmxdev; member
/linux-6.12.1/drivers/media/firewire/
Dfiredtv-dvb.c183 fdtv->dmxdev.filternum = 16; in fdtv_dvb_register()
184 fdtv->dmxdev.demux = &fdtv->demux.dmx; in fdtv_dvb_register()
185 fdtv->dmxdev.capabilities = 0; in fdtv_dvb_register()
187 err = dvb_dmxdev_init(&fdtv->dmxdev, &fdtv->adapter); in fdtv_dvb_register()
224 dvb_dmxdev_release(&fdtv->dmxdev); in fdtv_dvb_register()
241 dvb_dmxdev_release(&fdtv->dmxdev); in fdtv_dvb_unregister()
/linux-6.12.1/drivers/media/pci/mantis/
Dmantis_dvb.c174 mantis->dmxdev.filternum = 256; in mantis_dvb_init()
175 mantis->dmxdev.demux = &mantis->demux.dmx; in mantis_dvb_init()
176 mantis->dmxdev.capabilities = 0; in mantis_dvb_init()
179 result = dvb_dmxdev_init(&mantis->dmxdev, &mantis->dvb_adapter); in mantis_dvb_init()
251 dvb_dmxdev_release(&mantis->dmxdev); in mantis_dvb_init()
282 dvb_dmxdev_release(&mantis->dmxdev); in mantis_dvb_exit()
/linux-6.12.1/drivers/media/pci/ngene/
Dngene-dvb.c320 int my_dvb_dmxdev_ts_card_init(struct dmxdev *dmxdev, in my_dvb_dmxdev_ts_card_init() argument
328 dmxdev->filternum = 256; in my_dvb_dmxdev_ts_card_init()
329 dmxdev->demux = &dvbdemux->dmx; in my_dvb_dmxdev_ts_card_init()
330 dmxdev->capabilities = 0; in my_dvb_dmxdev_ts_card_init()
331 ret = dvb_dmxdev_init(dmxdev, dvb_adapter); in my_dvb_dmxdev_ts_card_init()
/linux-6.12.1/drivers/media/common/b2c2/
Dflexcop.c84 fc->dmxdev.filternum = fc->demux.feednum; in flexcop_dvb_init()
85 fc->dmxdev.demux = &fc->demux.dmx; in flexcop_dvb_init()
86 fc->dmxdev.capabilities = 0; in flexcop_dvb_init()
87 ret = dvb_dmxdev_init(&fc->dmxdev, &fc->dvb_adapter); in flexcop_dvb_init()
128 dvb_dmxdev_release(&fc->dmxdev); in flexcop_dvb_init()
146 dvb_dmxdev_release(&fc->dmxdev); in flexcop_dvb_exit()
/linux-6.12.1/drivers/media/pci/bt8xx/
Ddvb-bt8xx.h37 struct dmxdev dmxdev; member
/linux-6.12.1/drivers/media/usb/pvrusb2/
Dpvrusb2-dvb.h18 struct dmxdev dmxdev; member
Dpvrusb2-dvb.c273 adap->dmxdev.filternum = adap->demux.filternum; in pvr2_dvb_adapter_init()
274 adap->dmxdev.demux = &adap->demux.dmx; in pvr2_dvb_adapter_init()
275 adap->dmxdev.capabilities = 0; in pvr2_dvb_adapter_init()
277 ret = dvb_dmxdev_init(&adap->dmxdev, &adap->dvb_adap); in pvr2_dvb_adapter_init()
301 dvb_dmxdev_release(&adap->dmxdev); in pvr2_dvb_adapter_exit()
/linux-6.12.1/drivers/media/common/videobuf2/
Dvideobuf2-dvb.c131 dvb->dmxdev.filternum = 256; in vb2_dvb_register_frontend()
132 dvb->dmxdev.demux = &dvb->demux.dmx; in vb2_dvb_register_frontend()
133 dvb->dmxdev.capabilities = 0; in vb2_dvb_register_frontend()
134 result = dvb_dmxdev_init(&dvb->dmxdev, adapter); in vb2_dvb_register_frontend()
179 dvb_dmxdev_release(&dvb->dmxdev); in vb2_dvb_register_frontend()
330 dvb_dmxdev_release(&fe->dvb.dmxdev); in vb2_dvb_dealloc_frontends()
/linux-6.12.1/drivers/media/spi/
Dcxd2880-spi.c48 struct dmxdev dmxdev; member
578 dvb_spi->dmxdev.filternum = CXD2880_MAX_FILTER_SIZE; in cxd2880_spi_probe()
579 dvb_spi->dmxdev.demux = &dvb_spi->demux.dmx; in cxd2880_spi_probe()
580 dvb_spi->dmxdev.capabilities = 0; in cxd2880_spi_probe()
581 ret = dvb_dmxdev_init(&dvb_spi->dmxdev, in cxd2880_spi_probe()
611 dvb_dmxdev_release(&dvb_spi->dmxdev); in cxd2880_spi_probe()
635 dvb_dmxdev_release(&dvb_spi->dmxdev); in cxd2880_spi_remove()
/linux-6.12.1/drivers/media/usb/dvb-usb/
Ddvb-usb-dvb.c189 adap->dmxdev.filternum = adap->demux.filternum; in dvb_usb_adapter_dvb_init()
190 adap->dmxdev.demux = &adap->demux.dmx; in dvb_usb_adapter_dvb_init()
191 adap->dmxdev.capabilities = 0; in dvb_usb_adapter_dvb_init()
192 if ((ret = dvb_dmxdev_init(&adap->dmxdev, &adap->dvb_adap)) < 0) { in dvb_usb_adapter_dvb_init()
207 dvb_dmxdev_release(&adap->dmxdev); in dvb_usb_adapter_dvb_init()
224 dvb_dmxdev_release(&adap->dmxdev); in dvb_usb_adapter_dvb_exit()
/linux-6.12.1/drivers/media/common/siano/
Dsmsdvb.h28 struct dmxdev dmxdev; member
/linux-6.12.1/drivers/staging/media/av7110/
Dav7110.h171 struct dmxdev dmxdev; member
178 struct dmxdev dmxdev1;
/linux-6.12.1/drivers/media/pci/pt3/
Dpt3.h115 struct dmxdev dmxdev; member
/linux-6.12.1/drivers/media/pci/ttpci/
Dbudget.h61 struct dmxdev dmxdev; member
Dbudget-core.c365 budget->dmxdev.filternum = 256; in budget_register()
366 budget->dmxdev.demux = &dvbdemux->dmx; in budget_register()
367 budget->dmxdev.capabilities = 0; in budget_register()
369 dvb_dmxdev_init(&budget->dmxdev, &budget->dvb_adapter); in budget_register()
392 dvb_dmxdev_release(&budget->dmxdev); in budget_register()
409 dvb_dmxdev_release(&budget->dmxdev); in budget_unregister()
/linux-6.12.1/drivers/media/pci/pluto2/
Dpluto2.c92 struct dmxdev dmxdev; member
673 pluto->dmxdev.filternum = NHWFILTERS; in pluto2_probe()
674 pluto->dmxdev.demux = dmx; in pluto2_probe()
676 ret = dvb_dmxdev_init(&pluto->dmxdev, dvb_adapter); in pluto2_probe()
707 dvb_dmxdev_release(&pluto->dmxdev); in pluto2_probe()
744 dvb_dmxdev_release(&pluto->dmxdev); in pluto2_remove()
/linux-6.12.1/drivers/media/usb/au0828/
Dau0828-dvb.c462 dvb->dmxdev.filternum = 256; in dvb_register()
463 dvb->dmxdev.demux = &dvb->demux.dmx; in dvb_register()
464 dvb->dmxdev.capabilities = 0; in dvb_register()
465 result = dvb_dmxdev_init(&dvb->dmxdev, &dvb->adapter); in dvb_register()
512 dvb_dmxdev_release(&dvb->dmxdev); in dvb_register()
545 dvb_dmxdev_release(&dvb->dmxdev); in au0828_dvb_unregister()
/linux-6.12.1/drivers/media/pci/pt1/
Dpt1.c102 struct dmxdev dmxdev; member
817 dvb_dmxdev_release(&adap->dmxdev); in pt1_free_adapter()
833 struct dmxdev *dmxdev; in pt1_alloc_adapter() local
877 dmxdev = &adap->dmxdev; in pt1_alloc_adapter()
878 dmxdev->filternum = 256; in pt1_alloc_adapter()
879 dmxdev->demux = &demux->dmx; in pt1_alloc_adapter()
880 dmxdev->capabilities = 0; in pt1_alloc_adapter()
881 ret = dvb_dmxdev_init(dmxdev, dvb_adap); in pt1_alloc_adapter()
/linux-6.12.1/drivers/media/pci/smipcie/
Dsmipcie-main.c749 static int my_dvb_dmxdev_ts_card_init(struct dmxdev *dmxdev, in my_dvb_dmxdev_ts_card_init() argument
757 dmxdev->filternum = 256; in my_dvb_dmxdev_ts_card_init()
758 dmxdev->demux = &dvbdemux->dmx; in my_dvb_dmxdev_ts_card_init()
759 dmxdev->capabilities = 0; in my_dvb_dmxdev_ts_card_init()
760 ret = dvb_dmxdev_init(dmxdev, dvb_adapter); in my_dvb_dmxdev_ts_card_init()
868 ret = my_dvb_dmxdev_ts_card_init(&port->dmxdev, &port->demux, in smi_dvb_init()
874 ret = dvb_net_init(adap, &port->dvbnet, port->dmxdev.demux); in smi_dvb_init()
882 dvb_dmxdev_release(&port->dmxdev); in smi_dvb_init()
899 dvb_dmxdev_release(&port->dmxdev); in smi_dvb_exit()
/linux-6.12.1/drivers/media/pci/cx18/
Dcx18-dvb.c372 dvb->dmxdev.filternum = 256; in cx18_dvb_register()
373 dvb->dmxdev.demux = dmx; in cx18_dvb_register()
375 ret = dvb_dmxdev_init(&dvb->dmxdev, dvb_adapter); in cx18_dvb_register()
414 dvb_dmxdev_release(&dvb->dmxdev); in cx18_dvb_register()
444 dvb_dmxdev_release(&dvb->dmxdev); in cx18_dvb_unregister()

123