Searched refs:mdrv (Results 1 – 8 of 8) sorted by relevance
23 struct komeda_drv *mdrv = dev_get_drvdata(dev); in dev_to_mdev() local25 return mdrv ? mdrv->mdev : NULL; in dev_to_mdev()30 struct komeda_drv *mdrv = dev_get_drvdata(dev); in komeda_unbind() local32 if (!mdrv) in komeda_unbind()35 komeda_kms_detach(mdrv->kms); in komeda_unbind()40 komeda_dev_suspend(mdrv->mdev); in komeda_unbind()42 komeda_dev_destroy(mdrv->mdev); in komeda_unbind()45 devm_kfree(dev, mdrv); in komeda_unbind()50 struct komeda_drv *mdrv; in komeda_bind() local53 mdrv = devm_kzalloc(dev, sizeof(*mdrv), GFP_KERNEL); in komeda_bind()[all …]
21 struct dcss_drv *mdrv = dev_get_drvdata(dev); in dcss_drv_dev_to_dcss() local23 return mdrv ? mdrv->dcss : NULL; in dcss_drv_dev_to_dcss()28 struct dcss_drv *mdrv = dev_get_drvdata(dev); in dcss_drv_dev_to_drm() local30 return mdrv ? &mdrv->kms->base : NULL; in dcss_drv_dev_to_drm()37 struct dcss_drv *mdrv; in dcss_drv_platform_probe() local52 mdrv = kzalloc(sizeof(*mdrv), GFP_KERNEL); in dcss_drv_platform_probe()53 if (!mdrv) in dcss_drv_platform_probe()56 mdrv->dcss = dcss_dev_create(dev, hdmi_output); in dcss_drv_platform_probe()57 if (IS_ERR(mdrv->dcss)) { in dcss_drv_platform_probe()58 err = PTR_ERR(mdrv->dcss); in dcss_drv_platform_probe()[all …]
33 struct mcb_driver *mdrv = to_mcb_driver(drv); in mcb_match() local37 found_id = mcb_match_id(mdrv->id_table, mdev); in mcb_match()58 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_probe() local64 found_id = mcb_match_id(mdrv->id_table, mdev); in mcb_probe()73 ret = mdrv->probe(mdev, found_id); in mcb_probe()84 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_remove() local88 mdrv->remove(mdev); in mcb_remove()98 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_shutdown() local101 if (mdrv && mdrv->shutdown) in mcb_shutdown()102 mdrv->shutdown(mdev); in mcb_shutdown()
71 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_mouse() local104 mdev->driver = mdrv; in probe_maple_mouse()
149 struct maple_driver *mdrv; in probe_maple_kbd() local155 mdrv = to_maple_driver(dev->driver); in probe_maple_kbd()194 mdev->driver = mdrv; in probe_maple_kbd()
99 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_controller() local148 mdev->driver = mdrv; in probe_maple_controller()
112 struct moxtet_driver *mdrv) in __moxtet_register_driver() argument114 mdrv->driver.owner = owner; in __moxtet_register_driver()115 mdrv->driver.bus = &moxtet_bus_type; in __moxtet_register_driver()116 return driver_register(&mdrv->driver); in __moxtet_register_driver()
776 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_vmu() local780 mdev->driver = mdrv; in probe_maple_vmu()