Home
last modified time | relevance | path

Searched refs:ERR_PTR (Results 1 – 25 of 175) sorted by relevance

1234567

/device/soc/rockchip/common/sdk_linux/drivers/gpio/
Dgpiolib-of.c105 return ERR_PTR(-EINVAL); in of_xlate_and_get_gpiod_flags()
110 return ERR_PTR(ret); in of_xlate_and_get_gpiod_flags()
244 return ERR_PTR(ret); in of_get_named_gpiod_flags()
249 desc = ERR_PTR(-EPROBE_DEFER); in of_get_named_gpiod_flags()
325 return ERR_PTR(ret); in gpiod_get_from_of_node()
355 return ERR_PTR(ret); in gpiod_get_from_of_node()
378 return ERR_PTR(-ENOENT); in of_find_spi_gpio()
383 return ERR_PTR(-ENOENT); in of_find_spi_gpio()
404 return ERR_PTR(-ENOENT); in of_find_spi_cs_gpio()
410 return ERR_PTR(-ENOENT); in of_find_spi_cs_gpio()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Drockchip_drm_fb.c68 return ERR_PTR(-ENOMEM); in rockchip_fb_alloc()
81 return ERR_PTR(ret); in rockchip_fb_alloc()
96 return ERR_PTR(-ENOMEM); in rockchip_drm_logo_fb_alloc()
106 return ERR_PTR(ret); in rockchip_drm_logo_fb_alloc()
193 return ERR_PTR(-ENOMEM); in rockchip_fb_create()
198 return ERR_PTR(-ENOMEM); in rockchip_fb_create()
204 return ERR_PTR(ret); in rockchip_fb_create()
219 return ERR_PTR(ret); in rockchip_fb_create()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
Ddma-heap.c82 return ERR_PTR(-EINVAL); in dma_heap_buffer_alloc()
86 return ERR_PTR(-EINVAL); in dma_heap_buffer_alloc()
94 return ERR_PTR(-EINVAL); in dma_heap_buffer_alloc()
308 return ERR_PTR(-EINVAL); in dma_heap_add()
313 return ERR_PTR(-EINVAL); in dma_heap_add()
321 return ERR_PTR(-EINVAL); in dma_heap_add()
326 return ERR_PTR(-ENOMEM); in dma_heap_add()
338 err_ret = ERR_PTR(ret); in dma_heap_add()
349 err_ret = ERR_PTR(ret); in dma_heap_add()
Ddma-buf.c637 return ERR_PTR(-EINVAL); in dma_buf_export()
641 return ERR_PTR(-EINVAL); in dma_buf_export()
645 return ERR_PTR(-EINVAL); in dma_buf_export()
649 return ERR_PTR(-ENOENT); in dma_buf_export()
710 return ERR_PTR(ret); in dma_buf_export()
754 return ERR_PTR(-EBADF); in dma_buf_get()
759 return ERR_PTR(-EINVAL); in dma_buf_get()
836 return ERR_PTR(-EINVAL); in dma_buf_dynamic_attach()
840 return ERR_PTR(-EINVAL); in dma_buf_dynamic_attach()
845 return ERR_PTR(-ENOMEM); in dma_buf_dynamic_attach()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
Dthermal.h327 return ERR_PTR(-ENODEV); in thermal_zone_of_sensor_register()
338 return ERR_PTR(-ENODEV); in devm_thermal_zone_of_sensor_register()
381 return ERR_PTR(-ENODEV); in thermal_zone_device_register()
389 return ERR_PTR(-ENODEV); in thermal_cooling_device_register()
395 return ERR_PTR(-ENODEV); in thermal_of_cooling_device_register()
401 return ERR_PTR(-ENODEV); in devm_thermal_of_cooling_device_register()
408 return ERR_PTR(-ENODEV); in thermal_zone_get_zone_by_name()
Dpwm.h410 return ERR_PTR(-ENODEV); in pwm_request()
473 return ERR_PTR(-ENODEV); in pwm_request_from_chip()
478 return ERR_PTR(-ENODEV); in pwm_get()
483 return ERR_PTR(-ENODEV); in of_pwm_get()
492 return ERR_PTR(-ENODEV); in devm_pwm_get()
497 return ERR_PTR(-ENODEV); in devm_of_pwm_get()
503 return ERR_PTR(-ENODEV); in devm_fwnode_pwm_get()
Dextcon.h283 return ERR_PTR(-ENODEV); in extcon_get_extcon_dev()
288 return ERR_PTR(-ENODEV); in extcon_find_edev_by_node()
293 return ERR_PTR(-ENODEV); in extcon_get_edev_by_phandle()
/device/soc/rockchip/common/sdk_linux/drivers/nvmem/
Dcore.c618 return ERR_PTR(-EINVAL); in nvmem_register()
622 return ERR_PTR(-EINVAL); in nvmem_register()
627 return ERR_PTR(-ENOMEM); in nvmem_register()
633 return ERR_PTR(rval); in nvmem_register()
645 return ERR_PTR(rval); in nvmem_register()
735 return ERR_PTR(rval); in nvmem_register()
788 return ERR_PTR(-ENOMEM); in devm_nvmem_register()
836 return ERR_PTR(-EPROBE_DEFER); in nvmem_device_get_ext()
843 return ERR_PTR(-EINVAL); in nvmem_device_get_ext()
880 return ERR_PTR(-ENOENT); in of_nvmem_device_get()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
Dvideobuf2-rdma-sg.c72 return ERR_PTR(-EINVAL); in vb2_dma_sg_alloc()
76 return ERR_PTR(-ENOMEM); in vb2_dma_sg_alloc()
131 return ERR_PTR(-ENOMEM); in vb2_dma_sg_alloc()
178 return ERR_PTR(-EINVAL); in vb2_dma_sg_get_userptr()
182 return ERR_PTR(-ENOMEM); in vb2_dma_sg_get_userptr()
221 return ERR_PTR(-ENOMEM); in vb2_dma_sg_get_userptr()
390 return ERR_PTR(-EIO); in vb2_dma_sg_dmabuf_ops_map()
559 return ERR_PTR(-EINVAL); in vb2_dma_sg_attach_dmabuf()
562 return ERR_PTR(-EFAULT); in vb2_dma_sg_attach_dmabuf()
566 return ERR_PTR(-ENOMEM); in vb2_dma_sg_attach_dmabuf()
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Dvideobuf2-rdma-sg.c72 return ERR_PTR(-EINVAL); in vb2_dma_sg_alloc()
76 return ERR_PTR(-ENOMEM); in vb2_dma_sg_alloc()
131 return ERR_PTR(-ENOMEM); in vb2_dma_sg_alloc()
178 return ERR_PTR(-EINVAL); in vb2_dma_sg_get_userptr()
182 return ERR_PTR(-ENOMEM); in vb2_dma_sg_get_userptr()
221 return ERR_PTR(-ENOMEM); in vb2_dma_sg_get_userptr()
390 return ERR_PTR(-EIO); in vb2_dma_sg_dmabuf_ops_map()
559 return ERR_PTR(-EINVAL); in vb2_dma_sg_attach_dmabuf()
562 return ERR_PTR(-EFAULT); in vb2_dma_sg_attach_dmabuf()
566 return ERR_PTR(-ENOMEM); in vb2_dma_sg_attach_dmabuf()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
Dvideobuf2-rdma-sg.c73 return ERR_PTR(-EINVAL); in vb2_dma_sg_alloc()
78 return ERR_PTR(-ENOMEM); in vb2_dma_sg_alloc()
135 return ERR_PTR(-ENOMEM); in vb2_dma_sg_alloc()
181 return ERR_PTR(-EINVAL); in vb2_dma_sg_get_userptr()
186 return ERR_PTR(-ENOMEM); in vb2_dma_sg_get_userptr()
228 return ERR_PTR(-ENOMEM); in vb2_dma_sg_get_userptr()
400 return ERR_PTR(-EIO); in vb2_dma_sg_dmabuf_ops_map()
565 return ERR_PTR(-EINVAL); in vb2_dma_sg_attach_dmabuf()
569 return ERR_PTR(-EFAULT); in vb2_dma_sg_attach_dmabuf()
574 return ERR_PTR(-ENOMEM); in vb2_dma_sg_attach_dmabuf()
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/wds/
Drtw_wds.c223 return ERR_PTR(-ENOTSUPP); in rtw_wds_path_add()
227 return ERR_PTR(-ENOTSUPP); in rtw_wds_path_add()
230 return ERR_PTR(-ENOTSUPP); in rtw_wds_path_add()
233 return ERR_PTR(-ENOSPC); in rtw_wds_path_add()
237 return ERR_PTR(-ENOMEM); in rtw_wds_path_add()
252 return ERR_PTR(ret); in rtw_wds_path_add()
658 return ERR_PTR(-ENOTSUPP); in rtw_wds_gptr_add()
661 return ERR_PTR(-ENOSPC); in rtw_wds_gptr_add()
665 return ERR_PTR(-ENOMEM); in rtw_wds_gptr_add()
680 return ERR_PTR(ret); in rtw_wds_gptr_add()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/
Dsunxi_drm_gem.c237 return ERR_PTR(-ENOMEM); in sunxi_drm_gem_obj_init()
257 return ERR_PTR(ret); in sunxi_drm_gem_obj_init()
283 return ERR_PTR(-EINVAL); in sunxi_drm_gem_create()
288 return ERR_PTR(-EINVAL); in sunxi_drm_gem_create()
313 return ERR_PTR(ret); in sunxi_drm_gem_create()
607 return ERR_PTR(ret); in sunxi_drm_gem_prime_import_sg_table()
644 return ERR_PTR(ret); in sunxi_drm_gem_prime_import_sg_table()
Dsunxi_drm_fb.c144 return ERR_PTR(-ENOMEM); in sunxi_drm_fb_alloc()
155 return ERR_PTR(ret); in sunxi_drm_fb_alloc()
229 return ERR_PTR(ret); in sunxi_drm_fb_create_with_funcs()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
Dsystem_heap.c73 return ERR_PTR(-ENOMEM); in dup_sg_table()
79 return ERR_PTR(-ENOMEM); in dup_sg_table()
151 return ERR_PTR(ret); in system_heap_map_dma_buf()
260 return ERR_PTR(-ENOMEM); in system_heap_do_vmap()
277 return ERR_PTR(-ENOMEM); in system_heap_do_vmap()
432 return ERR_PTR(-ENOMEM); in system_heap_do_allocate()
513 return ERR_PTR(ret); in system_heap_do_allocate()
551 return ERR_PTR(-EBUSY); in system_uncached_heap_not_initialized()
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
Dcore.c1010 rdev_err(rdev, "failed to set load %d: %pe\n", current_uA, ERR_PTR(err)); in drms_uA_update()
1040 ERR_PTR(err)); in drms_uA_update()
1046 rdev_err(rdev, "failed to set optimum mode %x: %pe\n", mode, ERR_PTR(err)); in drms_uA_update()
1066 rdev_err(rdev, "failed to enabled/disable: %pe\n", ERR_PTR(ret)); in _suspend_set_state()
1073 rdev_err(rdev, "failed to set voltage: %pe\n", ERR_PTR(ret)); in _suspend_set_state()
1081 rdev_err(rdev, "failed to set mode: %pe\n", ERR_PTR(ret)); in _suspend_set_state()
1203 rdev_err(rdev, "failed to get the current voltage: %pe\n", ERR_PTR(current_uV)); in machine_constraints_voltage()
1229 … rdev_err(rdev, "failed to apply %d-%duV constraint: %pe\n", target_min, target_max, ERR_PTR(ret)); in machine_constraints_voltage()
1445 rdev_err(rdev, "is_enabled() failed: %pe\n", ERR_PTR(ret)); in _regulator_enable()
1519 rdev_err(rdev, "failed to set input limit: %pe\n", ERR_PTR(ret)); in set_machine_constraints()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/devfreq/
Ddevfreq.c72 return ERR_PTR(-EINVAL); in find_device_devfreq()
82 return ERR_PTR(-ENODEV); in find_device_devfreq()
271 return ERR_PTR(-EINVAL); in find_devfreq_governor()
281 return ERR_PTR(-ENODEV); in find_devfreq_governor()
304 return ERR_PTR(-EINVAL); in try_then_request_governor()
319 return (err < 0) ? ERR_PTR(err) : ERR_PTR(-EINVAL); in try_then_request_governor()
779 return ERR_PTR(-EINVAL); in devfreq_add_device()
926 return ERR_PTR(err); in devfreq_add_device()
965 return ERR_PTR(-ENOMEM); in devm_devfreq_add_device()
993 return ERR_PTR(-EINVAL); in devfreq_get_devfreq_by_node()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/clk/rockchip/
Dclk.c54 return ERR_PTR(-ENOMEM); in rockchip_clk_register_branch()
113 return ERR_PTR(ret); in rockchip_clk_register_branch()
235 return ERR_PTR(-EINVAL); in rockchip_clk_register_frac_branch()
240 return ERR_PTR(-EINVAL); in rockchip_clk_register_frac_branch()
245 return ERR_PTR(-ENOMEM); in rockchip_clk_register_frac_branch()
343 return ERR_PTR(-ENOMEM); in rockchip_clk_register_factor_branch()
354 return ERR_PTR(-ENOMEM); in rockchip_clk_register_factor_branch()
383 return ERR_PTR(-EINVAL); in rockchip_clk_register_composite_brother_branch()
422 return ERR_PTR(-ENOMEM); in rockchip_clk_init()
431 clk_table[i] = ERR_PTR(-ENOENT); in rockchip_clk_init()
[all …]
Dclk-cpu.c258 return ERR_PTR(-EINVAL); in rockchip_clk_register_cpuclk()
263 return ERR_PTR(-EINVAL); in rockchip_clk_register_cpuclk()
268 return ERR_PTR(-ENOMEM); in rockchip_clk_register_cpuclk()
353 return ERR_PTR(ret); in rockchip_clk_register_cpuclk()
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
Dthermal_core.c1110 return ERR_PTR(-EINVAL); in __thermal_cooling_device_register()
1115 return ERR_PTR(-ENOMEM); in __thermal_cooling_device_register()
1165 return ERR_PTR(ret); in __thermal_cooling_device_register()
1241 return ERR_PTR(-ENOMEM); in devm_thermal_of_cooling_device_register()
1410 return ERR_PTR(-EINVAL); in thermal_zone_device_register()
1415 return ERR_PTR(-EINVAL); in thermal_zone_device_register()
1420 return ERR_PTR(-EINVAL); in thermal_zone_device_register()
1425 return ERR_PTR(-EINVAL); in thermal_zone_device_register()
1429 return ERR_PTR(-EINVAL); in thermal_zone_device_register()
1434 return ERR_PTR(-ENOMEM); in thermal_zone_device_register()
[all …]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
Dmpp_iommu.c173 return ERR_PTR(-EINVAL); in mpp_dma_import_fd()
250 return ERR_PTR(ret); in mpp_dma_import_fd()
390 return ERR_PTR(-ENODEV); in mpp_iommu_probe()
397 return ERR_PTR(-ENODEV); in mpp_iommu_probe()
449 return ERR_PTR(ret); in mpp_iommu_probe()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
Dmpp_iommu.c179 return ERR_PTR(-EINVAL); in mpp_dma_import_fd()
255 return ERR_PTR(ret); in mpp_dma_import_fd()
396 return ERR_PTR(-ENODEV); in mpp_iommu_probe()
403 return ERR_PTR(-ENODEV); in mpp_iommu_probe()
453 return ERR_PTR(ret); in mpp_iommu_probe()
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/mpp/
Dmpp_iommu.c179 return ERR_PTR(-EINVAL); in mpp_dma_import_fd()
255 return ERR_PTR(ret); in mpp_dma_import_fd()
396 return ERR_PTR(-ENODEV); in mpp_iommu_probe()
403 return ERR_PTR(-ENODEV); in mpp_iommu_probe()
453 return ERR_PTR(ret); in mpp_iommu_probe()
/device/soc/rockchip/common/sdk_linux/drivers/media/v4l2-core/
Dv4l2-async.c714 return ERR_PTR(-ENOMEM); in v4l2_async_notifier_add_fwnode_subdev()
724 return ERR_PTR(ret); in v4l2_async_notifier_add_fwnode_subdev()
740 return ERR_PTR(-ENOTCONN); in v4l2_async_notifier_add_fwnode_remote_subdev()
761 return ERR_PTR(-ENOMEM); in v4l2_async_notifier_add_i2c_subdev()
771 return ERR_PTR(ret); in v4l2_async_notifier_add_i2c_subdev()
786 return ERR_PTR(-ENOMEM); in v4l2_async_notifier_add_devname_subdev()
795 return ERR_PTR(ret); in v4l2_async_notifier_add_devname_subdev()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/himedia/
Dbase.c312 return ERR_PTR(-EINVAL); in himedia_driver_register()
317 return ERR_PTR(-ENOMEM); in himedia_driver_register()
324 return ERR_PTR(-EINVAL); in himedia_driver_register()
338 return ERR_PTR(ret); in himedia_driver_register()

1234567