/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_drv.c | 23 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/ |
D | dcss-drv.c | 21 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/ |
D | mcb-core.c | 33 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/ |
D | moxtet.h | 75 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/ |
D | maplemouse.c | 71 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/ |
D | fsl_audmix.c | 468 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/ |
D | maple_keyb.c | 149 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/ |
D | maplecontrol.c | 99 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/ |
D | moxtet.c | 112 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/ |
D | vmu-flash.c | 776 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/ |
D | 0020_linux_drivers_gpu.patch | 11445 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 …]
|