/linux-6.6.21/drivers/media/dvb-core/ |
D | dvbdev.c | 88 struct dvb_device *dvbdev; in dvb_device_open() local 92 dvbdev = dvb_minors[iminor(inode)]; in dvb_device_open() 94 if (dvbdev && dvbdev->fops) { in dvb_device_open() 98 new_fops = fops_get(dvbdev->fops); in dvb_device_open() 101 file->private_data = dvb_device_get(dvbdev); in dvb_device_open() 108 dvb_device_put(dvbdev); in dvb_device_open() 127 struct dvb_device *dvbdev = file->private_data; in dvb_generic_open() local 129 if (!dvbdev) in dvb_generic_open() 132 if (!dvbdev->users) in dvb_generic_open() 136 if (!dvbdev->readers) in dvb_generic_open() [all …]
|
D | dvb_ca_en50221.c | 120 struct dvb_device *dvbdev; member 166 dvb_device_put(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() 1167 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine() 1184 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine() 1191 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine() 1200 ca->dvbdev->adapter->num); in dvb_ca_en50221_thread_state_machine() [all …]
|
D | dmxdev.c | 118 struct dvb_device *dvbdev = file->private_data; in dvb_dvr_open() local 119 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_open() 162 if (!dvbdev->readers) { in dvb_dvr_open() 175 dvbdev->readers--; in dvb_dvr_open() 195 dvbdev->users++; in dvb_dvr_open() 202 struct dvb_device *dvbdev = file->private_data; in dvb_dvr_release() local 203 struct dmxdev *dmxdev = dvbdev->priv; in dvb_dvr_release() 220 dvbdev->readers++; in dvb_dvr_release() 232 dvbdev->users--; in dvb_dvr_release() 233 if (dvbdev->users == 1 && dmxdev->exit == 1) { in dvb_dvr_release() [all …]
|
D | dvb_net.c | 1361 if (dvbnet->dvbdev->id) 1363 dvbnet->dvbdev->adapter->num, dvbnet->dvbdev->id, if_num); 1367 dvbnet->dvbdev->adapter->num, if_num); 1370 eth_hw_addr_set(net, dvbnet->dvbdev->adapter->proposed_mac); 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 …]
|
D | dvb_frontend.c | 95 struct dvb_device *dvbdev; member 139 dvb_device_put(fepriv->dvbdev); in __dvb_frontend_free() 363 struct dvb_frontend *fe = fepriv->dvbdev->priv; in dvb_frontend_swzigzag_update_delay() 631 if (fepriv->dvbdev->writers == 1) in dvb_frontend_is_exiting() 2070 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_do_ioctl() local 2071 struct dvb_frontend *fe = dvbdev->priv; in dvb_frontend_do_ioctl() 2114 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_ioctl() local 2116 if (!dvbdev) in dvb_frontend_ioctl() 2150 struct dvb_device *dvbdev = file->private_data; in dvb_frontend_handle_compat_ioctl() local 2151 struct dvb_frontend *fe = dvbdev->priv; in dvb_frontend_handle_compat_ioctl() [all …]
|
D | Makefile | 9 dvb-core-objs := dvbdev.o dmxdev.o dvb_demux.o \
|
/linux-6.6.21/drivers/media/usb/dvb-usb/ |
D | cxusb-analog.c | 45 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 …]
|
D | cxusb.h | 117 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 …]
|
D | cxusb.c | 421 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 …]
|
/linux-6.6.21/drivers/staging/media/av7110/ |
D | av7110_ca.c | 200 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()
|
D | av7110_av.c | 928 struct dvb_device *dvbdev = file->private_data; in dvb_video_poll() local 929 struct av7110 *av7110 = dvbdev->priv; in dvb_video_poll() 958 struct dvb_device *dvbdev = file->private_data; in dvb_video_write() local 959 struct av7110 *av7110 = dvbdev->priv; in dvb_video_write() 980 struct dvb_device *dvbdev = file->private_data; in dvb_audio_poll() local 981 struct av7110 *av7110 = dvbdev->priv; in dvb_audio_poll() 1000 struct dvb_device *dvbdev = file->private_data; in dvb_audio_write() local 1001 struct av7110 *av7110 = dvbdev->priv; in dvb_audio_write() 1124 struct dvb_device *dvbdev = file->private_data; in dvb_video_ioctl() local 1125 struct av7110 *av7110 = dvbdev->priv; in dvb_video_ioctl() [all …]
|
/linux-6.6.21/include/media/ |
D | dvbdev.h | 216 struct dvb_device *dvb_device_get(struct dvb_device *dvbdev); 223 void dvb_device_put(struct dvb_device *dvbdev); 274 void dvb_remove_device(struct dvb_device *dvbdev); 282 void dvb_unregister_device(struct dvb_device *dvbdev);
|
D | dvb_net.h | 51 struct dvb_device *dvbdev; member 80 struct dvb_device *dvbdev; member
|
D | dmxdev.h | 174 struct dvb_device *dvbdev; member
|
/linux-6.6.21/drivers/media/pci/ngene/ |
D | ngene-dvb.c | 39 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()
|
/linux-6.6.21/drivers/media/pci/bt8xx/ |
D | dst_ca.c | 527 struct dvb_device *dvbdev; in dst_ca_ioctl() local 536 dvbdev = file->private_data; in dst_ca_ioctl() 537 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()
|
D | dst_ca.h | 42 struct dvb_device *dvbdev; member
|
/linux-6.6.21/drivers/media/firewire/ |
D | firedtv-ci.c | 176 struct dvb_device *dvbdev = file->private_data; in fdtv_ca_ioctl() local 177 struct firedtv *fdtv = dvbdev->priv; in fdtv_ca_ioctl()
|
/linux-6.6.21/drivers/media/pci/cx88/ |
D | cx88-dvb.c | 197 if (!core->dvbdev) in cx88_dvb_gate_ctrl() 200 f = &core->dvbdev->frontends; in cx88_dvb_gate_ctrl() 1682 switch (core->dvbdev->frontends.active_fe_id) { in cx8802_dvb_advise_acquire() 1688 core->dvbdev->ts_gen_cntrl = 0x02; /* Parallel IO */ in cx8802_dvb_advise_acquire() 1695 core->dvbdev->ts_gen_cntrl = 0x0c; /* Serial IO */ in cx8802_dvb_advise_acquire() 1736 struct cx8802_dev *dev = drv->core->dvbdev; in cx8802_dvb_probe() 1768 fe = vb2_dvb_get_frontend(&core->dvbdev->frontends, i); in cx8802_dvb_probe() 1802 vb2_dvb_dealloc_frontends(&core->dvbdev->frontends); in cx8802_dvb_probe() 1810 struct cx8802_dev *dev = drv->core->dvbdev; in cx8802_dvb_remove()
|
D | cx88-mpeg.c | 725 core->dvbdev = dev; in cx8802_probe() 743 core->dvbdev = NULL; in cx8802_probe() 780 dev->core->dvbdev = NULL; in cx8802_remove()
|
D | cx88-blackbird.c | 1156 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()
|
/linux-6.6.21/Documentation/driver-api/media/ |
D | dtv-common.rst | 11 .. kernel-doc:: include/media/dvbdev.h
|
/linux-6.6.21/drivers/media/pci/ddbridge/ |
D | ddbridge-core.c | 709 struct dvb_device *dvbdev = file->private_data; in ts_write() local 710 struct ddb_output *output = dvbdev->priv; in ts_write() 738 struct dvb_device *dvbdev = file->private_data; in ts_read() local 739 struct ddb_output *output = dvbdev->priv; in ts_read() 767 struct dvb_device *dvbdev = file->private_data; in ts_poll() local 768 struct ddb_output *output = dvbdev->priv; in ts_poll() 784 struct dvb_device *dvbdev = file->private_data; in ts_release() local 788 if (dvbdev) { in ts_release() 789 output = dvbdev->priv; in ts_release() 808 struct dvb_device *dvbdev = file->private_data; in ts_open() local [all …]
|
/linux-6.6.21/drivers/media/common/videobuf2/ |
D | videobuf2-dvb.c | 323 if (fe->dvb.net.dvbdev) { in vb2_dvb_dealloc_frontends()
|
/linux-6.6.21/drivers/media/pci/pt3/ |
D | pt3.c | 464 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()
|