Lines Matching refs:dvb_adap

112 	dvb_register_media_controller(&adap->dvb_adap, mdev);  in dvb_usb_media_device_init()
122 return media_device_register(adap->dvb_adap.mdev); in dvb_usb_media_device_register()
131 if (!adap->dvb_adap.mdev) in dvb_usb_media_device_unregister()
134 mutex_lock(&adap->dvb_adap.mdev_lock); in dvb_usb_media_device_unregister()
136 media_device_unregister(adap->dvb_adap.mdev); in dvb_usb_media_device_unregister()
137 media_device_cleanup(adap->dvb_adap.mdev); in dvb_usb_media_device_unregister()
138 kfree(adap->dvb_adap.mdev); in dvb_usb_media_device_unregister()
139 adap->dvb_adap.mdev = NULL; in dvb_usb_media_device_unregister()
141 mutex_unlock(&adap->dvb_adap.mdev_lock); in dvb_usb_media_device_unregister()
148 int ret = dvb_register_adapter(&adap->dvb_adap, adap->dev->desc->name, in dvb_usb_adapter_dvb_init()
156 adap->dvb_adap.priv = adap; in dvb_usb_adapter_dvb_init()
165 if (adap->dev->props.read_mac_address(adap->dev, adap->dvb_adap.proposed_mac) == 0) in dvb_usb_adapter_dvb_init()
166 info("MAC address: %pM", adap->dvb_adap.proposed_mac); in dvb_usb_adapter_dvb_init()
192 if ((ret = dvb_dmxdev_init(&adap->dmxdev, &adap->dvb_adap)) < 0) { in dvb_usb_adapter_dvb_init()
197 if ((ret = dvb_net_init(&adap->dvb_adap, &adap->dvb_net, in dvb_usb_adapter_dvb_init()
213 dvb_unregister_adapter(&adap->dvb_adap); in dvb_usb_adapter_dvb_init()
227 dvb_unregister_adapter(&adap->dvb_adap); in dvb_usb_adapter_dvb_exit()
308 if (dvb_register_frontend(&adap->dvb_adap, adap->fe_adap[i].fe)) { in dvb_usb_adapter_frontend_init()
327 ret = dvb_create_media_graph(&adap->dvb_adap, true); in dvb_usb_adapter_frontend_init()