/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/ |
D | dev.c | 291 ret = sprintf(ispp_dev->media_dev.model, "%s%d", DRIVER_NAME, ispp_dev->dev_id); in rkispp_plat_probe() 298 … strscpy(ispp_dev->media_dev.driver_name, ispp_dev->name, sizeof(ispp_dev->media_dev.driver_name)); in rkispp_plat_probe() 299 ispp_dev->media_dev.dev = &pdev->dev; in rkispp_plat_probe() 301 v4l2_dev->mdev = &ispp_dev->media_dev; in rkispp_plat_probe() 311 media_device_init(&ispp_dev->media_dev); in rkispp_plat_probe() 312 ret = media_device_register(&ispp_dev->media_dev); in rkispp_plat_probe() 331 media_device_unregister(&ispp_dev->media_dev); in rkispp_plat_probe() 349 media_device_unregister(&ispp_dev->media_dev); in rkispp_plat_remove()
|
D | dev.h | 39 struct media_device media_dev; member
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/ispp/ |
D | dev.c | 272 sprintf(ispp_dev->media_dev.model, "%s%d", in rkispp_plat_probe() 280 strscpy(ispp_dev->media_dev.driver_name, ispp_dev->name, in rkispp_plat_probe() 281 sizeof(ispp_dev->media_dev.driver_name)); in rkispp_plat_probe() 282 ispp_dev->media_dev.dev = &pdev->dev; in rkispp_plat_probe() 284 v4l2_dev->mdev = &ispp_dev->media_dev; in rkispp_plat_probe() 294 media_device_init(&ispp_dev->media_dev); in rkispp_plat_probe() 295 ret = media_device_register(&ispp_dev->media_dev); in rkispp_plat_probe() 314 media_device_unregister(&ispp_dev->media_dev); in rkispp_plat_probe() 332 media_device_unregister(&ispp_dev->media_dev); in rkispp_plat_remove()
|
D | dev.h | 32 struct media_device media_dev; member
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/ispp/ |
D | dev.c | 272 sprintf(ispp_dev->media_dev.model, "%s%d", in rkispp_plat_probe() 280 strscpy(ispp_dev->media_dev.driver_name, ispp_dev->name, in rkispp_plat_probe() 281 sizeof(ispp_dev->media_dev.driver_name)); in rkispp_plat_probe() 282 ispp_dev->media_dev.dev = &pdev->dev; in rkispp_plat_probe() 284 v4l2_dev->mdev = &ispp_dev->media_dev; in rkispp_plat_probe() 294 media_device_init(&ispp_dev->media_dev); in rkispp_plat_probe() 295 ret = media_device_register(&ispp_dev->media_dev); in rkispp_plat_probe() 314 media_device_unregister(&ispp_dev->media_dev); in rkispp_plat_probe() 332 media_device_unregister(&ispp_dev->media_dev); in rkispp_plat_remove()
|
D | dev.h | 32 struct media_device media_dev; member
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
D | dev.c | 505 mutex_lock(&dev->media_dev.graph_mutex); in subdev_notifier_complete() 531 mutex_unlock(&dev->media_dev.graph_mutex); in subdev_notifier_complete() 781 sprintf(isp_dev->media_dev.model, "%s%d", DRIVER_NAME, isp_dev->dev_id); in rkisp_plat_probe() 787 strscpy(isp_dev->media_dev.driver_name, isp_dev->name, sizeof(isp_dev->media_dev.driver_name)); in rkisp_plat_probe() 811 isp_dev->media_dev.dev = dev; in rkisp_plat_probe() 812 isp_dev->media_dev.ops = &rkisp_media_ops; in rkisp_plat_probe() 815 v4l2_dev->mdev = &isp_dev->media_dev; in rkisp_plat_probe() 826 media_device_init(&isp_dev->media_dev); in rkisp_plat_probe() 827 ret = media_device_register(&isp_dev->media_dev); in rkisp_plat_probe() 852 media_device_unregister(&isp_dev->media_dev); in rkisp_plat_probe() [all …]
|
D | dev.h | 181 struct media_device media_dev; member
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/ |
D | dev.c | 479 mutex_lock(&dev->media_dev.graph_mutex); in subdev_notifier_complete() 502 mutex_unlock(&dev->media_dev.graph_mutex); in subdev_notifier_complete() 756 sprintf(isp_dev->media_dev.model, "%s%d", in rkisp_plat_probe() 762 strscpy(isp_dev->media_dev.driver_name, isp_dev->name, in rkisp_plat_probe() 763 sizeof(isp_dev->media_dev.driver_name)); in rkisp_plat_probe() 786 isp_dev->media_dev.dev = dev; in rkisp_plat_probe() 787 isp_dev->media_dev.ops = &rkisp_media_ops; in rkisp_plat_probe() 790 v4l2_dev->mdev = &isp_dev->media_dev; in rkisp_plat_probe() 801 media_device_init(&isp_dev->media_dev); in rkisp_plat_probe() 802 ret = media_device_register(&isp_dev->media_dev); in rkisp_plat_probe() [all …]
|
D | dev.h | 181 struct media_device media_dev; member
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
D | dev.c | 479 mutex_lock(&dev->media_dev.graph_mutex); in subdev_notifier_complete() 502 mutex_unlock(&dev->media_dev.graph_mutex); in subdev_notifier_complete() 756 sprintf(isp_dev->media_dev.model, "%s%d", in rkisp_plat_probe() 762 strscpy(isp_dev->media_dev.driver_name, isp_dev->name, in rkisp_plat_probe() 763 sizeof(isp_dev->media_dev.driver_name)); in rkisp_plat_probe() 786 isp_dev->media_dev.dev = dev; in rkisp_plat_probe() 787 isp_dev->media_dev.ops = &rkisp_media_ops; in rkisp_plat_probe() 790 v4l2_dev->mdev = &isp_dev->media_dev; in rkisp_plat_probe() 801 media_device_init(&isp_dev->media_dev); in rkisp_plat_probe() 802 ret = media_device_register(&isp_dev->media_dev); in rkisp_plat_probe() [all …]
|
D | dev.h | 181 struct media_device media_dev; member
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/ |
D | vin.h | 243 struct media_device media_dev; member 256 container_of(me->graph_obj.mdev, struct vin_md, media_dev); in entity_to_vin_mdev()
|
D | vin.c | 1833 strlcpy(vind->media_dev.model, "Allwinner Vin", in vin_probe() 1834 sizeof(vind->media_dev.model)); in vin_probe() 1836 vind->media_dev.ops = &media_device_ops; in vin_probe() 1837 vind->media_dev.dev = dev; in vin_probe() 1840 v4l2_dev->mdev = &vind->media_dev; in vin_probe() 1848 media_device_init(&vind->media_dev); in vin_probe() 1849 ret = media_device_register(&vind->media_dev); in vin_probe() 1882 mutex_lock(&vind->media_dev.graph_mutex); in vin_probe() 1884 mutex_unlock(&vind->media_dev.graph_mutex); in vin_probe() 1915 media_device_unregister(&vind->media_dev); in vin_probe() [all …]
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/ |
D | dev.c | 1674 strlcpy(cif_dev->media_dev.model, dev_name(dev), in rkcif_plat_init() 1675 sizeof(cif_dev->media_dev.model)); in rkcif_plat_init() 1679 cif_dev->media_dev.dev = dev; in rkcif_plat_init() 1681 v4l2_dev->mdev = &cif_dev->media_dev; in rkcif_plat_init() 1688 media_device_init(&cif_dev->media_dev); in rkcif_plat_init() 1689 ret = media_device_register(&cif_dev->media_dev); in rkcif_plat_init() 1713 media_device_unregister(&cif_dev->media_dev); in rkcif_plat_init() 1730 media_device_unregister(&cif_dev->media_dev); in rkcif_plat_uninit()
|
D | dev.h | 665 struct media_device media_dev; member
|
/device/board/isoftstone/yangfan/kernel/src/driv/media/cif/ |
D | dev.c | 1674 strlcpy(cif_dev->media_dev.model, dev_name(dev), in rkcif_plat_init() 1675 sizeof(cif_dev->media_dev.model)); in rkcif_plat_init() 1679 cif_dev->media_dev.dev = dev; in rkcif_plat_init() 1681 v4l2_dev->mdev = &cif_dev->media_dev; in rkcif_plat_init() 1688 media_device_init(&cif_dev->media_dev); in rkcif_plat_init() 1689 ret = media_device_register(&cif_dev->media_dev); in rkcif_plat_init() 1713 media_device_unregister(&cif_dev->media_dev); in rkcif_plat_init() 1730 media_device_unregister(&cif_dev->media_dev); in rkcif_plat_uninit()
|
D | dev.h | 665 struct media_device media_dev; member
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/ |
D | dev.c | 1561 strlcpy(cif_dev->media_dev.model, dev_name(dev), sizeof(cif_dev->media_dev.model)); in rkcif_plat_init() 1566 cif_dev->media_dev.dev = dev; in rkcif_plat_init() 1568 v4l2_dev->mdev = &cif_dev->media_dev; in rkcif_plat_init() 1576 media_device_init(&cif_dev->media_dev); in rkcif_plat_init() 1577 ret = media_device_register(&cif_dev->media_dev); in rkcif_plat_init() 1601 media_device_unregister(&cif_dev->media_dev); in rkcif_plat_init() 1620 media_device_unregister(&cif_dev->media_dev); in rkcif_plat_uninit()
|
D | dev.h | 700 struct media_device media_dev; member
|