Home
last modified time | relevance | path

Searched refs:likely (Results 1 – 25 of 133) sorted by relevance

123456

/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_trace_gpu_mem.h40 if (likely(kctx)) in kbase_trace_gpu_mem_usage()
51 if (likely(kctx)) in kbase_trace_gpu_mem_usage_dec()
66 if (likely(kctx)) in kbase_trace_gpu_mem_usage_inc()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_trace_gpu_mem.h41 if (likely(kctx)) { in kbase_trace_gpu_mem_usage()
51 if (likely(kctx)) { in kbase_trace_gpu_mem_usage_dec()
66 if (likely(kctx)) { in kbase_trace_gpu_mem_usage_inc()
/device/soc/esp/esp32/components/newlib/platform_include/
Dassert.h28 #define assert(__e) (likely(__e)) ? (void)0 : abort()
38 # define assert(__e) (likely(__e) ? (void)0 : __assert_func (__FILE__, __LINE__, \
/device/soc/esp/esp32/components/esp_common/include/
Desp_compiler.h26 #define likely(x) __builtin_expect(!!(x), 1) macro
29 #define likely(x) (x) macro
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/components/bk_common/include/
Dbk_compiler.h56 #ifndef likely
57 #define likely(x) __builtin_expect(!!(x), 1) macro
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/csf/
Dmali_kbase_csf_tiler_heap.c301 for (i = 0; (i < nchunks) && likely(!err); i++) in create_initial_chunks()
517 if (likely(heap)) { in kbase_csf_tiler_heap_term()
525 if (likely(kctx->running_total_tiler_heap_memory >= heap_size)) in kbase_csf_tiler_heap_term()
530 if (likely(kctx->running_total_tiler_heap_nr_chunks >= chunk_count)) in kbase_csf_tiler_heap_term()
574 if (likely(!err)) { in alloc_new_chunk()
609 if (likely(heap)) { in kbase_csf_tiler_heap_alloc_new_chunk()
Dmali_kbase_csf_reset_gpu.c230 if (!err_during_reset && likely(firmware_inited)) in kbase_csf_reset_end_hw_access()
357 if (likely(firmware_inited)) in kbase_csf_reset_gpu_now()
404 if (likely(firmware_inited)) in kbase_csf_reset_gpu_now()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_virtual.c38 while (likely(*iter)) { in _mali_vma_offset_add_rb()
104 while (likely(iter)) { in mali_vma_offset_search()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/
Dmali_memory_virtual.c38 while (likely(*iter)) { in _mali_vma_offset_add_rb()
105 while (likely(iter)) { in mali_vma_offset_search()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/usb/sunxi_usb/udc/
Dsunxi_udc_dma.c277 if (likely(!list_empty(&ep->queue))) in sunxi_udc_dma_callback1()
309 if (likely(!list_empty(&ep->queue))) in sunxi_udc_dma_callback2()
341 if (likely(!list_empty(&ep->queue))) in sunxi_udc_dma_callback3()
373 if (likely(!list_empty(&ep->queue))) in sunxi_udc_dma_callback4()
405 if (likely(!list_empty(&ep->queue))) in sunxi_udc_dma_callback5()
/device/soc/rockchip/common/sdk_linux/include/linux/
Dfreezer.h42 if (likely(!atomic_read(&system_freezing_cnt))) { in freezing()
64 if (likely(!freezing(current))) { in try_to_freeze_unsafe()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/
Dmali_timeline_fence_wait.c85 if (likely(MALI_TIMELINE_NO_POINT == point)) {
110 if (likely(NULL != sync_fence)) {
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/
Dmali_timeline_fence_wait.c88 if (likely(MALI_TIMELINE_NO_POINT == point)) {
114 if (likely(sync_fence != NULL)) {
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/
Drga_job.c82 if (likely(src0 != NULL)) { in rga_job_get_current_mm()
88 if (likely(dst != NULL)) { in rga_job_get_current_mm()
160 if (likely(req->src.yrgb_addr > 0)) { in rga_job_judgment_support_core()
173 if (likely(req->dst.yrgb_addr > 0)) { in rga_job_judgment_support_core()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/devicetree/
Dmali_kbase_runtime_pm.c88 if (likely(kbdev->csf.firmware_inited)) { in pm_callback_power_on()
125 if (likely(kbdev->csf.firmware_inited)) { in pm_callback_power_off()
/device/soc/goodix/gr551x/sdk_liteos/platform/system/
Dsystem.c31 #define likely(x) __builtin_expect((x), 1) macro
268 if (likely(qualifier == *fmt)) { in pre_vsscanf()
/device/soc/rockchip/rk2206/sdk_liteos/platform/system/
Dsystem.c32 #define likely(x) __builtin_expect((x), 1) macro
271 if (likely(qualifier == *fmt)) { in pre_vsscanf()
/device/soc/rockchip/common/sdk_linux/kernel/sched/
Dwait.c333 if (likely(list_empty(&wait->entry))) { in do_wait_intr()
352 if (likely(list_empty(&wait->entry))) { in do_wait_intr_irq()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Detf.c42 if (likely(!list_empty(&adapter_priv.rx_pool))) { in adapter_rec_handler()
763 if (likely(sdd) && likely(sdd->data)) { in xradio_etf_proc()
805 if (likely(sdd) && likely(sdd->data)) { in xradio_etf_proc()
/device/board/isoftstone/yangfan/kernel/src/driv/net/stmmac/
Ddwmac-rk-tool.c176 if (likely(priv->plat->fix_mac_speed)) in dwmac_rk_enable_mac_loopback()
260 if (likely(priv->plat->fix_mac_speed)) in dwmac_rk_enable_phy_loopback()
535 if (likely(!lb_priv->rx_skbuff)) { in dwmac_rk_rx_fill()
581 if (likely(lb_priv->rx_skbuff)) { in dwmac_rk_rx_clean()
664 if (likely(lb_priv->tx_skbuff_dma)) { in dwmac_rk_tx_clean()
672 if (likely(skb)) { in dwmac_rk_tx_clean()
/device/soc/rockchip/rk3588/kernel/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk-tool.c176 if (likely(priv->plat->fix_mac_speed)) in dwmac_rk_enable_mac_loopback()
260 if (likely(priv->plat->fix_mac_speed)) in dwmac_rk_enable_phy_loopback()
535 if (likely(!lb_priv->rx_skbuff)) { in dwmac_rk_rx_fill()
581 if (likely(lb_priv->rx_skbuff)) { in dwmac_rk_rx_clean()
664 if (likely(lb_priv->tx_skbuff_dma)) { in dwmac_rk_tx_clean()
672 if (likely(skb)) { in dwmac_rk_tx_clean()
/device/soc/rockchip/common/vendor/drivers/net/ethernet/
Ddwmac-rk-tool.c167 if (likely(priv->plat->fix_mac_speed)) { in dwmac_rk_enable_mac_loopback()
251 if (likely(priv->plat->fix_mac_speed)) { in dwmac_rk_enable_phy_loopback()
534 if (likely(!lb_priv->rx_skbuff)) { in dwmac_rk_rx_fill()
578 if (likely(lb_priv->rx_skbuff)) { in dwmac_rk_rx_clean()
651 if (likely(lb_priv->tx_skbuff_dma)) { in dwmac_rk_tx_clean()
656 if (likely(skb)) { in dwmac_rk_tx_clean()
/device/soc/rockchip/common/sdk_linux/drivers/staging/blackbox/
Dblackbox_storage.c143 if (likely(in)) { in get_log_by_pstore()
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/net/utils/
Dnet_defs.h201 #define likely(x) (x) macro
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dwl_event.c142 if (likely(!list_empty(&event_params->eq_list))) { in wl_ext_event_deq_event()
261 if (likely(!wl_ext_event_enq_event(event_params, event_type, e, data))) { in wl_ext_event_send()

123456