Home
last modified time | relevance | path

Searched refs:mdrv (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/arm/display/komeda/
Dkomeda_drv.c23 struct komeda_drv *mdrv = dev_get_drvdata(dev); in dev_to_mdev() local
25 return mdrv ? mdrv->mdev : NULL; in dev_to_mdev()
30 struct komeda_drv *mdrv = dev_get_drvdata(dev); in komeda_unbind() local
32 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() local
53 mdrv = devm_kzalloc(dev, sizeof(*mdrv), GFP_KERNEL); in komeda_bind()
[all …]
/drivers/gpu/drm/imx/dcss/
Ddcss-drv.c21 struct dcss_drv *mdrv = dev_get_drvdata(dev); in dcss_drv_dev_to_dcss() local
23 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() local
30 return mdrv ? &mdrv->kms->base : NULL; in dcss_drv_dev_to_drm()
37 struct dcss_drv *mdrv; in dcss_drv_platform_probe() local
52 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 …]
/drivers/mcb/
Dmcb-core.c33 struct mcb_driver *mdrv = to_mcb_driver(drv); in mcb_match() local
37 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() local
64 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() local
88 mdrv->remove(mdev); in mcb_remove()
98 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_shutdown() local
101 if (mdrv && mdrv->shutdown) in mcb_shutdown()
102 mdrv->shutdown(mdev); in mcb_shutdown()
/drivers/input/mouse/
Dmaplemouse.c71 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_mouse() local
104 mdev->driver = mdrv; in probe_maple_mouse()
/drivers/input/keyboard/
Dmaple_keyb.c149 struct maple_driver *mdrv; in probe_maple_kbd() local
155 mdrv = to_maple_driver(dev->driver); in probe_maple_kbd()
194 mdev->driver = mdrv; in probe_maple_kbd()
/drivers/input/joystick/
Dmaplecontrol.c99 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_controller() local
148 mdev->driver = mdrv; in probe_maple_controller()
/drivers/bus/
Dmoxtet.c112 struct moxtet_driver *mdrv) in __moxtet_register_driver() argument
114 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()
/drivers/mtd/maps/
Dvmu-flash.c776 struct maple_driver *mdrv = to_maple_driver(dev->driver); in probe_maple_vmu() local
780 mdev->driver = mdrv; in probe_maple_vmu()