Lines Matching refs:media_dev
128 struct media_device *mdev = dev->media_dev; in au0828_unregister_media_device()
143 dev->media_dev->source_priv = NULL; in au0828_unregister_media_device()
144 dev->media_dev->enable_source = NULL; in au0828_unregister_media_device()
145 dev->media_dev->disable_source = NULL; in au0828_unregister_media_device()
148 media_device_delete(dev->media_dev, KBUILD_MODNAME, THIS_MODULE); in au0828_unregister_media_device()
149 dev->media_dev = NULL; in au0828_unregister_media_device()
205 dev->media_dev = mdev; in au0828_media_device_init()
224 media_device_for_each_entity(entity, dev->media_dev) { in au0828_media_graph_notify()
241 media_device_for_each_entity(entity, dev->media_dev) { in au0828_media_graph_notify()
566 if (!dev->media_dev) in au0828_media_device_register()
569 if (!media_devnode_is_registered(dev->media_dev->devnode)) { in au0828_media_device_register()
572 ret = media_device_register(dev->media_dev); in au0828_media_device_register()
574 media_device_delete(dev->media_dev, KBUILD_MODNAME, in au0828_media_device_register()
576 dev->media_dev = NULL; in au0828_media_device_register()
603 media_device_for_each_entity(entity, dev->media_dev) { in au0828_media_device_register()
630 media_device_register_entity_notify(dev->media_dev, in au0828_media_device_register()
634 mutex_lock(&dev->media_dev->graph_mutex); in au0828_media_device_register()
635 dev->media_dev->source_priv = (void *) dev; in au0828_media_device_register()
636 dev->media_dev->enable_source = au0828_enable_source; in au0828_media_device_register()
637 dev->media_dev->disable_source = au0828_disable_source; in au0828_media_device_register()
638 mutex_unlock(&dev->media_dev->graph_mutex); in au0828_media_device_register()