Home
last modified time | relevance | path

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

12345

/drivers/media/test-drivers/vidtv/
Dvidtv_bridge.c141 static bool vidtv_bridge_check_demod_lock(struct vidtv_dvb *dvb, u32 n) in vidtv_bridge_check_demod_lock() argument
145 dvb->fe[n]->ops.read_status(dvb->fe[n], &status); in vidtv_bridge_check_demod_lock()
159 struct vidtv_dvb *dvb = priv; in vidtv_bridge_on_new_pkts_avail() local
162 if (vidtv_bridge_check_demod_lock(dvb, 0)) in vidtv_bridge_on_new_pkts_avail()
163 dvb_dmx_swfilter_packets(&dvb->demux, buf, npkts); in vidtv_bridge_on_new_pkts_avail()
166 static int vidtv_start_streaming(struct vidtv_dvb *dvb) in vidtv_start_streaming() argument
177 .priv = dvb, in vidtv_start_streaming()
179 struct device *dev = &dvb->pdev->dev; in vidtv_start_streaming()
182 if (dvb->streaming) { in vidtv_start_streaming()
194 dvb->streaming = true; in vidtv_start_streaming()
[all …]
DMakefile3 dvb-vidtv-tuner-objs := vidtv_tuner.o
4 dvb-vidtv-demod-objs := vidtv_demod.o
5 dvb-vidtv-bridge-objs := vidtv_bridge.o vidtv_common.o vidtv_ts.o vidtv_psi.o \
8 obj-$(CONFIG_DVB_VIDTV) += dvb-vidtv-tuner.o dvb-vidtv-demod.o \
9 dvb-vidtv-bridge.o
/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 …]
/drivers/media/usb/em28xx/
Dem28xx-dvb.c173 dvb_dmx_swfilter(&dev->dvb->demux, urb->transfer_buffer, in em28xx_dvb_urb_data_copy()
184 dvb_dmx_swfilter(&dev->dvb->demux, in em28xx_dvb_urb_data_copy()
194 static int em28xx_start_streaming(struct em28xx_dvb *dvb) in em28xx_start_streaming() argument
197 struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; in em28xx_start_streaming()
238 static int em28xx_stop_streaming(struct em28xx_dvb *dvb) in em28xx_stop_streaming() argument
240 struct em28xx_i2c_bus *i2c_bus = dvb->adapter.priv; in em28xx_stop_streaming()
251 struct em28xx_dvb *dvb = demux->priv; in em28xx_start_feed() local
257 mutex_lock(&dvb->lock); in em28xx_start_feed()
258 dvb->nfeeds++; in em28xx_start_feed()
259 rc = dvb->nfeeds; in em28xx_start_feed()
[all …]
/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 …]
/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 …]
/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 …]
/drivers/media/pci/cx88/
Dcx88-dvb.c165 struct cx8802_dev *dev = fe->dvb->priv; in cx88_dvb_bus_ctrl()
210 if (fe && fe->dvb.frontend && fe->dvb.frontend->ops.i2c_gate_ctrl) in cx88_dvb_gate_ctrl()
211 fe->dvb.frontend->ops.i2c_gate_ctrl(fe->dvb.frontend, open); in cx88_dvb_gate_ctrl()
370 struct cx8802_dev *dev = fe->dvb->priv; in or51132_set_ts_param()
383 struct cx8802_dev *dev = fe->dvb->priv; in lgdt330x_pll_rf_set()
396 struct cx8802_dev *dev = fe->dvb->priv; in lgdt330x_set_ts_param()
425 struct cx8802_dev *dev = fe->dvb->priv; in nxt200x_set_ts_param()
439 struct cx8802_dev *dev = fe->dvb->priv; in cx24123_set_ts_param()
448 struct cx8802_dev *dev = fe->dvb->priv; in kworld_dvbs_100_set_voltage()
464 struct cx8802_dev *dev = fe->dvb->priv; in geniatech_dvbs_set_voltage()
[all …]
/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 …]
/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 …]
/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 …]
/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()
477 struct saa7134_dev *dev = fe->dvb->priv; in philips_europa_demod_sleep()
[all …]
/drivers/media/pci/ddbridge/
Dddbridge-max.c73 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in max_send_master_cmd() local
80 if (dvb->diseqc_send_master_cmd) in max_send_master_cmd()
81 dvb->diseqc_send_master_cmd(fe, cmd); in max_send_master_cmd()
84 ddbwritel(dev, 0, tag | LNB_BUF_LEVEL(dvb->input)); in max_send_master_cmd()
86 ddbwritel(dev, cmd->msg[i], tag | LNB_BUF_WRITE(dvb->input)); in max_send_master_cmd()
87 lnb_command(dev, port->lnr, dvb->input, LNB_CMD_DISEQC); in max_send_master_cmd()
175 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in max_set_input_unlocked() local
180 if (dvb->input != in) { in max_set_input_unlocked()
183 dev->link[port->lnr].lnb.voltage[dvb->input & 3] & bit; in max_set_input_unlocked()
185 dev->link[port->lnr].lnb.voltage[dvb->input & 3] &= ~bit; in max_set_input_unlocked()
[all …]
Dddbridge-core.c864 struct ddb_dvb *dvb = &port->dvb[input->nr & 1]; in locked_gate_ctrl() local
869 status = dvb->i2c_gate_ctrl(fe, 1); in locked_gate_ctrl()
871 status = dvb->i2c_gate_ctrl(fe, 0); in locked_gate_ctrl()
880 struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; in demod_attach_drxk() local
888 dvb->fe = dvb_attach(drxk_attach, &config, i2c); in demod_attach_drxk()
889 if (!dvb->fe) { in demod_attach_drxk()
893 dvb->fe->sec_priv = input; in demod_attach_drxk()
894 dvb->i2c_gate_ctrl = dvb->fe->ops.i2c_gate_ctrl; in demod_attach_drxk()
895 dvb->fe->ops.i2c_gate_ctrl = locked_gate_ctrl; in demod_attach_drxk()
902 struct ddb_dvb *dvb = &input->port->dvb[input->nr & 1]; in tuner_attach_tda18271() local
[all …]
Dddbridge-ci.c325 port->dvb[0].i2c_client[0] = client; in ci_cxd2099_attach()
357 dvb_ca_en50221_init(port->dvb[0].adap, port->en, 0, 1); in ddb_ci_attach()
363 if (port->dvb[0].dev) in ddb_ci_detach()
364 dvb_unregister_device(port->dvb[0].dev); in ddb_ci_detach()
368 dvb_module_release(port->dvb[0].i2c_client[0]); in ddb_ci_detach()
369 port->dvb[0].i2c_client[0] = NULL; in ddb_ci_detach()
/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 …]
/drivers/media/dvb-core/
Ddvb_frontend.c246 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_add_event()
288 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_get_event()
336 dev_dbg(fe->dvb->device, in dvb_frontend_init()
338 __func__, fe->dvb->num, fe->id, fe->ops.info.name); in dvb_frontend_init()
365 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_swzigzag_update_delay()
460 dev_dbg(fe->dvb->device, in dvb_frontend_swzigzag_autotune()
494 dev_warn_once(fe->dvb->device, in dvb_frontend_swzigzag()
668 dev_dbg(fe->dvb->device, "%s:\n", __func__); in dvb_frontend_thread()
717 dev_dbg(fe->dvb->device, "%s: Frontend ALGO = DVBFE_ALGO_HW\n", __func__); in dvb_frontend_thread()
720 dev_dbg(fe->dvb->device, "%s: Retune requested, FESTATE_RETUNE\n", __func__); in dvb_frontend_thread()
[all …]
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)
13 obj-$(CONFIG_DVB_CORE) += dvb-core.o
/drivers/staging/media/av7110/
DMakefile6 dvb-ttpci-objs := av7110_hw.o av7110_v4l.o av7110_av.o av7110_ca.o av7110.o \
10 dvb-ttpci-objs += av7110_ir.o
15 obj-$(CONFIG_DVB_AV7110) += dvb-ttpci.o
19 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
Dbudget-patch.c118 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_set_tone()
138 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_diseqc_send_master_cmd()
148 struct budget* budget = (struct budget*) fe->dvb->priv; in budget_diseqc_send_burst()
213 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; in budget_patch_set_tone()
233 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; in budget_patch_diseqc_send_master_cmd()
243 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; in budget_patch_diseqc_send_burst()
253 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; in alps_bsrv2_tuner_set_params()
295 struct budget_patch* budget = (struct budget_patch*) fe->dvb->priv; in grundig_29504_451_tuner_set_params()
/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
/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
/drivers/media/usb/ttusb-budget/
DMakefile2 obj-$(CONFIG_DVB_TTUSB_BUDGET) += dvb-ttusb-budget.o
4 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends
/drivers/media/pci/ttpci/
Dbudget.c147 struct budget *budget = fe->dvb->priv; in siemens_budget_set_voltage()
155 struct budget *budget = fe->dvb->priv; in budget_set_tone()
175 struct budget *budget = fe->dvb->priv; in budget_diseqc_send_master_cmd()
185 struct budget *budget = fe->dvb->priv; in budget_diseqc_send_burst()
195 struct budget *budget = fe->dvb->priv; in alps_bsrv2_tuner_set_params()
237 struct budget *budget = fe->dvb->priv; in alps_tdbe2_tuner_set_params()
265 struct budget *budget = fe->dvb->priv; in grundig_29504_401_tuner_set_params()
323 struct budget *budget = fe->dvb->priv; in grundig_29504_451_tuner_set_params()
347 struct budget *budget = fe->dvb->priv; in s5h1420_tuner_set_params()
408 struct budget *budget = fe->dvb->priv; in alps_tdhd1_204_request_firmware()
/drivers/media/platform/st/sti/c8sectpfe/
DMakefile2 c8sectpfe-y += c8sectpfe-core.o c8sectpfe-common.o c8sectpfe-dvb.o \
7 ccflags-y += -I $(srctree)/drivers/media/dvb-frontends/

12345