Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/media/dvb-core/
Ddvbdev.c98 struct dvb_device *dvbdev; in dvb_device_open() local
102 dvbdev = dvb_minors[iminor(inode)]; in dvb_device_open()
104 if (dvbdev && dvbdev->fops) { in dvb_device_open()
108 new_fops = fops_get(dvbdev->fops); in dvb_device_open()
111 file->private_data = dvbdev; in dvb_device_open()
137 struct dvb_device *dvbdev = file->private_data; in dvb_generic_open() local
139 if (!dvbdev) in dvb_generic_open()
142 if (!dvbdev->users) in dvb_generic_open()
146 if (!dvbdev->readers) in dvb_generic_open()
148 dvbdev->readers--; in dvb_generic_open()
[all …]
Ddvb_ca_en50221.c120 struct dvb_device *dvbdev; member
166 dvb_free_device(ca->dvbdev); in dvb_ca_private_free()
537 ca->dvbdev->adapter->num, dvb_str[8], dvb_str[9], in dvb_ca_en50221_parse_attributes()
705 ca->dvbdev->adapter->num, bytes_read, in dvb_ca_en50221_read_data()
713 ca->dvbdev->adapter->num); in dvb_ca_en50221_read_data()
721 ca->dvbdev->adapter->num); in dvb_ca_en50221_read_data()
1164 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine()
1181 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine()
1188 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine()
1197 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine()
[all …]
Ddmxdev.c128 struct dvb_device *dvbdev = file->private_data; in dvb_dvr_open() local
129 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_open()
172 if (!dvbdev->readers) { in dvb_dvr_open()
185 dvbdev->readers--; in dvb_dvr_open()
205 dvbdev->users++; in dvb_dvr_open()
212 struct dvb_device *dvbdev = file->private_data; in dvb_dvr_release() local
213 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_release()
230 dvbdev->readers++; in dvb_dvr_release()
242 dvbdev->users--; in dvb_dvr_release()
243 if (dvbdev->users == 1 && dmxdev->exit == 1) { in dvb_dvr_release()
[all …]
Ddvb_net.c1361 if (dvbnet->dvbdev->id)
1363 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num);
1367 dvbnet->dvbdev->adapter->num, if_num);
1370 memcpy(net->dev_addr, dvbnet->dvbdev->adapter->proposed_mac, 6);
1426 struct dvb_device *dvbdev = file->private_data; local
1427 struct dvb_net *dvbnet = dvbdev->priv;
1447 if (!try_module_get(dvbdev->adapter->module)) {
1454 module_put(dvbdev->adapter->module);
1498 module_put(dvbdev->adapter->module);
1513 if (!try_module_get(dvbdev->adapter->module)) {
[all …]
Ddvb_frontend.c94 struct dvb_device *dvbdev; member
138 dvb_free_device(fepriv->dvbdev); in __dvb_frontend_free()
354 struct dvb_frontend *fe = fepriv->dvbdev->priv; in dvb_frontend_swzigzag_update_delay()
618 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting()
820 if (fepriv->dvbdev->users < -1) { in dvb_frontend_stop()
821 wait_event(fepriv->dvbdev->wait_queue, in dvb_frontend_stop()
822 fepriv->dvbdev->users == -1); in dvb_frontend_stop()
1999 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_do_ioctl() local
2000 struct dvb_frontend *fe = dvbdev->priv; in dvb_frontend_do_ioctl()
2043 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_ioctl() local
[all …]
DMakefile9 dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o \
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dcxusb-analog.c45 struct dvb_usb_device *dvbdev = vb2_get_drv_priv(q); in cxusb_medion_v_queue_setup() local
46 struct cxusb_medion_dev *cxdev = dvbdev->priv; in cxusb_medion_v_queue_setup()
65 struct dvb_usb_device *dvbdev = vb2_get_drv_priv(vb->vb2_queue); in cxusb_medion_v_buf_init() local
66 struct cxusb_medion_dev *cxdev = dvbdev->priv; in cxusb_medion_v_buf_init()
68 cxusb_vprintk(dvbdev, OPS, "buffer init\n"); in cxusb_medion_v_buf_init()
73 cxusb_vprintk(dvbdev, OPS, "buffer OK\n"); in cxusb_medion_v_buf_init()
78 static void cxusb_auxbuf_init(struct dvb_usb_device *dvbdev, in cxusb_auxbuf_init() argument
82 cxusb_vprintk(dvbdev, AUXB, "initializing auxbuf of len %u\n", len); in cxusb_auxbuf_init()
89 static void cxusb_auxbuf_head_trim(struct dvb_usb_device *dvbdev, in cxusb_auxbuf_head_trim() argument
99 cxusb_vprintk(dvbdev, AUXB, in cxusb_auxbuf_head_trim()
[all …]
Dcxusb.h117 struct dvb_usb_device *dvbdev; member
170 #define cxusb_vprintk(dvbdev, lvl, ...) do { \ argument
171 struct cxusb_medion_dev *_cxdev = (dvbdev)->priv; \
181 int cxusb_medion_analog_init(struct dvb_usb_device *dvbdev);
182 int cxusb_medion_register_analog(struct dvb_usb_device *dvbdev);
183 void cxusb_medion_unregister_analog(struct dvb_usb_device *dvbdev);
185 static inline int cxusb_medion_analog_init(struct dvb_usb_device *dvbdev) in cxusb_medion_analog_init() argument
190 static inline int cxusb_medion_register_analog(struct dvb_usb_device *dvbdev) in cxusb_medion_register_analog() argument
195 static inline void cxusb_medion_unregister_analog(struct dvb_usb_device *dvbdev) in cxusb_medion_unregister_analog() argument
200 int cxusb_medion_get(struct dvb_usb_device *dvbdev,
[all …]
Dcxusb.c421 struct dvb_usb_device *dvbdev = adap->dev; in cxusb_streaming_ctrl() local
422 bool is_medion = dvbdev->props.devices[0].warm_ids[0] == in cxusb_streaming_ctrl()
429 ret = cxusb_medion_get(dvbdev, CXUSB_OPEN_DIGITAL); in cxusb_streaming_ctrl()
435 cxusb_ctrl_msg(dvbdev, CMD_STREAMING_ON, buf, 2, NULL, 0); in cxusb_streaming_ctrl()
437 cxusb_ctrl_msg(dvbdev, CMD_STREAMING_OFF, NULL, 0, NULL, 0); in cxusb_streaming_ctrl()
440 cxusb_medion_put(dvbdev); in cxusb_streaming_ctrl()
700 struct dvb_usb_device *dvbdev = adap->dev; in cxusb_fmd1216me_tuner_attach() local
701 bool is_medion = dvbdev->props.devices[0].warm_ids[0] == in cxusb_fmd1216me_tuner_attach()
705 &dvbdev->i2c_adap, 0x61, in cxusb_fmd1216me_tuner_attach()
824 struct dvb_usb_device *dvbdev = adap->dev; in cxusb_medion_fe_ts_bus_ctrl() local
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dav7110_ca.c200 struct dvb_device *dvbdev = file->private_data; in dvb_ca_open() local
201 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_open()
214 struct dvb_device *dvbdev = file->private_data; in dvb_ca_poll() local
215 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_poll()
236 struct dvb_device *dvbdev = file->private_data; in dvb_ca_ioctl() local
237 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_ioctl()
324 struct dvb_device *dvbdev = file->private_data; in dvb_ca_write() local
325 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_write()
334 struct dvb_device *dvbdev = file->private_data; in dvb_ca_read() local
335 struct av7110 *av7110 = dvbdev->priv; in dvb_ca_read()
Dav7110_av.c927 struct dvb_device *dvbdev = file->private_data; in dvb_video_poll() local
928 struct av7110 *av7110 = dvbdev->priv; in dvb_video_poll()
957 struct dvb_device *dvbdev = file->private_data; in dvb_video_write() local
958 struct av7110 *av7110 = dvbdev->priv; in dvb_video_write()
979 struct dvb_device *dvbdev = file->private_data; in dvb_audio_poll() local
980 struct av7110 *av7110 = dvbdev->priv; in dvb_audio_poll()
999 struct dvb_device *dvbdev = file->private_data; in dvb_audio_write() local
1000 struct av7110 *av7110 = dvbdev->priv; in dvb_audio_write()
1123 struct dvb_device *dvbdev = file->private_data; in dvb_video_ioctl() local
1124 struct av7110 *av7110 = dvbdev->priv; in dvb_video_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/ngene/
Dngene-dvb.c39 struct dvb_device *dvbdev = file->private_data; in ts_write() local
40 struct ngene_channel *chan = dvbdev->priv; in ts_write()
56 struct dvb_device *dvbdev = file->private_data; in ts_read() local
57 struct ngene_channel *chan = dvbdev->priv; in ts_read()
79 struct dvb_device *dvbdev = file->private_data; in ts_poll() local
80 struct ngene_channel *chan = dvbdev->priv; in ts_poll()
/kernel/linux/linux-5.10/include/media/
Ddvb_net.h53 struct dvb_device *dvbdev; member
82 struct dvb_device *dvbdev; member
Ddvbdev.h253 void dvb_remove_device(struct dvb_device *dvbdev);
262 void dvb_free_device(struct dvb_device *dvbdev);
274 void dvb_unregister_device(struct dvb_device *dvbdev);
Ddmxdev.h175 struct dvb_device *dvbdev; member
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Ddst_ca.c527 struct dvb_device *dvbdev; in dst_ca_ioctl() local
536 dvbdev = file->private_data; in dst_ca_ioctl()
537 state = (struct dst_state *)dvbdev->priv; in dst_ca_ioctl()
659 struct dvb_device *dvbdev; in dst_ca_attach() local
662 if (dvb_register_device(dvb_adapter, &dvbdev, &dvbdev_ca, dst, in dst_ca_attach()
664 dst->dst_ca = dvbdev; in dst_ca_attach()
Ddst_ca.h42 struct dvb_device *dvbdev; member
/kernel/linux/linux-5.10/drivers/media/firewire/
Dfiredtv-ci.c176 struct dvb_device *dvbdev = file->private_data; in fdtv_ca_ioctl() local
177 struct firedtv *fdtv = dvbdev->priv; in fdtv_ca_ioctl()
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-dvb.c196 if (!core->dvbdev) in cx88_dvb_gate_ctrl()
199 f = &core->dvbdev->frontends; in cx88_dvb_gate_ctrl()
1681 switch (core->dvbdev->frontends.active_fe_id) { in cx8802_dvb_advise_acquire()
1687 core->dvbdev->ts_gen_cntrl = 0x02; /* Parallel IO */ in cx8802_dvb_advise_acquire()
1694 core->dvbdev->ts_gen_cntrl = 0x0c; /* Serial IO */ in cx8802_dvb_advise_acquire()
1735 struct cx8802_dev *dev = drv->core->dvbdev; in cx8802_dvb_probe()
1767 fe = vb2_dvb_get_frontend(&core->dvbdev->frontends, i); in cx8802_dvb_probe()
1801 vb2_dvb_dealloc_frontends(&core->dvbdev->frontends); in cx8802_dvb_probe()
1809 struct cx8802_dev *dev = drv->core->dvbdev; in cx8802_dvb_remove()
Dcx88-mpeg.c723 core->dvbdev = dev; in cx8802_probe()
741 core->dvbdev = NULL; in cx8802_probe()
778 dev->core->dvbdev = NULL; in cx8802_remove()
Dcx88-blackbird.c1156 struct cx8802_dev *dev = core->dvbdev; in cx8802_blackbird_probe()
1222 struct cx8802_dev *dev = core->dvbdev; in cx8802_blackbird_remove()
1225 blackbird_unregister_video(drv->core->dvbdev); in cx8802_blackbird_remove()
/kernel/linux/linux-5.10/Documentation/driver-api/media/
Ddtv-common.rst20 .. kernel-doc:: include/media/dvbdev.h
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-core.c718 struct dvb_device *dvbdev = file->private_data; in ts_write() local
719 struct ddb_output *output = dvbdev->priv; in ts_write()
747 struct dvb_device *dvbdev = file->private_data; in ts_read() local
748 struct ddb_output *output = dvbdev->priv; in ts_read()
776 struct dvb_device *dvbdev = file->private_data; in ts_poll() local
777 struct ddb_output *output = dvbdev->priv; in ts_poll()
793 struct dvb_device *dvbdev = file->private_data; in ts_release() local
797 if (dvbdev) { in ts_release()
798 output = dvbdev->priv; in ts_release()
817 struct dvb_device *dvbdev = file->private_data; in ts_open() local
[all …]
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-dvb.c323 if (fe->dvb.net.dvbdev) { in vb2_dvb_dealloc_frontends()
/kernel/linux/linux-5.10/drivers/media/pci/pt3/
Dpt3.c464 adap->dvb_adap.num, adap->dmxdev.dvbdev->id); in pt3_start_streaming()
471 adap->dvb_adap.num, adap->dmxdev.dvbdev->id); in pt3_start_streaming()

12