Home
last modified time | relevance | path

Searched refs:unlikely (Results 1 - 25 of 173) sorted by relevance

1234567

/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/
H A Dmpp_debug.h59 #define mpp_debug_unlikely(type) (unlikely(mpp_dev_debug & (type)))
63 if (unlikely(mpp_dev_debug & (type))) { \
69 if (unlikely(mpp_dev_debug & (type))) { \
76 if (unlikely(mpp_dev_debug & DEBUG_FUNCTION)) { \
83 if (unlikely(mpp_dev_debug & DEBUG_FUNCTION)) { \
92 if (unlikely(mpp_dev_debug & DEBUG_LINK_TABLE)) { \
99 if (unlikely(mpp_dev_debug & DEBUG_SESSION)) { \
106 if (unlikely(mpp_dev_debug & DEBUG_CCU)) { \
113 if (unlikely(mpp_dev_debug & DEBUG_CORE)) { \
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/
H A Dmpp_debug.h62 (unlikely(mpp_dev_debug & (type)))
66 if (unlikely(mpp_dev_debug & (type))) { \
73 if (unlikely(mpp_dev_debug & (type))) { \
80 if (unlikely(mpp_dev_debug & DEBUG_FUNCTION)) { \
88 if (unlikely(mpp_dev_debug & DEBUG_FUNCTION)) { \
99 if (unlikely(mpp_dev_debug & DEBUG_LINK_TABLE)) { \
107 if (unlikely(mpp_dev_debug & DEBUG_SESSION)) { \
114 if (unlikely(mpp_dev_debug & DEBUG_CCU)) { \
122 if (unlikely(mpp_dev_debug & DEBUG_CORE)) { \
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_tiler_heap.c100 if (unlikely(!prev_hdr)) { in link_chunk()
139 if (unlikely(chunk->gpu_va & ~CHUNK_ADDR_MASK)) { in init_chunk()
148 if (unlikely(!chunk_hdr)) { in init_chunk()
199 if (unlikely(!chunk)) { in create_chunk()
210 if (unlikely(!chunk->region)) { in create_chunk()
216 if (unlikely(err)) { in create_chunk()
224 if (unlikely(err)) { in create_chunk()
304 if (unlikely(err)) in create_initial_chunks()
383 if (unlikely(err)) in kbase_csf_tiler_heap_context_init()
447 if (unlikely(!hea in kbase_csf_tiler_heap_init()
[all...]
H A Dmali_kbase_csf_heap_context_alloc.c52 if (unlikely(heap_nr >= MAX_TILER_HEAPS)) { in sub_alloc()
63 if (unlikely(!ctx_ptr)) { in sub_alloc()
183 if (unlikely(!ctx_alloc->region)) { in kbase_csf_heap_context_allocator_alloc()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dwl_cfgnan.c572 if (unlikely(ret)) { in wl_cfgnan_parse_sd_attr_data()
582 if (unlikely(ret)) { in wl_cfgnan_parse_sd_attr_data()
639 if (unlikely(ret)) { in wl_cfgnan_parse_sd_attr_data()
649 if (unlikely(ret)) { in wl_cfgnan_parse_sd_attr_data()
726 if (unlikely(ret)) { in wl_cfgnan_parse_sd_attr_data()
834 if (unlikely(ret)) { in wl_cfgnan_config_eventmask()
853 if (unlikely(ret)) { in wl_cfgnan_config_eventmask()
878 if (unlikely(ret) || unlikely(status)) { in wl_cfgnan_config_eventmask()
927 if (unlikely(re in wl_cfgnan_config_eventmask()
[all...]
H A Dwl_cfgvendor.c242 if (unlikely(!skb)) { in wl_cfgvendor_send_cmd_reply()
267 if (unlikely(err)) in wl_cfgvendor_get_feature_set()
288 if (unlikely(!skb)) { in wl_cfgvendor_get_feature_set_matrix()
296 if (unlikely(err)) { in wl_cfgvendor_get_feature_set_matrix()
305 if (unlikely(err)) { in wl_cfgvendor_get_feature_set_matrix()
314 if (unlikely(err)) { in wl_cfgvendor_get_feature_set_matrix()
348 if (unlikely(err)) in wl_cfgvendor_set_rand_mac_oui()
499 if (unlikely(err)) { in wl_cfgvendor_gscan_get_capabilities()
537 if (unlikely(err)) in wl_cfgvendor_gscan_get_batch_results()
556 if (unlikely(!sk in wl_cfgvendor_gscan_get_batch_results()
[all...]
H A Ddhd_cfg80211.c224 if (unlikely(err)) { in wl_dongle_up()
237 if (unlikely(err)) { in wl_dongle_down()
251 if (unlikely(err)) { in wl_dongle_roam()
258 if (unlikely(err)) { in wl_dongle_roam()
283 if (unlikely(err)) { in dhd_config_dongle()
H A Dwl_cfg80211.c1712 if (unlikely(err)) { in wl_set_tx_power()
1729 if (unlikely(err)) in wl_set_tx_power()
1745 if (unlikely(err)) { in wl_get_tx_power()
1779 if (unlikely(err)) { in wl_cfg80211_get_shared_freq()
1925 if (unlikely(err)) { in wl_cfg80211_p2p_if_add()
1940 if (unlikely(!new_ndev)) { in wl_cfg80211_p2p_if_add()
2107 if (unlikely(!wl_get_drv_status(cfg, READY, bcmcfg_to_prmry_ndev(cfg)))) { in wl_cfg80211_p2p_if_del()
2164 if (unlikely(err)) { in wl_cfg80211_p2p_if_del()
3135 if (unlikely(!wl_get_drv_status(cfg, READY, primary_ndev))) { in wl_cfg80211_add_virtual_iface()
3151 if (unlikely(!wde in wl_cfg80211_add_virtual_iface()
[all...]
H A Dwl_cfgp2p.c474 if (unlikely(err < 0)) { in wl_cfgp2p_ifadd()
497 if (unlikely(ret < 0)) { in wl_cfgp2p_ifdisable()
521 if (unlikely(ret < 0)) { in wl_cfgp2p_ifdel()
566 if (unlikely(err < 0)) { in wl_cfgp2p_ifchange()
609 if (unlikely(ret < 0)) { in wl_cfgp2p_set_discovery()
633 if (unlikely(bssidx == WL_INVALID)) { in wl_cfgp2p_set_p2p_mode()
639 if (unlikely(dev == NULL)) { in wl_cfgp2p_set_p2p_mode()
685 if (unlikely(ret < 0)) { in wl_cfgp2p_get_disc_idx()
757 if (unlikely(ret)) { in wl_cfgp2p_init_discovery()
768 if (unlikely(re in wl_cfgp2p_init_discovery()
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_scatterlist.h56 if (unlikely(sg_is_chain(sg))) { in sg_next()
79 if (unlikely(table->sgl == NULL)) { in __sg_free_table()
94 if (unlikely(sgl == NULL)) { in __sg_free_table()
170 if (unlikely(sg == NULL)) { in __sg_alloc_table()
215 if (unlikely(ret)) { in sg_alloc_table()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_vinstr.c729 if (unlikely(atomic_read(&cli->write_idx) == meta_idx)) in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
733 if (unlikely(atomic_read(&cli->read_idx) != meta_idx)) in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
737 if (unlikely(meta_size < size && clear_user(buffer, size))) in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
741 if (unlikely(copy_to_user(buffer, meta, min_size))) in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
776 if (unlikely(atomic_read(&cli->meta_idx) == read_idx)) in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
781 if (unlikely(meta_size > size)) in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
786 if (unlikely(!kbuf)) in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
794 if (unlikely(copy_from_user(kbuf, buffer, size))) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
805 if (unlikely(kbuf[i] != 0)) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
813 if (unlikely(id in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
[all...]
H A Dmali_kbase_mem_linux.h455 if (unlikely(err == -ENOMEM)) in vmf_insert_pfn_prot()
457 if (unlikely(err < 0 && err != -EBUSY)) in vmf_insert_pfn_prot()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
H A Dmali_kbase_vinstr.c684 if (unlikely(atomic_read(&cli->write_idx) == meta_idx)) { in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
689 if (unlikely(atomic_read(&cli->read_idx) != meta_idx)) { in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
694 if (unlikely(meta_size < size && clear_user(buffer, size))) { in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
699 if (unlikely(copy_to_user(buffer, meta, min_size))) { in kbasep_vinstr_hwcnt_reader_ioctl_get_buffer()
731 if (unlikely(atomic_read(&cli->meta_idx) == read_idx)) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
737 if (unlikely(meta_size > size)) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
743 if (unlikely(!kbuf)) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
752 if (unlikely(copy_from_user(kbuf, buffer, size))) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
763 if (unlikely(kbuf[i] != 0)) { in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
771 if (unlikely(id in kbasep_vinstr_hwcnt_reader_ioctl_put_buffer()
[all...]
H A Dmali_kbase_mem_linux.h458 if (unlikely(err == -ENOMEM)) { in vmf_insert_pfn_prot()
461 if (unlikely(err < 0 && err != -EBUSY)) { in vmf_insert_pfn_prot()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
H A Drga_debugger.h22 #define DEBUGGER_EN(name) (unlikely(RGA_DEBUG_##name ? true : false))
126 #define DEBUGGER_EN(name) (unlikely(false))
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_device_hw.c113 if (unlikely(!h->count)) in kbase_io_history_add()
127 if (!unlikely(h->enabled)) in kbase_io_history_dump()
162 if (unlikely(kbdev->io_history.enabled)) in kbase_reg_write()
186 if (unlikely(kbdev->io_history.enabled)) in kbase_reg_read()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/backend/gpu/
H A Dmali_kbase_device_hw.c107 if (unlikely(!h->count)) { in kbase_io_history_add()
121 if (!unlikely(h->enabled)) { in kbase_io_history_dump()
151 if (unlikely(kbdev->io_history.enabled)) { in kbase_reg_write()
174 if (unlikely(kbdev->io_history.enabled)) { in kbase_reg_read()
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/
H A Dblackbox_storage.c34 if (unlikely(!out)) { in storage_log_by_memory()
49 if (unlikely(!lastlog)) { in do_kmsg_dump()
80 if (unlikely(!pstore_file)) { in is_pstore_part_ready()
/device/soc/rockchip/common/sdk_linux/include/linux/sched/
H A Dsignal.h355 return unlikely(test_tsk_thread_flag(p,TIF_SIGPENDING)); in task_sigpending()
365 if (unlikely(test_tsk_thread_flag(p, TIF_NOTIFY_SIGNAL))) { in signal_pending()
374 return unlikely(sigismember(&p->pending.signal, SIGKILL)); in __fatal_signal_pending()
402 return unlikely((fault_flags & VM_FAULT_RETRY) && in fault_signal_pending()
527 if (unlikely(test_restore_sigmask())) { in sigmask_to_save()
590 if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && !sas_ss_flags(sp)) in sigsp()
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
H A Drga_dma_buf.c297 if (pgd_none(*pgd) || unlikely(pgd_bad(*pgd))) { in rga_MapUserMemory()
309 if (p4d_none(*p4d) || unlikely(p4d_bad(*p4d))) { in rga_MapUserMemory()
321 if (pud_none(*pud) || unlikely(pud_bad(*pud))) { in rga_MapUserMemory()
328 if (pmd_none(*pmd) || unlikely(pmd_bad(*pmd))) { in rga_MapUserMemory()
921 if (unlikely(!mmu_flag && *dma_buf)) { in rga_dma_buf_get_channel_info()
1098 if (unlikely(ret < 0)) { in rga_dma_get_info()
1113 if (unlikely(ret < 0)) { in rga_dma_get_info()
1132 if (unlikely(ret < 0)) { in rga_dma_get_info()
1147 if (unlikely(ret < 0)) { in rga_dma_get_info()
1166 if (unlikely(re in rga_dma_get_info()
[all...]
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/
H A Drga2_drv.c623 if (unlikely(ret_timeout < 0)) { in rga2_flush()
672 if (unlikely(copy_to_user((void __user *)arg, &num_done, sizeof(int)))) { in rga2_get_result()
682 if (unlikely((req->src.act_w <= 0) || (req->src.act_w > 0x2000) || (req->src.act_h <= 0) || in rga2_check_param()
690 if (unlikely((req->src.vir_w <= 0) || (req->src.vir_w > 0x2000) || (req->src.vir_h <= 0) || in rga2_check_param()
698 if (unlikely((req->dst.act_w <= 0) || (req->dst.act_w > 0x1000) || (req->dst.act_h <= 0) || in rga2_check_param()
704 if (unlikely((req->dst.vir_w <= 0) || (req->dst.vir_w > 0x1000) || (req->dst.vir_h <= 0) || in rga2_check_param()
711 if (unlikely(req->src.vir_w < req->src.act_w)) { in rga2_check_param()
717 if (unlikely(req->dst.vir_w < req->dst.act_w)) { in rga2_check_param()
1105 if (unlikely(ret_timeout < 0)) { in rga2_blit_sync()
1211 if (unlikely(copy_from_use in rga_ioctl()
[all...]
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/device/backend/
H A Dmali_kbase_device_hw_jm.c110 if (unlikely(kbdev->io_history.enabled)) in kbase_reg_write()
128 if (unlikely(kbdev->io_history.enabled)) in kbase_reg_read()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_ioctl.c548 if (unlikely((flags & DRM_ROOT_ONLY) && !capable(CAP_SYS_ADMIN))) { in drm_ioctl_permit()
553 if (unlikely((flags & DRM_AUTH) && !drm_is_render_client(file_priv) && !file_priv->authenticated)) { in drm_ioctl_permit()
558 if (unlikely((flags & DRM_MASTER) && !drm_is_current_master(file_priv))) { in drm_ioctl_permit()
563 if (unlikely(!(flags & DRM_RENDER_ALLOW) && drm_is_render_client(file_priv))) { in drm_ioctl_permit()
775 if (unlikely(retcode)) { in drm_ioctl_kernel()
863 if (unlikely(!func)) { in drm_ioctl()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_uc_fw.c183 if (unlikely(path)) { in __uc_fw_user_override()
291 if (unlikely(fw->size < sizeof(struct uc_css_header))) { in intel_uc_fw_fetch()
302 if (unlikely(size != sizeof(struct uc_css_header))) { in intel_uc_fw_fetch()
313 if (unlikely(css->key_size_dw != UOS_RSA_SCRATCH_COUNT)) { in intel_uc_fw_fetch()
323 if (unlikely(fw->size < size)) { in intel_uc_fw_fetch()
332 if (unlikely(size >= i915->wopcm.size)) { in intel_uc_fw_fetch()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_ref_drv.c83 if (unlikely(ret)) { in ump_dd_handle_create_from_phys_blocks()
166 if (unlikely(ret)) { in _ump_ukk_allocate()

Completed in 37 milliseconds

1234567