Home
last modified time | relevance | path

Searched refs:ABS (Results 1 – 25 of 36) sorted by relevance

12

/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/
Daml_pmu.h25 #define ABS(x) ((x) > 0 ? (x) : -(x)) macro
124 #define ABS(x) ((x) > 0 ? (x) : -(x)) macro
/device/soc/rockchip/rk3568/hardware/omx_il/include/librkvpu/
Dvpu_macro.h137 #ifndef ABS
138 #define ABS(X) (((X) < 0) ? (-(X)) : (X)) macro
/device/soc/rockchip/rk3588/kernel/drivers/video/rockchip/rga3/include/
Drga_drv.h93 #ifndef ABS
94 #define ABS(X) (((X) < 0) ? (-(X)) : (X)) macro
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dplat_types.h129 #ifndef ABS
130 #define ABS(x) ((x<0)?(-(x)):(x)) macro
Dhal_pwm.c103 … if (!cfg->sleep_on && ABS((int)(toggle * 100 - load * ratio)) > load * PWM_MAX_FREQ_ERR_PCT) { in hal_pwm_enable()
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/libraries/utility/
Dutility.h101 #ifndef ABS
102 static inline uint32_t ABS(int32_t n) in ABS() function
/device/board/isoftstone/yangfan/kernel/src/driv/video/rockchip/rga2/
Drga2_reg_info.h19 #ifndef ABS
20 #define ABS(X) (((X) < 0) ? (-(X)) : (X)) macro
/device/soc/rockchip/common/vendor/drivers/video/rockchip/rga2/
Drga2_reg_info.h15 #ifndef ABS
16 #define ABS(X) (((X) < 0) ? (-(X)) : (X)) macro
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/escs/
Descs.c347 a = ABS (tx_power - supported_tx[i]); in es_slot_tx_power_set()
348 b = ABS (tx_power - supported_tx[i + 1]); in es_slot_tx_power_set()
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Dbcmwifi_channels.c1774 if ((uint)ABS((int)(chan0 - chan1)) <= CH_80MHZ_APART) { in wf_create_8080MHz_chspec()
1847 if ((uint)ABS((int)(chan0 - chan1)) <= CH_160MHZ_APART) { in wf_create_160160MHz_chspec()
2890 if ((uint)ABS(ch0 - ch1) < CH_20MHZ_APART) { in wf_chspec_overlap()
2956 if ((uint)ABS((int)(chan0 - chan1)) <= CH_160MHZ_APART) { in wf_create_160160MHz_chspec_sb()
Dlinux_osl.c325 ASSERT(ABS(BCME_LAST) == (ARRAYSIZE(linuxbcmerrormap) - 1));
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/include/
Dhi_math.h35 #define ABS(x) ((x) >= 0 ? (x) : (-(x))) macro
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dhi_math.h32 #define ABS(x) ((x) >= 0 ? (x) : (-(x))) macro
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dhi_math.h32 #define ABS(x) ((x) >= 0 ? (x) : (-(x))) macro
/device/soc/winnermicro/wm800/board/include/arch/xt804/csi_dsp/
Dcsky_math.h224 #define ABS(x) (((x) > 0) ? (x) : (-(x))) macro
237 (zz)=(ABS(x)>ABS(y)) ? (((x)-(z))+(y)) : (((y)-(z))+(x)); \
271 (r)=(x)+(y); (s)=(ABS(x)>ABS(y)) ? \
285 (r)=(x)-(y); (s)=(ABS(x)>ABS(y)) ? \
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Dbcmwifi_channels.h66 (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (sep))
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/include/
Dbcmutils.h476 #ifndef ABS
477 #define ABS(a) (((a) < 0) ? -(a) : (a)) macro
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/include/
Dbcmutils.h518 #ifndef ABS
519 #define ABS(a) (((a) < 0) ? -(a) : (a)) macro
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Dbcmwifi_channels.h72 (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (sep))
Dbcmwifi_channels.c1470 if (ABS(ch0 - ch1) < CH_20MHZ_APART) { in wf_chspec_overlap()
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Dbcmwifi_channels.h73 (ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (sep))
Dbcmwifi_channels.c1471 if (ABS(ch0 - ch1) < CH_20MHZ_APART) { in wf_chspec_overlap()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/include/
Dbcmutils.h465 #ifndef ABS
466 #define ABS(a) (((a) < 0) ? -(a) : (a)) macro
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/include/
Dbcmwifi_channels.h91 ((uint)ABS(wf_chspec_ctlchan(sp1) - wf_chspec_ctlchan(sp2)) < (uint)(sep))
Dbcmutils.h632 #ifndef ABS
633 #define ABS(a) (((a) < 0) ? -(a) : (a)) macro

12