Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
82 struct mcb_driver *mdrv = to_mcb_driver(dev->driver); in mcb_remove() local
86 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()
/kernel/linux/linux-5.10/include/linux/
Dmoxtet.h75 struct moxtet_driver *mdrv);
77 static inline void moxtet_unregister_driver(struct moxtet_driver *mdrv) in moxtet_unregister_driver() argument
79 if (mdrv) in moxtet_unregister_driver()
80 driver_unregister(&mdrv->driver); in moxtet_unregister_driver()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dfsl_audmix.c468 const char *mdrv; in fsl_audmix_probe() local
477 mdrv = of_id->data; in fsl_audmix_probe()
513 priv->pdev = platform_device_register_data(dev, mdrv, 0, NULL, 0); in fsl_audmix_probe()
516 dev_err(dev, "failed to register platform %s: %d\n", mdrv, ret); in fsl_audmix_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch11445 return mdrv ? &mdrv->kms->base : NULL;
11453 - struct dcss_drv *mdrv;
11463 + struct dcss_drv *mdrv = dev_get_drvdata(dev);
11466 + return mdrv->is_componentized;
11472 + struct dcss_drv *mdrv;
11475 mdrv = kzalloc(sizeof(*mdrv), GFP_KERNEL);
11476 if (!mdrv)
11479 - mdrv->dcss = dcss_dev_create(dev, hdmi_output);
11480 + mdrv->is_componentized = componentized;
11482 + mdrv->dcss = dcss_dev_create(dev, componentized);
[all …]