Home
last modified time | relevance | path

Searched refs:IS_ERR_OR_NULL (Results 1 - 25 of 128) sorted by relevance

123456

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_tiler_heap_debugfs.c121 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) in kbase_csf_tiler_heap_debugfs_init()
127 if (IS_ERR_OR_NULL(file)) { in kbase_csf_tiler_heap_debugfs_init()
137 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) in kbase_csf_tiler_heap_total_debugfs_init()
143 if (IS_ERR_OR_NULL(file)) { in kbase_csf_tiler_heap_total_debugfs_init()
H A Dmali_kbase_csf_kcpu_debugfs.c176 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) in kbase_csf_kcpu_debugfs_init()
182 if (IS_ERR_OR_NULL(file)) { in kbase_csf_kcpu_debugfs_init()
H A Dmali_kbase_csf_cpu_queue_debugfs.c109 if (WARN_ON(!kctx || IS_ERR_OR_NULL(kctx->kctx_dentry))) in kbase_csf_cpu_queue_debugfs_init()
115 if (IS_ERR_OR_NULL(file)) { in kbase_csf_cpu_queue_debugfs_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_dvfs_debugfs.c77 if (WARN_ON(!kbdev || IS_ERR_OR_NULL(kbdev->mali_debugfs_directory))) in kbase_dvfs_status_debugfs_init()
84 if (IS_ERR_OR_NULL(file)) { in kbase_dvfs_status_debugfs_init()
H A Dmali_kbase_mem_profile_debugfs.c85 if (IS_ERR_OR_NULL(kctx->kctx_dentry)) { in kbasep_mem_profile_debugfs_insert()
87 } else if (IS_ERR_OR_NULL(debugfs_create_file("mem_profile", in kbasep_mem_profile_debugfs_insert()
H A Dmali_kbase_as_fault_debugfs.c96 if (IS_ERR_OR_NULL(debugfs_directory)) { in kbase_as_fault_debugfs_init()
H A Dmali_kbase_pbha_debugfs.c131 if (IS_ERR_OR_NULL(debugfs_pbha_dir)) { in kbase_pbha_debugfs_init()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/kutf/
H A Dkutf_suite.c585 if (IS_ERR_OR_NULL(test_func->dir)) { in create_fixture_variant()
594 if (IS_ERR_OR_NULL(tmp)) { in create_fixture_variant()
609 if (IS_ERR_OR_NULL(tmp)) { in create_fixture_variant()
669 if (IS_ERR_OR_NULL(test_func->dir)) { in kutf_add_test_with_filters_and_data()
676 if (IS_ERR_OR_NULL(tmp)) { in kutf_add_test_with_filters_and_data()
689 if (IS_ERR_OR_NULL(tmp)) { in kutf_add_test_with_filters_and_data()
701 if (IS_ERR_OR_NULL(tmp)) { in kutf_add_test_with_filters_and_data()
808 if (IS_ERR_OR_NULL(suite->dir)) { in kutf_create_suite_with_filters_and_data()
815 if (IS_ERR_OR_NULL(tmp)) { in kutf_create_suite_with_filters_and_data()
916 if (IS_ERR_OR_NULL(ap in kutf_create_application()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/arm/
H A Djuno_opp.c55 if (IS_ERR_OR_NULL(sinfo)) in init_juno_opps_from_scpi()
110 if (IS_ERR_OR_NULL(sinfo)) in term_opps()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c111 if (IS_ERR_OR_NULL(buffer)) { in mpp_dma_release_fd()
181 if (!IS_ERR_OR_NULL(buffer)) { in mpp_dma_import_fd()
258 if (IS_ERR_OR_NULL(vaddr) || IS_ERR_OR_NULL(dmabuf)) { in mpp_dma_unmap_kernel()
276 if (IS_ERR_OR_NULL(dmabuf)) { in mpp_dma_map_kernel()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_iommu.c115 if (IS_ERR_OR_NULL(buffer)) { in mpp_dma_release_fd()
187 if (!IS_ERR_OR_NULL(buffer)) { in mpp_dma_import_fd()
264 if (IS_ERR_OR_NULL(vaddr) || in mpp_dma_unmap_kernel()
265 IS_ERR_OR_NULL(dmabuf)) in mpp_dma_unmap_kernel()
283 if (IS_ERR_OR_NULL(dmabuf)) in mpp_dma_map_kernel()
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Dbq25700_charger.c1326 if (!IS_ERR_OR_NULL(charger->typec0_enable_io)) in bq25700_enable_typec0()
1328 if (!IS_ERR_OR_NULL(charger->typec1_enable_io)) in bq25700_enable_typec0()
1334 if (!IS_ERR_OR_NULL(charger->typec0_enable_io)) in bq25700_enable_typec1()
1336 if (!IS_ERR_OR_NULL(charger->typec1_enable_io)) in bq25700_enable_typec1()
1342 if (!IS_ERR_OR_NULL(charger->typec0_enable_io)) in bq25700_disable_charge()
1344 if (!IS_ERR_OR_NULL(charger->typec1_enable_io)) in bq25700_disable_charge()
1350 if (!IS_ERR_OR_NULL(charger->typec0_discharge_io)) in bq25700_typec0_discharge()
1353 if (!IS_ERR_OR_NULL(charger->typec0_discharge_io)) in bq25700_typec0_discharge()
1359 if (!IS_ERR_OR_NULL(charger->typec1_discharge_io)) in bq25700_typec1_discharge()
1362 if (!IS_ERR_OR_NULL(charge in bq25700_typec1_discharge()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_secure.c28 if (IS_ERR_OR_NULL(buf)) { in mali_mem_secure_attach_dma_buf()
46 if (IS_ERR_OR_NULL(secure_mem->sgt)) { in mali_mem_secure_attach_dma_buf()
H A Dmali_memory_dma_buf.c73 if (IS_ERR_OR_NULL(mem->sgt)) { in mali_dma_buf_map()
261 if (IS_ERR_OR_NULL(buf)) { in mali_dma_buf_get_size()
288 if (IS_ERR_OR_NULL(buf)) { in mali_mem_bind_dma_buf()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_memory_secure.c27 if (IS_ERR_OR_NULL(buf)) { in mali_mem_secure_attach_dma_buf()
45 if (IS_ERR_OR_NULL(secure_mem->sgt)) { in mali_mem_secure_attach_dma_buf()
H A Dmali_memory_dma_buf.c72 if (IS_ERR_OR_NULL(mem->sgt)) { in mali_dma_buf_map()
259 if (IS_ERR_OR_NULL(buf)) { in mali_dma_buf_get_size()
288 if (IS_ERR_OR_NULL(buf)) { in mali_mem_bind_dma_buf()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
H A Ddrv_tee_smmu_agent.c302 if (!IS_ERR_OR_NULL(shared_mem)) { in smmu_tee_agent_run()
311 if (!IS_ERR_OR_NULL(agent_instance->agent_thread)) { in smmu_tee_agent_run()
339 if (!IS_ERR_OR_NULL(agent_instance->agent_thread)) { in smmu_agent_stop()
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Dpm_domains.c269 if (IS_ERR_OR_NULL(dev)) { in rockchip_pmu_idle_request()
273 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_pmu_idle_request()
323 if (IS_ERR_OR_NULL(dev)) { in rockchip_save_qos()
327 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_save_qos()
348 if (IS_ERR_OR_NULL(dev)) { in rockchip_restore_qos()
352 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_restore_qos()
437 if (IS_ERR_OR_NULL(pd->supply) && PTR_ERR(pd->supply) != -ENODEV) { in rockchip_pd_power()
527 if (IS_ERR_OR_NULL(dev)) { in rockchip_pmu_pd_on()
531 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_pmu_pd_on()
547 if (IS_ERR_OR_NULL(de in rockchip_pmu_pd_off()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/soc/rockchip/
H A Dpm_domains.c281 if (IS_ERR_OR_NULL(dev)) { in rockchip_pmu_idle_request()
285 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_pmu_idle_request()
335 if (IS_ERR_OR_NULL(dev)) { in rockchip_save_qos()
339 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_save_qos()
360 if (IS_ERR_OR_NULL(dev)) { in rockchip_restore_qos()
364 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_restore_qos()
449 if (IS_ERR_OR_NULL(pd->supply) && PTR_ERR(pd->supply) != -ENODEV) { in rockchip_pd_power()
539 if (IS_ERR_OR_NULL(dev)) { in rockchip_pmu_pd_on()
543 if (IS_ERR_OR_NULL(dev->pm_domain)) { in rockchip_pmu_pd_on()
559 if (IS_ERR_OR_NULL(de in rockchip_pmu_pd_off()
[all...]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_mem_profile_debugfs.c82 if (IS_ERR_OR_NULL(kctx->kctx_dentry)) { in kbasep_mem_profile_debugfs_insert()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hcc/
H A Dhcc_task.c307 if (IS_ERR_OR_NULL(hcc_handler->hcc_transer_info.hcc_transfer_thread) || in hcc_task_init()
308 IS_ERR_OR_NULL(hcc_handler->hcc_transer_info.hcc_rx_thread)) { in hcc_task_init()
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/
H A Drga2_debugger.c250 if (IS_ERR_OR_NULL(debugger->debugfs_dir)) { in rga2_debugfs_init()
374 if (IS_ERR_OR_NULL(debugger->procfs_dir)) { in rga2_procfs_init()
/device/soc/rockchip/common/sdk_linux/kernel/power/
H A Denergy_model.c233 if (IS_ERR_OR_NULL(dev)) { in em_pd_get()
359 if (IS_ERR_OR_NULL(dev) || !dev->em_pd) { in em_dev_unregister_perf_domain()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_schedule.h112 static inline hi_u32 IS_ERR_OR_NULL(const void *ptr) in IS_ERR_OR_NULL() function
H A Doal_file.h112 if (IS_ERR_OR_NULL(pst_file->fp)) { in oal_file_open()

Completed in 15 milliseconds

123456