Home
last modified time | relevance | path

Searched refs:dvb (Results 1 – 25 of 198) sorted by relevance

12345678

/Linux-v5.4/drivers/media/usb/tm6000/
Dtm6000-dvb.c91 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in tm6000_urb_received()
94 if (dev->dvb->streams > 0) { in tm6000_urb_received()
100 dev->dvb->bulk_urb = NULL; in tm6000_urb_received()
109 struct tm6000_dvb *dvb = dev->dvb; in tm6000_start_stream() local
118 dvb->bulk_urb = usb_alloc_urb(0, GFP_KERNEL); in tm6000_start_stream()
119 if (!dvb->bulk_urb) in tm6000_start_stream()
128 dvb->bulk_urb->transfer_buffer = kzalloc(size, GFP_KERNEL); in tm6000_start_stream()
129 if (!dvb->bulk_urb->transfer_buffer) { in tm6000_start_stream()
130 usb_free_urb(dvb->bulk_urb); in tm6000_start_stream()
131 dvb->bulk_urb = NULL; in tm6000_start_stream()
[all …]
/Linux-v5.4/drivers/media/usb/au0828/
Dau0828-dvb.c150 dvb_dmx_swfilter_packets(&dev->dvb.demux, in urb_completion()
277 struct au0828_dvb *dvb = &dev->dvb; in au0828_dvb_start_feed() local
285 if (dvb->frontend) { in au0828_dvb_start_feed()
286 mutex_lock(&dvb->lock); in au0828_dvb_start_feed()
287 dvb->start_count++; in au0828_dvb_start_feed()
289 dvb->start_count, dvb->stop_count); in au0828_dvb_start_feed()
290 if (dvb->feeding++ == 0) { in au0828_dvb_start_feed()
296 dvb->feeding--; /* We ran out of memory... */ in au0828_dvb_start_feed()
299 mutex_unlock(&dvb->lock); in au0828_dvb_start_feed()
309 struct au0828_dvb *dvb = &dev->dvb; in au0828_dvb_stop_feed() local
[all …]
/Linux-v5.4/drivers/media/common/videobuf2/
Dvideobuf2-dvb.c28 struct vb2_dvb *dvb = priv; in dvb_fnc() local
30 dvb_dmx_swfilter(&dvb->demux, vb2_plane_vaddr(vb, 0), in dvb_fnc()
38 struct vb2_dvb *dvb = demux->priv; in vb2_dvb_start_feed() local
44 mutex_lock(&dvb->lock); in vb2_dvb_start_feed()
45 dvb->nfeeds++; in vb2_dvb_start_feed()
47 if (!dvb->dvbq.threadio) { in vb2_dvb_start_feed()
48 rc = vb2_thread_start(&dvb->dvbq, dvb_fnc, dvb, dvb->name); in vb2_dvb_start_feed()
50 dvb->nfeeds--; in vb2_dvb_start_feed()
53 rc = dvb->nfeeds; in vb2_dvb_start_feed()
54 mutex_unlock(&dvb->lock); in vb2_dvb_start_feed()
[all …]
/Linux-v5.4/drivers/media/usb/em28xx/
Dem28xx-dvb.c176 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()
197 static int em28xx_start_streaming(struct em28xx_dvb *dvb) in em28xx_start_streaming() argument
200 struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; in em28xx_start_streaming()
241 static int em28xx_stop_streaming(struct em28xx_dvb *dvb) in em28xx_stop_streaming() argument
243 struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; in em28xx_stop_streaming()
254 struct em28xx_dvb *dvb = demux->priv; in em28xx_start_feed() local
260 mutex_lock(&dvb->lock); in em28xx_start_feed()
261 dvb->nfeeds++; in em28xx_start_feed()
262 rc = dvb->nfeeds; in em28xx_start_feed()
[all …]
/Linux-v5.4/drivers/media/usb/cx231xx/
Dcx231xx-dvb.c232 dvb_dmx_swfilter(&dev->dvb->demux, in dvb_isoc_copy()
256 dvb_dmx_swfilter(&dev->dvb->demux, in dvb_bulk_copy()
262 static int start_streaming(struct cx231xx_dvb *dvb) in start_streaming() argument
265 struct cx231xx *dev = dvb->adapter.priv; in start_streaming()
293 static int stop_streaming(struct cx231xx_dvb *dvb) in stop_streaming() argument
295 struct cx231xx *dev = dvb->adapter.priv; in stop_streaming()
310 struct cx231xx_dvb *dvb = demux->priv; in start_feed() local
316 mutex_lock(&dvb->lock); in start_feed()
317 dvb->nfeeds++; in start_feed()
318 rc = dvb->nfeeds; in start_feed()
[all …]
/Linux-v5.4/drivers/media/usb/dvb-usb/
DMakefile2 dvb-usb-objs += dvb-usb-firmware.o dvb-usb-init.o dvb-usb-urb.o dvb-usb-i2c.o
3 dvb-usb-objs += dvb-usb-dvb.o dvb-usb-remote.o usb-urb.o
4 obj-$(CONFIG_DVB_USB) += dvb-usb.o
6 dvb-usb-vp7045-objs := vp7045.o vp7045-fe.o
7 obj-$(CONFIG_DVB_USB_VP7045) += dvb-usb-vp7045.o
9 dvb-usb-vp702x-objs := vp702x.o vp702x-fe.o
10 obj-$(CONFIG_DVB_USB_VP702X) += dvb-usb-vp702x.o
12 dvb-usb-gp8psk-objs := gp8psk.o
13 obj-$(CONFIG_DVB_USB_GP8PSK) += dvb-usb-gp8psk.o
15 dvb-usb-dtt200u-objs := dtt200u.o dtt200u-fe.o
[all …]
/Linux-v5.4/drivers/media/pci/cx18/
Dcx18-dvb.c152 struct cx18_dvb *dvb = container_of(fe->dvb, in yuan_mpc718_mt352_init() local
154 struct cx18_stream *stream = dvb->stream; in yuan_mpc718_mt352_init()
284 mutex_lock(&stream->dvb->feedlock); in cx18_dvb_start_feed()
285 if (stream->dvb->feeding++ == 0) { in cx18_dvb_start_feed()
292 stream->dvb->feeding--; in cx18_dvb_start_feed()
293 if (stream->dvb->feeding == 0) in cx18_dvb_start_feed()
299 mutex_unlock(&stream->dvb->feedlock); in cx18_dvb_start_feed()
317 mutex_lock(&stream->dvb->feedlock); in cx18_dvb_stop_feed()
318 if (--stream->dvb->feeding == 0) { in cx18_dvb_stop_feed()
325 mutex_unlock(&stream->dvb->feedlock); in cx18_dvb_stop_feed()
[all …]
/Linux-v5.4/drivers/media/usb/dvb-usb-v2/
DMakefile5 dvb-usb-af9015-objs := af9015.o
6 obj-$(CONFIG_DVB_USB_AF9015) += dvb-usb-af9015.o
8 dvb-usb-af9035-objs := af9035.o
9 obj-$(CONFIG_DVB_USB_AF9035) += dvb-usb-af9035.o
11 dvb-usb-anysee-objs := anysee.o
12 obj-$(CONFIG_DVB_USB_ANYSEE) += dvb-usb-anysee.o
14 dvb-usb-au6610-objs := au6610.o
15 obj-$(CONFIG_DVB_USB_AU6610) += dvb-usb-au6610.o
17 dvb-usb-az6007-objs := az6007.o
18 obj-$(CONFIG_DVB_USB_AZ6007) += dvb-usb-az6007.o
[all …]
/Linux-v5.4/drivers/media/pci/cx88/
Dcx88-dvb.c164 struct cx8802_dev *dev = fe->dvb->priv; in cx88_dvb_bus_ctrl()
209 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl()
210 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl()
369 struct cx8802_dev *dev = fe->dvb->priv; in or51132_set_ts_param()
382 struct cx8802_dev *dev = fe->dvb->priv; in lgdt330x_pll_rf_set()
395 struct cx8802_dev *dev = fe->dvb->priv; in lgdt330x_set_ts_param()
424 struct cx8802_dev *dev = fe->dvb->priv; in nxt200x_set_ts_param()
438 struct cx8802_dev *dev = fe->dvb->priv; in cx24123_set_ts_param()
447 struct cx8802_dev *dev = fe->dvb->priv; in kworld_dvbs_100_set_voltage()
463 struct cx8802_dev *dev = fe->dvb->priv; in geniatech_dvbs_set_voltage()
[all …]
/Linux-v5.4/drivers/media/pci/saa7164/
Dsaa7164-dvb.c284 struct saa7164_dvb *dvb = &port->dvb; in saa7164_dvb_start_feed() local
293 if (dvb) { in saa7164_dvb_start_feed()
294 mutex_lock(&dvb->lock); in saa7164_dvb_start_feed()
295 if (dvb->feeding++ == 0) { in saa7164_dvb_start_feed()
299 mutex_unlock(&dvb->lock); in saa7164_dvb_start_feed()
301 __func__, port->nr, dvb->feeding); in saa7164_dvb_start_feed()
311 struct saa7164_dvb *dvb = &port->dvb; in saa7164_dvb_stop_feed() local
317 if (dvb) { in saa7164_dvb_stop_feed()
318 mutex_lock(&dvb->lock); in saa7164_dvb_stop_feed()
319 if (--dvb->feeding == 0) { in saa7164_dvb_stop_feed()
[all …]
/Linux-v5.4/Documentation/media/dvb-drivers/
Dfrontends.rst12 .. kernel-doc:: drivers/media/dvb-frontends/a8293.h
13 .. kernel-doc:: drivers/media/dvb-frontends/af9013.h
14 .. kernel-doc:: drivers/media/dvb-frontends/ascot2e.h
15 .. kernel-doc:: drivers/media/dvb-frontends/cxd2820r.h
16 .. kernel-doc:: drivers/media/dvb-frontends/drxk.h
17 .. kernel-doc:: drivers/media/dvb-frontends/dvb-pll.h
18 .. kernel-doc:: drivers/media/dvb-frontends/helene.h
19 .. kernel-doc:: drivers/media/dvb-frontends/horus3a.h
20 .. kernel-doc:: drivers/media/dvb-frontends/ix2505v.h
21 .. kernel-doc:: drivers/media/dvb-frontends/m88ds3103.h
[all …]
Dlmedm04.rst23 will produce dvb-usb-lme2510c-s7395.fw
36 will produce dvb-usb-lme2510c-s7395.fw
53 will produce dvb-usb-lme2510-lg.fw
59 dd if=US280D.sys ibs=1 skip=42360 count=3924 of=dvb-usb-lme2510-lg.fw
66 dd if=US280D.sys ibs=1 skip=35200 count=3850 of=dvb-usb-lme2510c-lg.fw
78 dd if=US290D.sys ibs=1 skip=36856 count=3976 of=dvb-usb-lme2510-s0194.fw
87 dd if=US290D.sys ibs=1 skip=33152 count=3697 of=dvb-usb-lme2510c-s0194.fw
97 dd if=US2B0D.sys ibs=1 skip=34432 count=3871 of=dvb-usb-lme2510c-rs2000.fw
105 echo -ne \\xF0\\x22 | dd conv=notrunc bs=1 count=2 seek=266 of=dvb-usb-lme2510c-rs2000.fw
Dudev.rst34 sysfs device name into the well known dvb adapter / device naming scheme.
35 The script should be called "dvb.sh" and should be placed into a script
38 So, create a new file /etc/udev/scripts/dvb.sh and add the following:
43 /bin/echo $1 | /bin/sed -e 's,dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\),dvb/adapter\1/\2\3,'
52 Create a new rule file in that directory called "dvb.rule" and add the following line:
56 KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c"
61 For every device that registers to the sysfs subsystem with a "dvb" prefix,
62 the helper script /etc/udev/scripts/dvb.sh is invoked, which will then
Ddvb-usb.rst3 Idea behind the dvb-usb-framework
11 #) **deprecated:** Newer DVB USB drivers should use the dvb-usb-v2 framework.
19 different way: With the help of a dvb-usb-framework.
23 - Transport Stream URB handling in conjunction with dvb-demux-feed-control
41 For an example have a look in drivers/media/usb/dvb-usb/vp7045*.
45 the dvb-usb-lib.
65 - added basic isochronous support to the dvb-usb-framework
71 - all dibusb devices ported to make use of the dvb-usb-framework
79 - ported the Yakumo/Hama/Typhoon DVB-T USB2.0 device to dvb-usb.
83 - first commit of the dvb-usb-module based on the dibusb-source.
[all …]
/Linux-v5.4/drivers/media/pci/ddbridge/
Dddbridge-max.c82 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in max_send_master_cmd() local
89 if (dvb->diseqc_send_master_cmd) in max_send_master_cmd()
90 dvb->diseqc_send_master_cmd(fe, cmd); in max_send_master_cmd()
93 ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(dvb->input)); in max_send_master_cmd()
95 ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(dvb->input)); in max_send_master_cmd()
96 lnb_command(dev, port->lnr, dvb->input, LNB_CMD_DISEQC); in max_send_master_cmd()
184 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in max_set_input_unlocked() local
189 if (dvb->input != in) { in max_set_input_unlocked()
192 dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; in max_set_input_unlocked()
194 dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; in max_set_input_unlocked()
[all …]
Dddbridge-core.c873 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in locked_gate_ctrl() local
878 status = dvb->i2c_gate_ctrl(fe, 1); in locked_gate_ctrl()
880 status = dvb->i2c_gate_ctrl(fe, 0); in locked_gate_ctrl()
889 struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; in demod_attach_drxk() local
897 dvb->fe = dvb_attach(drxk_attach, &config, i2c); in demod_attach_drxk()
898 if (!dvb->fe) { in demod_attach_drxk()
902 dvb->fe->sec_priv = input; in demod_attach_drxk()
903 dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; in demod_attach_drxk()
904 dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; in demod_attach_drxk()
911 struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; in tuner_attach_tda18271() local
[all …]
/Linux-v5.4/drivers/media/pci/saa7134/
Dsaa7134-dvb.c170 struct saa7134_dev *dev = fe->dvb->priv; in mt352_pinnacle_tuner_set_params()
229 struct saa7134_dev *dev = fe->dvb->priv; in kworld_sbtvd_gate_ctrl()
259 struct saa7134_dev *dev = fe->dvb->priv; in philips_tda1004x_request_firmware()
270 struct saa7134_dev *dev = fe->dvb->priv; in philips_tda6651_pll_set()
358 struct saa7134_dev *dev = fe->dvb->priv; in philips_tu1216_init()
403 struct saa7134_dev *dev = fe->dvb->priv; in philips_td1316_tuner_init()
424 struct saa7134_dev *dev = fe->dvb->priv; in philips_td1316_tuner_sleep()
442 struct saa7134_dev *dev = fe->dvb->priv; in philips_europa_tuner_init()
458 struct saa7134_dev *dev = fe->dvb->priv; in philips_europa_tuner_sleep()
475 struct saa7134_dev *dev = fe->dvb->priv; in philips_europa_demod_sleep()
[all …]
/Linux-v5.4/drivers/media/pci/cx23885/
Dcx23885-dvb.c146 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx23885_dvb_gate_ctrl()
147 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx23885_dvb_gate_ctrl()
596 struct cx23885_tsport *port = fe->dvb->priv; in p8000_set_voltage()
611 struct cx23885_tsport *port = fe->dvb->priv; in dvbsky_t9580_set_voltage()
640 struct cx23885_tsport *port = fe->dvb->priv; in dvbsky_s952_portc_set_voltage()
737 struct cx23885_tsport *port = fe->dvb->priv; in cx23885_dvb_set_frontend()
1104 .demux = &fe0->dvb.demux,/* for hw pid filter */ in dvb_register_ci_mac()
1215 fe0->dvb.name = dev->name; in dvb_register()
1227 fe0->dvb.frontend = dvb_attach(s5h1409_attach, in dvb_register()
1230 if (fe0->dvb.frontend == NULL) in dvb_register()
[all …]
/Linux-v5.4/drivers/media/dvb-core/
DMakefile6 dvb-net-$(CONFIG_DVB_NET) := dvb_net.o
7 dvb-vb2-$(CONFIG_DVB_MMAP) := dvb_vb2.o
9 dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o \
11 $(dvb-net-y) dvb_ringbuffer.o $(dvb-vb2-y) dvb_math.o
13 obj-$(CONFIG_DVB_CORE) += dvb-core.o
Ddvb_frontend.c245 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_add_event()
287 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_get_event()
327 dev_dbg(fe->dvb->device, in dvb_frontend_init()
329 __func__, fe->dvb->num, fe->id, fe->ops.info.name); in dvb_frontend_init()
356 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_swzigzag_update_delay()
451 dev_dbg(fe->dvb->device, in dvb_frontend_swzigzag_autotune()
655 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_thread()
704 dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_HW\n", __func__); in dvb_frontend_thread()
707 dev_dbg(fe->dvb->device, "%s: Retune requested, FESTATE_RETUNE\n", __func__); in dvb_frontend_thread()
718 dev_dbg(fe->dvb->device, "%s: state changed, adding current state\n", __func__); in dvb_frontend_thread()
[all …]
/Linux-v5.4/drivers/media/pci/ttpci/
DMakefile7 dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o av7110_ipack.o dvb_filt…
10 dvb-ttpci-objs += av7110_ir.o
19 obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o
21 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/
/Linux-v5.4/Documentation/media/
DMakefile24 $(BUILDDIR)/audio.h.rst: ${UAPI}/dvb/audio.h ${PARSER} $(SRC_DIR)/audio.h.rst.exceptions
27 $(BUILDDIR)/ca.h.rst: ${UAPI}/dvb/ca.h ${PARSER} $(SRC_DIR)/ca.h.rst.exceptions
30 $(BUILDDIR)/dmx.h.rst: ${UAPI}/dvb/dmx.h ${PARSER} $(SRC_DIR)/dmx.h.rst.exceptions
33 $(BUILDDIR)/frontend.h.rst: ${UAPI}/dvb/frontend.h ${PARSER} $(SRC_DIR)/frontend.h.rst.exceptions
36 $(BUILDDIR)/net.h.rst: ${UAPI}/dvb/net.h ${PARSER} $(SRC_DIR)/net.h.rst.exceptions
39 $(BUILDDIR)/video.h.rst: ${UAPI}/dvb/video.h ${PARSER} $(SRC_DIR)/video.h.rst.exceptions
/Linux-v5.4/drivers/media/usb/pvrusb2/
DMakefile4 obj-pvrusb2-dvb-$(CONFIG_VIDEO_PVRUSB2_DVB) := pvrusb2-dvb.o
15 $(obj-pvrusb2-dvb-y) \
21 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
/Linux-v5.4/drivers/media/usb/as102/
DMakefile2 dvb-as102-objs := as102_drv.o as102_fw.o as10x_cmd.o as10x_cmd_stream.o \
5 obj-$(CONFIG_DVB_AS102) += dvb-as102.o
7 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
/Linux-v5.4/Documentation/media/uapi/dvb/
Dintro.rst30 - European standards (DVB): http://www.dvb.org and/or http://www.etsi.org.
141 All devices can be found in the ``/dev`` tree under ``/dev/dvb``. The
144 - ``/dev/dvb/adapterN/audioM``,
146 - ``/dev/dvb/adapterN/videoM``,
148 - ``/dev/dvb/adapterN/frontendM``,
150 - ``/dev/dvb/adapterN/netM``,
152 - ``/dev/dvb/adapterN/demuxM``,
154 - ``/dev/dvb/adapterN/dvrM``,
156 - ``/dev/dvb/adapterN/caM``,
160 from 0, too. We will omit the “``/dev/dvb/adapterN/``\ ” in the further
[all …]

12345678