Home
last modified time | relevance | path

Searched refs:cond (Results 1 - 21 of 21) sorted by relevance

/device/soc/rockchip/rk3588/hardware/mpp/include/
H A Dmpp_log.h53 #define mpp_logf_c(cond, fmt, ...) do { if (cond) mpp_logf(fmt, ## __VA_ARGS__); } while (0)
54 #define mpp_loge_c(cond, fmt, ...) do { if (cond) mpp_loge(fmt, ## __VA_ARGS__); } while (0)
55 #define mpp_logw_c(cond, fmt, ...) do { if (cond) mpp_logw(fmt, ## __VA_ARGS__); } while (0)
56 #define mpp_logi_c(cond, fmt, ...) do { if (cond) mpp_logi(fmt, ## __VA_ARGS__); } while (0)
57 #define mpp_logd_c(cond, fmt, ...) do { if (cond) mpp_log
[all...]
H A Dmpp_debug.h88 #define mpp_assert(cond) do { \
89 if (!(cond)) { \
91 MPP_STRINGS(cond), __FUNCTION__, __LINE__); \
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dplatform_util.h61 #define MBEDTLS_PARAM_FAILED( cond ) assert( cond )
65 #define MBEDTLS_PARAM_FAILED( cond ) \
66 mbedtls_param_failed( #cond, __FILE__, __LINE__ )
89 #define MBEDTLS_INTERNAL_VALIDATE_RET( cond, ret ) \
91 if( !(cond) ) \
93 MBEDTLS_PARAM_FAILED( cond ); \
99 #define MBEDTLS_INTERNAL_VALIDATE( cond ) \
101 if( !(cond) ) \
103 MBEDTLS_PARAM_FAILED( cond ); \
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/include/
H A Dhi_flashboot_gpio.h19 #define hi_io_val_set(cond, id, reg_val) \
20 if (cond) \
29 #define hi_io_dir_get(cond, id, val_addr) \
30 if ((cond) & (hi_u16)(1 << (id))) \
39 #define hi_io_val_get(cond, id, val_addr) \
40 if ((cond) & (hi_u16)(1 << (id))) \
/device/soc/rockchip/common/sdk_linux/include/trace/hooks/
H A Dvendor_hooks.h49 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) DEFINE_HOOK_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args))
70 #define DO_RESTRICTED_HOOK(name, args, cond) \
72 if (!(cond)) \
78 #define I_DECLARE_RESTRICTED_HOOK(name, proto, args, cond, data_proto) \
85 DO_RESTRICTED_HOOK(name, TP_ARGS(args), TP_CONDITION(cond)); \
101 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) \
102 I_DECLARE_RESTRICTED_HOOK(name, PARAMS(proto), PARAMS(args), cond, PARAMS(void *__data, proto))
109 #define DECLARE_RESTRICTED_HOOK(name, proto, args, cond) DECLARE_EVENT_NOP((name), PARAMS(proto), PARAMS(args))
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux_pktdump.c609 bool cond; in dhd_dump_wsc_message() local
648 cond = (tx && pktfate) ? FALSE : TRUE; in dhd_dump_wsc_message()
663 DHD_STATLOG_DATA(dhd, ST(WPS_M1), ifidx, tx, cond); in dhd_dump_wsc_message()
668 DHD_STATLOG_DATA(dhd, ST(WPS_M2), ifidx, tx, cond); in dhd_dump_wsc_message()
673 DHD_STATLOG_DATA(dhd, ST(WPS_M3), ifidx, tx, cond); in dhd_dump_wsc_message()
678 DHD_STATLOG_DATA(dhd, ST(WPS_M4), ifidx, tx, cond); in dhd_dump_wsc_message()
683 DHD_STATLOG_DATA(dhd, ST(WPS_M5), ifidx, tx, cond); in dhd_dump_wsc_message()
688 DHD_STATLOG_DATA(dhd, ST(WPS_M6), ifidx, tx, cond); in dhd_dump_wsc_message()
693 DHD_STATLOG_DATA(dhd, ST(WPS_M7), ifidx, tx, cond); in dhd_dump_wsc_message()
698 DHD_STATLOG_DATA(dhd, ST(WPS_M8), ifidx, tx, cond); in dhd_dump_wsc_message()
723 bool cond; dhd_dump_eap_packet() local
851 bool cond; dhd_dump_eapol_4way_message() local
921 bool cond; dhd_dump_eapol_message() local
1026 bool cond; dhd_dhcp_dump() local
1133 bool cond; dhd_icmp_dump() local
1233 bool cond, dump_enabled; dhd_arp_dump() local
1354 bool cond, dump_enabled; dhd_dns_dump() local
[all...]
H A Ddhd.h651 #define DHD_NULL_CHK_AND_RET(cond) \
652 if (!cond) { \
653 DHD_ERROR(("%s " #cond " is NULL\n", __FUNCTION__)); \
657 #define DHD_NULL_CHK_AND_RET_VAL(cond, value) \
658 if (!cond) { \
659 DHD_ERROR(("%s " #cond " is NULL\n", __FUNCTION__)); \
663 #define DHD_NULL_CHK_AND_GOTO(cond, label) \
664 if (!cond) { \
665 DHD_ERROR(("%s " #cond " is NULL\n", __FUNCTION__)); \
3397 #define DHD_STATLOG_DATA(dhdp, stat, ifidx, dir, cond) \
[all...]
H A Ddhd_pcie.c5073 bool cond; in dhd_bus_perform_bp_reset() local
5110 cond = val & (1 << PCIE_CFG_SPROM_CTRL_SB_RESET_BIT); in dhd_bus_perform_bp_reset()
5112 } while (cond && (retry++ < DHD_BP_RESET_STATUS_RETRIES)); in dhd_bus_perform_bp_reset()
5114 if (cond) { in dhd_bus_perform_bp_reset()
5130 cond = val & (1 << PCIE_CFG_CLOCK_CTRL_STATUS_BP_RESET_BIT); in dhd_bus_perform_bp_reset()
5132 } while (cond && (retry++ < DHD_BP_RESET_STATUS_RETRIES)); in dhd_bus_perform_bp_reset()
5134 if (cond) { in dhd_bus_perform_bp_reset()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_debug.c25 void osal_panic(const char *fmt, const char *fun, int line, const char *cond) in osal_panic() argument
27 panic(fmt, fun, line, cond); in osal_panic()
/device/soc/rockchip/rk3399/hardware/mpp/include/
H A Dmpp_log.h112 #define mpp_assert(cond) do { \
113 if (!(cond)) { \
115 MPP_STRINGS(cond), __FUNCTION__, __LINE__); \
/device/soc/rockchip/rk3568/hardware/mpp/include/
H A Dmpp_log.h112 #define mpp_assert(cond) do { \
113 if (!(cond)) { \
115 MPP_STRINGS(cond), __FUNCTION__, __LINE__); \
/device/soc/rockchip/common/hardware/mpp/include/
H A Dmpp_log.h112 #define mpp_assert(cond) \
114 if (!(cond)) { \
115 mpp_err("Assertion %s failed at %s:%d\n", MPP_STRINGS(cond), __FUNCTION__, __LINE__); \
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_debug.c37 void osal_panic(const char *fmt, const char *fun, int line, const char *cond) in osal_panic() argument
39 panic(fmt, fun, line, cond); in osal_panic()
/device/soc/hisilicon/common/platform/hieth-sf/include/internal/
H A Dhieth_pri.h69 #define HiethAssert(cond) \
71 if (!(cond)) { \
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/
H A Dsched.h217 TP_PROTO(bool *cond),
218 TP_ARGS(cond), 1);
225 TP_PROTO(bool *cond),
226 TP_ARGS(cond), 1);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
H A DThread.h43 typedef struct { pthread_cond_t cond; pthread_mutex_t mutex; } cond_type_struct; member
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/at/src/
H A Dat_io.c31 #define io_dir_get(cond, id, val_addr) \
32 if ((cond) & (hi_u16)(1 << (id))) { \
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/
H A Duthash.h967 #define HASH_SELECT(hh_dst, dst, hh_src, src, cond) \
979 if (cond(_elt)) { \
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_drv.c1866 #define ADD_ROCKCHIP_SUB_DRIVER(drv, cond) \
1868 if (IS_ENABLED(cond) && !WARN_ON(num_rockchip_sub_drivers >= MAX_ROCKCHIP_SUB_DRIVERS)) \
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Drkisp.c3181 #define shm_head_poll_timeout(isp_dev, cond, sleep_us, timeout_us) \
3190 if (cond) \
3198 (cond) ? 0 : -ETIMEDOUT; \
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Drkisp.c3184 #define shm_head_poll_timeout(isp_dev, cond, sleep_us, timeout_us) \
3194 if (cond) \
3203 (cond) ? 0 : -ETIMEDOUT; \

Completed in 39 milliseconds