/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_dbg.h | 56 #define WL_PRINT(args) do { WL_TIMESTAMP(); printf args; } while (0) 60 #define WL_SRSCAN(args) _WL_SRSCAN args 62 #define WL_SRSCAN(args) 75 #define WL_NONE(args) 76 #define WL_ERROR(args) do {if (wl_msg_level & WL_ERROR_VAL) WL_PRINT(args); \ 77 else WIFICC_LOGDEBUG(args); } while (0) 78 #define WL_SCAN_ERROR(args) [all...] |
H A D | dhd_dbg.h | 70 #define DHD_ERROR(args) \ 73 printf args; \ 75 DHD_LOG_DUMP_WRITE args; \ 80 #define DHD_INFO(args) do {if (dhd_msg_level & DHD_INFO_VAL) printf args;} while (0) 83 #define DHD_ERROR(args) do {if (dhd_msg_level & DHD_ERROR_VAL) printf args;} while (0) 84 #define DHD_INFO(args) do {if (dhd_msg_level & DHD_INFO_VAL) printf args;} while (0) 87 #define DHD_TRACE(args) d [all...] |
/device/soc/rockchip/rk3588/kernel/scripts/ |
H A D | mkbootimg | 55 def get_recovery_dtbo_offset(args): 58 num_kernel_pages = get_number_of_pages(filesize(args.kernel), args.pagesize) 59 num_ramdisk_pages = get_number_of_pages(filesize(args.ramdisk), args.pagesize) 60 num_second_pages = get_number_of_pages(filesize(args.second), args.pagesize) 61 dtbo_offset = args.pagesize * (num_header_pages + num_kernel_pages + 66 def write_header_v3(args): 70 args [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/ |
H A D | ump_kernel_api.c | 158 _mali_osk_errcode_t _ump_uku_get_api_version(_ump_uk_api_version_s *args) in _ump_uku_get_api_version() argument 162 DEBUG_ASSERT_POINTER(args); in _ump_uku_get_api_version() 163 DEBUG_ASSERT_POINTER(args->ctx); in _ump_uku_get_api_version() 165 session_data = (ump_session_data *)args->ctx; in _ump_uku_get_api_version() 168 if (args->version == UMP_IOCTL_API_VERSION) { in _ump_uku_get_api_version() 170 GET_VERSION(args->version))); in _ump_uku_get_api_version() 171 args->compatible = 1; in _ump_uku_get_api_version() 172 session_data->api_version = args->version; in _ump_uku_get_api_version() 175 GET_VERSION(UMP_IOCTL_API_VERSION), GET_VERSION(args->version))); in _ump_uku_get_api_version() 176 args in _ump_uku_get_api_version() 255 _ump_ukk_msync(_ump_uk_msync_s *args) _ump_ukk_msync() argument 313 _ump_ukk_cache_operations_control(_ump_uk_cache_operations_control_s *args) _ump_ukk_cache_operations_control() argument 351 _ump_ukk_switch_hw_usage(_ump_uk_switch_hw_usage_s *args) _ump_ukk_switch_hw_usage() argument 420 _ump_ukk_lock(_ump_uk_lock_s *args) _ump_ukk_lock() argument 438 _ump_ukk_unlock(_ump_uk_unlock_s *args) _ump_ukk_unlock() argument [all...] |
H A D | ump_kernel_common.h | 23 #define UMP_DEBUG_PRINT(args) _mali_osk_dbgmsg args 24 #define UMP_DEBUG_CODE(args) args 25 #define DBG_MSG(level,args) do { /* args should be in brackets */ \ 28 UMP_DEBUG_PRINT(args):0; \ 31 #define DBG_MSG_IF(level,condition,args) /* args should be in brackets */ \ 34 UMP_DEBUG_PRINT(args); \ [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_ukk.h | 60 * MALI_STATIC_INLINE mali_osk_errcode_t _mali_uku_examplefunction( _mali_uk_examplefunction_s *args ) 62 * return mali_ukk_examplefunction( args ); 111 * - Writing in values to the args members, when otherwise these members would 224 * @param args see mali_uk_wait_for_notification_s in "mali_utgard_uk_types.h" 227 mali_osk_errcode_t _mali_ukk_wait_for_notification(mali_uk_wait_for_notification_s *args); 231 * @param args see mali_uk_post_notification_s in "mali_utgard_uk_types.h" 234 mali_osk_errcode_t _mali_ukk_post_notification(mali_uk_post_notification_s *args); 241 * @param args see mali_uk_get_api_version_s in "mali_utgard_uk_types.h" 244 mali_osk_errcode_t _mali_ukk_get_api_version(mali_uk_get_api_version_s *args); 248 * @param args se [all...] |
H A D | mali_kernel_common.h | 130 #define MALI_PRINTF(args) 132 #define MALI_PRINTF(args) _mali_osk_dbgmsg args; 135 #define MALI_PRINT_ERROR(args) \ 139 MALI_PRINTF(args); \ 143 #define MALI_PRINT(args) \ 146 MALI_PRINTF(args); \ 155 #define MALI_DEBUG_PRINT(level, args) \ 159 MALI_PRINTF(args); \ 163 #define MALI_DEBUG_PRINT_ERROR(args) MALI_PRINT_ERRO [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/common/ |
H A D | mali_ukk.h | 59 * MALI_STATIC_INLINE _mali_osk_errcode_t _mali_uku_examplefunction( _mali_uk_examplefunction_s *args ) 61 * return mali_ukk_examplefunction( args ); 110 * - Writing in values to the args members, when otherwise these members would 224 * @param args see _mali_uk_wait_for_notification_s in "mali_utgard_uk_types.h" 227 _mali_osk_errcode_t _mali_ukk_wait_for_notification(_mali_uk_wait_for_notification_s *args); 231 * @param args see _mali_uk_post_notification_s in "mali_utgard_uk_types.h" 234 _mali_osk_errcode_t _mali_ukk_post_notification(_mali_uk_post_notification_s *args); 241 * @param args see _mali_uk_get_api_version_s in "mali_utgard_uk_types.h" 244 _mali_osk_errcode_t _mali_ukk_get_api_version(_mali_uk_get_api_version_s *args); 248 * @param args se [all...] |
H A D | mali_kernel_common.h | 111 #define MALI_PRINTF(args) 113 #define MALI_PRINTF(args) _mali_osk_dbgmsg args; 116 #define MALI_PRINT_ERROR(args) do{ \ 119 MALI_PRINTF(args); \ 123 #define MALI_PRINT(args) do{ \ 125 MALI_PRINTF(args); \ 134 #define MALI_DEBUG_PRINT(level, args) do { \ 136 {MALI_PRINTF(("Mali<" #level ">: ")); MALI_PRINTF(args); } \ 139 #define MALI_DEBUG_PRINT_ERROR(args) MALI_PRINT_ERRO [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/targets/hi3861v100/include/ |
H A D | los_printf.h | 87 #define PRINT_DEBUG(fmt, args...) 89 #define PRINT_DEBUG(fmt, args...) do { (los_printf("[DEBUG] "), los_printf(fmt, ##args)); } while (0) 93 #define PRINT_INFO(fmt, args...) 95 #define PRINT_INFO(fmt, args...) do { (los_printf("[INFO] "), los_printf(fmt, ##args)); } while (0) 99 #define PRINT_WARN(fmt, args...) 101 #define PRINT_WARN(fmt, args...) do { (los_printf("[WARN] "), los_printf(fmt, ##args)); } while (0) 105 #define PRINT_ERR(fmt, args [all...] |
/device/soc/rockchip/common/hardware/rga/include/ |
H A D | im2d.h | 262 int args[] = {__VA_ARGS__}; \ 263 int argc = sizeof(args) / sizeof(int); \ 267 err = imStrError_t((IM_STATUS)args[0]); \ 282 int args[] = {__VA_ARGS__}; \ 283 int argc = sizeof(args) / sizeof(int); \ 287 buffer = wrapbuffer_virtualaddr_t(vir_addr, width, height, args[0], args[1], format); \ 297 int args[] = {__VA_ARGS__}; \ 298 int argc = sizeof(args) / sizeof(int); \ 302 buffer = wrapbuffer_physicaladdr_t(phy_addr, width, height, args[ [all...] |
/device/soc/rockchip/rk3399/hardware/rga/include/ |
H A D | im2d.h | 263 int args[] = {__VA_ARGS__}; \ 264 int argc = sizeof(args)/sizeof(int); \ 268 err = imStrError_t((IM_STATUS)args[0]); \ 283 int args[] = {__VA_ARGS__}; \ 284 int argc = sizeof(args)/sizeof(int); \ 288 buffer = wrapbuffer_virtualaddr_t(vir_addr, width, height, args[0], args[1], format); \ 298 int args[] = {__VA_ARGS__}; \ 299 int argc = sizeof(args)/sizeof(int); \ 303 buffer = wrapbuffer_physicaladdr_t(phy_addr, width, height, args[ [all...] |
/device/soc/rockchip/rk3568/hardware/rga/include/ |
H A D | im2d.h | 263 int args[] = {__VA_ARGS__}; \ 264 int argc = sizeof(args)/sizeof(int); \ 268 err = imStrError_t((IM_STATUS)args[0]); \ 283 int args[] = {__VA_ARGS__}; \ 284 int argc = sizeof(args)/sizeof(int); \ 288 buffer = wrapbuffer_virtualaddr_t(vir_addr, width, height, args[0], args[1], format); \ 298 int args[] = {__VA_ARGS__}; \ 299 int argc = sizeof(args)/sizeof(int); \ 303 buffer = wrapbuffer_physicaladdr_t(phy_addr, width, height, args[ [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/ump/common/ |
H A D | ump_kernel_common.h | 23 #define UMP_DEBUG_PRINT(args) _mali_osk_dbgmsg args 24 #define UMP_DEBUG_CODE(args) args 25 #define DBG_MSG(level, args) \ 26 do { /* args should be in brackets */ \ 27 ((level) <= ump_debug_level) ? UMP_DEBUG_PRINT(("UMP<" #level ">: ")), UMP_DEBUG_PRINT(args) : 0; \ 30 #define DBG_MSG_IF(level, condition, args) /* args should be in brackets */ \ 33 UMP_DEBUG_PRINT(args); \ [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory_manager.c | 404 mali_osk_errcode_t _mali_ukk_mem_allocate(_ali_uk_alloc_mem_s *args) in _mali_ukk_mem_allocate() argument 406 struct mali_session_data *session = (struct mali_session_data *)(uintptr_t)args->ctx; in _mali_ukk_mem_allocate() 414 (" _mali_ukk_mem_allocate, vaddr=0x%x, size =0x%x! \n", args->gpu_vaddr, args->psize)); in _mali_ukk_mem_allocate() 418 mali_vma_node = mali_vma_offset_search(&session->allocation_mgr, args->gpu_vaddr, 0); in _mali_ukk_mem_allocate() 432 mali_allocation->psize = args->psize; in _mali_ukk_mem_allocate() 433 mali_allocation->vsize = args->vsize; in _mali_ukk_mem_allocate() 440 if (args->flags & MALI_MEMORY_ALLOCATE_SWAPPABLE) { in _mali_ukk_mem_allocate() 442 } else if (args->flags & MALI_MEMORY_ALLOCATE_RESIZEABLE) { in _mali_ukk_mem_allocate() 445 } else if (args in _mali_ukk_mem_allocate() 604 _mali_ukk_mem_free(mali_uk_free_mem_s *args) _mali_ukk_mem_free() argument 637 _mali_ukk_mem_bind(mali_uk_bind_mem_s *args) _mali_ukk_mem_bind() argument 754 _mali_ukk_mem_unbind(mali_uk_unbind_mem_s *args) _mali_ukk_mem_unbind() argument 785 _mali_ukk_mem_cow(mali_uk_cow_mem_s *args) _mali_ukk_mem_cow() argument 914 _mali_ukk_mem_cow_modify_range(mali_uk_cow_modify_range_s *args) _mali_ukk_mem_cow_modify_range() argument 950 _mali_ukk_mem_resize(mali_uk_mem_resize_s *args) _mali_ukk_mem_resize() argument 975 _mali_ukk_mem_usage_get(mali_uk_profiling_memory_usage_get_s *args) _mali_ukk_mem_usage_get() argument [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/linux/ |
H A D | mali_memory_manager.c | 401 _mali_osk_errcode_t _mali_ukk_mem_allocate(_mali_uk_alloc_mem_s *args) in _mali_ukk_mem_allocate() argument 403 struct mali_session_data *session = (struct mali_session_data *)(uintptr_t)args->ctx; in _mali_ukk_mem_allocate() 410 MALI_DEBUG_PRINT(4, (" _mali_ukk_mem_allocate, vaddr=0x%x, size =0x%x! \n", args->gpu_vaddr, args->psize)); in _mali_ukk_mem_allocate() 414 mali_vma_node = mali_vma_offset_search(&session->allocation_mgr, args->gpu_vaddr, 0); in _mali_ukk_mem_allocate() 430 mali_allocation->psize = args->psize; in _mali_ukk_mem_allocate() 431 mali_allocation->vsize = args->vsize; in _mali_ukk_mem_allocate() 438 if (args->flags & _MALI_MEMORY_ALLOCATE_SWAPPABLE) { in _mali_ukk_mem_allocate() 440 } else if (args->flags & _MALI_MEMORY_ALLOCATE_RESIZEABLE) { in _mali_ukk_mem_allocate() 443 } else if (args in _mali_ukk_mem_allocate() 603 _mali_ukk_mem_free(_mali_uk_free_mem_s *args) _mali_ukk_mem_free() argument 636 _mali_ukk_mem_bind(_mali_uk_bind_mem_s *args) _mali_ukk_mem_bind() argument 755 _mali_ukk_mem_unbind(_mali_uk_unbind_mem_s *args) _mali_ukk_mem_unbind() argument 785 _mali_ukk_mem_cow(_mali_uk_cow_mem_s *args) _mali_ukk_mem_cow() argument 913 _mali_ukk_mem_cow_modify_range(_mali_uk_cow_modify_range_s *args) _mali_ukk_mem_cow_modify_range() argument 950 _mali_ukk_mem_resize(_mali_uk_mem_resize_s *args) _mali_ukk_mem_resize() argument 976 _mali_ukk_mem_usage_get(_mali_uk_profiling_memory_usage_get_s *args) _mali_ukk_mem_usage_get() argument [all...] |
/device/soc/rockchip/common/vendor/drivers/video/rockchip/mpp/ |
H A D | mpp_debug.h | 61 #define mpp_debug_func(type, fmt, args...) \ 64 pr_info("%s:%d: " fmt, __func__, __LINE__, ##args); \ 67 #define mpp_debug(type, fmt, args...) \ 70 pr_info(fmt, ##args); \ 88 #define mpp_err(fmt, args...) pr_err("%s:%d: " fmt, __func__, __LINE__, ##args) 90 #define mpp_dbg_link_flow(fmt, args...) \ 93 pr_info("%s:%d: " fmt, __func__, __LINE__, ##args); \ 97 #define mpp_dbg_session(fmt, args...) \ 100 pr_info(fmt, ##args); \ [all...] |
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/mpp/ |
H A D | mpp_debug.h | 64 #define mpp_debug_func(type, fmt, args...) \ 68 __func__, __LINE__, ##args); \ 71 #define mpp_debug(type, fmt, args...) \ 74 pr_info(fmt, ##args); \ 94 #define mpp_err(fmt, args...) \ 95 pr_err("%s:%d: " fmt, __func__, __LINE__, ##args) 97 #define mpp_dbg_link_flow(fmt, args...) \ 101 __func__, __LINE__, ##args); \ 105 #define mpp_dbg_session(fmt, args...) \ 108 pr_info(fmt, ##args); \ [all...] |
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/ |
H A D | RGA2_API.h | 20 #define DBG(format, args...) printk(KERN_DEBUG "%s: " format, DRIVER_NAME, ##args)
21 #define ERR(format, args...) printk(KERN_ERR "%s: " format, DRIVER_NAME, ##args)
22 #define WARNING(format, args...) printk(KERN_WARN "%s: " format, DRIVER_NAME, ##args)
23 #define INFO(format, args...) printk(KERN_INFO "%s: " format, DRIVER_NAME, ##args)
25 #define DBG(format, args...)
26 #define ERR(format, args [all...] |
/device/soc/rockchip/common/sdk_linux/include/trace/hooks/ |
H A D | vendor_hooks.h | 20 #define DEFINE_HOOK_FN(_name, _reg, _unreg, proto, args) \
42 ((void (*)(void *, proto))(it_func))(__data, args); \
49 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) DEFINE_HOOK_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args))
56 #define I_DO_RESTRICTED_HOOK_CALL(name, args) \
63 static_call(tp_func_##name)(__data, args); \
67 #define I_DO_RESTRICTED_HOOK_CALL(name, args) __traceiter_##name(NULL, args)
70 #define DO_RESTRICTED_HOOK(name, args, cond) \
75 I_DO_RESTRICTED_HOOK_CALL(name, TP_ARGS(args)); \
[all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/platform/rk/ |
H A D | custom_log.h | 52 #define V(fmt, args...) \
53 pr_debug("V : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args)
60 #define D(fmt, args...) \
61 pr_info("D : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args)
66 #define I(fmt, args...) \
67 pr_info("I : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args)
69 #define W(fmt, args...) \
70 pr_warn("W : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args)
72 #define E(fmt, args...) \
73 pr_err("E : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args)
[all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/platform/rk/ |
H A D | custom_log.h | 53 #define V(fmt, args...) \ 59 ## args) 66 #define D(fmt, args...) \ 72 ## args) 77 #define I(fmt, args...) \ 83 ## args) 85 #define W(fmt, args...) \ 91 ## args) 93 #define E(fmt, args...) \ 99 ## args) [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/platform/rk/ |
H A D | custom_log.h | 33 #define V(fmt, args...) \ 34 pr_debug("V : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 41 #define D(fmt, args...) \ 42 pr_info("D : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 47 #define I(fmt, args...) \ 48 pr_info("I : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 50 #define W(fmt, args...) \ 51 pr_warn("W : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 53 #define E(fmt, args...) \ 54 pr_err("E : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) [all...] |
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | custom_log.h | 52 #define V(fmt, args...) \ 53 pr_debug("V : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 60 #define D(fmt, args...) \ 61 pr_info("D : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 66 #define I(fmt, args...) \ 67 pr_info("I : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 69 #define W(fmt, args...) \ 70 pr_warn("W : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) 72 #define E(fmt, args...) \ 73 pr_err("E : [File] : %s; [Line] : %d; [Func] : %s(); " fmt "\n", __FILE__, __LINE__, __func__, ##args) [all...] |
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/platform/rk/ |
H A D | custom_log.h | 53 #define V(fmt, args...) \ 59 ## args) 66 #define D(fmt, args...) \ 72 ## args) 77 #define I(fmt, args...) \ 83 ## args) 85 #define W(fmt, args...) \ 91 ## args) 93 #define E(fmt, args...) \ 99 ## args) [all...] |