Home
last modified time | relevance | path

Searched refs:dvbdev (Results 1 – 22 of 22) sorted by relevance

/drivers/media/dvb-core/
Ddvbdev.c69 struct dvb_device *dvbdev; in dvb_device_open() local
73 dvbdev = dvb_minors[iminor(inode)]; in dvb_device_open()
75 if (dvbdev && dvbdev->fops) { in dvb_device_open()
79 file->private_data = dvbdev; in dvb_device_open()
81 file->f_op = fops_get(dvbdev->fops); in dvb_device_open()
115 struct dvb_device *dvbdev = file->private_data; in dvb_generic_open() local
117 if (!dvbdev) in dvb_generic_open()
120 if (!dvbdev->users) in dvb_generic_open()
124 if (!dvbdev->readers) in dvb_generic_open()
126 dvbdev->readers--; in dvb_generic_open()
[all …]
Ddvb_ca_en50221.c131 struct dvb_device *dvbdev; member
494 ca->dvbdev->adapter->num, dvb_str[8], dvb_str[9], dvb_str[10], dvb_str[11]); in dvb_ca_en50221_parse_attributes()
635 ca->dvbdev->adapter->num, bytes_read, ca->slot_info[slot].link_buf_size); in dvb_ca_en50221_read_data()
642 ca->dvbdev->adapter->num); in dvb_ca_en50221_read_data()
650 ca->dvbdev->adapter->num); in dvb_ca_en50221_read_data()
1036 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread()
1058 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread()
1065 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread()
1073 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread()
1088 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread()
[all …]
Ddmxdev.c125 struct dvb_device *dvbdev = file->private_data; in dvb_dvr_open() local
126 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_open()
148 if (!dvbdev->readers) { in dvb_dvr_open()
158 dvbdev->readers--; in dvb_dvr_open()
178 dvbdev->users++; in dvb_dvr_open()
185 struct dvb_device *dvbdev = file->private_data; in dvb_dvr_release() local
186 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_release()
196 dvbdev->readers++; in dvb_dvr_release()
207 dvbdev->users--; in dvb_dvr_release()
208 if (dvbdev->users == 1 && dmxdev->exit == 1) { in dvb_dvr_release()
[all …]
Ddvb_net.c1281 if (dvbnet->dvbdev->id)
1283 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num);
1287 dvbnet->dvbdev->adapter->num, if_num);
1290 memcpy(net->dev_addr, dvbnet->dvbdev->adapter->proposed_mac, 6);
1346 struct dvb_device *dvbdev = file->private_data; local
1347 struct dvb_net *dvbnet = dvbdev->priv;
1367 if (!try_module_get(dvbdev->adapter->module)) {
1374 module_put(dvbdev->adapter->module);
1412 module_put(dvbdev->adapter->module);
1427 if (!try_module_get(dvbdev->adapter->module)) {
[all …]
Ddvb_frontend.c108 struct dvb_device *dvbdev; member
310 struct dvb_frontend *fe = fepriv->dvbdev->priv; in dvb_frontend_swzigzag_update_delay()
571 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting()
1897 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_ioctl() local
1898 struct dvb_frontend *fe = dvbdev->priv; in dvb_frontend_ioctl()
1933 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_ioctl_properties() local
1934 struct dvb_frontend *fe = dvbdev->priv; in dvb_frontend_ioctl_properties()
2152 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_ioctl_legacy() local
2153 struct dvb_frontend *fe = dvbdev->priv; in dvb_frontend_ioctl_legacy()
2402 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_poll() local
[all …]
Ddvb_net.h38 struct dvb_device *dvbdev; member
52 struct dvb_device *dvbdev; member
DMakefile7 dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o dvb_filter.o \
Ddmxdev.h95 struct dvb_device *dvbdev; member
Ddvbdev.h110 extern void dvb_unregister_device (struct dvb_device *dvbdev);
/drivers/media/pci/ttpci/
Dav7110_ca.c217 struct dvb_device *dvbdev = file->private_data; in dvb_ca_open() local
218 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_open()
231 struct dvb_device *dvbdev = file->private_data; in dvb_ca_poll() local
232 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_poll()
253 struct dvb_device *dvbdev = file->private_data; in dvb_ca_ioctl() local
254 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_ioctl()
341 struct dvb_device *dvbdev = file->private_data; in dvb_ca_write() local
342 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_write()
351 struct dvb_device *dvbdev = file->private_data; in dvb_ca_read() local
352 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_read()
Dav7110_av.c943 struct dvb_device *dvbdev = file->private_data; in dvb_video_poll() local
944 struct av7110 *av7110 = dvbdev->priv; in dvb_video_poll()
971 struct dvb_device *dvbdev = file->private_data; in dvb_video_write() local
972 struct av7110 *av7110 = dvbdev->priv; in dvb_video_write()
993 struct dvb_device *dvbdev = file->private_data; in dvb_audio_poll() local
994 struct av7110 *av7110 = dvbdev->priv; in dvb_audio_poll()
1013 struct dvb_device *dvbdev = file->private_data; in dvb_audio_write() local
1014 struct av7110 *av7110 = dvbdev->priv; in dvb_audio_write()
1098 struct dvb_device *dvbdev = file->private_data; in dvb_video_ioctl() local
1099 struct av7110 *av7110 = dvbdev->priv; in dvb_video_ioctl()
[all …]
Dav7110.c713 struct dvb_device *dvbdev = file->private_data; in dvb_osd_ioctl() local
714 struct av7110 *av7110 = dvbdev->priv; in dvb_osd_ioctl()
/drivers/media/pci/ngene/
Dngene-dvb.c53 struct dvb_device *dvbdev = file->private_data; in ts_write() local
54 struct ngene_channel *chan = dvbdev->priv; in ts_write()
70 struct dvb_device *dvbdev = file->private_data; in ts_read() local
71 struct ngene_channel *chan = dvbdev->priv; in ts_read()
/drivers/media/pci/bt8xx/
Ddst_ca.c559 struct dvb_device *dvbdev; in dst_ca_ioctl() local
568 dvbdev = file->private_data; in dst_ca_ioctl()
569 state = (struct dst_state *)dvbdev->priv; in dst_ca_ioctl()
711 struct dvb_device *dvbdev; in dst_ca_attach() local
714 if (dvb_register_device(dvb_adapter, &dvbdev, &dvbdev_ca, dst, DVB_DEVICE_CA) == 0) { in dst_ca_attach()
715 dst->dst_ca = dvbdev; in dst_ca_attach()
Ddst_ca.h54 struct dvb_device *dvbdev; member
/drivers/media/firewire/
Dfiredtv-ci.c178 struct dvb_device *dvbdev = file->private_data; in fdtv_ca_ioctl() local
179 struct firedtv *fdtv = dvbdev->priv; in fdtv_ca_ioctl()
/drivers/media/pci/cx88/
Dcx88-dvb.c160 if (!core->dvbdev) in cx88_dvb_gate_ctrl()
163 f = &core->dvbdev->frontends; in cx88_dvb_gate_ctrl()
1645 switch (core->dvbdev->frontends.active_fe_id) { in cx8802_dvb_advise_acquire()
1651 core->dvbdev->ts_gen_cntrl = 0x02; /* Parallel IO */ in cx8802_dvb_advise_acquire()
1658 core->dvbdev->ts_gen_cntrl = 0x0c; /* Serial IO */ in cx8802_dvb_advise_acquire()
1698 struct cx8802_dev *dev = drv->core->dvbdev; in cx8802_dvb_probe()
1729 fe = videobuf_dvb_get_frontend(&core->dvbdev->frontends, i); in cx8802_dvb_probe()
1752 videobuf_dvb_dealloc_frontends(&core->dvbdev->frontends); in cx8802_dvb_probe()
1760 struct cx8802_dev *dev = drv->core->dvbdev; in cx8802_dvb_remove()
Dcx88-mpeg.c822 core->dvbdev = dev; in cx8802_probe()
840 core->dvbdev = NULL; in cx8802_probe()
879 dev->core->dvbdev = NULL; in cx8802_remove()
Dcx88-blackbird.c1212 struct cx8802_dev *dev = core->dvbdev; in cx8802_blackbird_probe()
1266 struct cx8802_dev *dev = core->dvbdev; in cx8802_blackbird_remove()
1269 blackbird_unregister_video(drv->core->dvbdev); in cx8802_blackbird_remove()
Dcx88.h398 struct cx8802_dev *dvbdev; member
/drivers/media/pci/ddbridge/
Dddbridge-core.c903 struct dvb_device *dvbdev = file->private_data; in ts_write() local
904 struct ddb_output *output = dvbdev->priv; in ts_write()
928 struct dvb_device *dvbdev = file->private_data; in ts_read() local
929 struct ddb_output *output = dvbdev->priv; in ts_read()
/drivers/media/v4l2-core/
Dvideobuf-dvb.c380 if (fe->dvb.net.dvbdev) { in videobuf_dvb_dealloc_frontends()