Home
last modified time | relevance | path

Searched refs:S8_MAX (Results 1 – 18 of 18) sorted by relevance

/linux/lib/
H A Doverflow_kunit.c153 {0, S8_MAX, S8_MAX, -S8_MAX, 0, false, false, false},
154 {S8_MAX, 0, S8_MAX, S8_MAX, 0, false, false, false},
158 {-1, S8_MIN, S8_MAX, S8_MAX, S8_MIN, true, false, true},
159 {S8_MIN, -1, S8_MAX, -S8_MAX, S8_MIN, true, false, true},
160 {-1, S8_MAX, S8_MAX-1, S8_MIN, -S8_MAX, false, false, false},
161 {S8_MAX, -1, S8_MAX-1, S8_MIN, -S8_MAX, false, true, false},
162 {-1, -S8_MAX, S8_MIN, S8_MAX-1, S8_MAX, false, false, false},
163 {-S8_MAX, -1, S8_MIN, S8_MIN+2, S8_MAX, false, false, false},
165 {1, S8_MIN, -S8_MAX, -S8_MAX, S8_MIN, false, true, false},
166 {S8_MIN, 1, -S8_MAX, S8_MAX, S8_MIN, false, true, false},
[all …]
H A Dnlattr.c248 range->max = S8_MAX; in nla_get_range_signed()
/linux/include/linux/
H A Dlimits.h16 #define S8_MAX ((s8)(U8_MAX >> 1)) macro
17 #define S8_MIN ((s8)(-S8_MAX - 1))
/linux/drivers/iio/dac/
H A Dds4424.c144 if (val < S8_MIN || val > S8_MAX) in ds4424_write_raw()
/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8852b_common.c656 tmp = clamp_t(s32, tmp << 2, S8_MIN, S8_MAX); in rtw8852bx_set_gain_offset()
670 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852bx_set_gain_offset()
674 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852bx_set_gain_offset()
686 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852bx_set_gain_offset()
690 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852bx_set_gain_offset()
695 tmp = clamp_t(s32, tmp, S8_MIN >> 1, S8_MAX >> 1); in rtw8852bx_set_gain_offset()
H A Drtw8851b.c965 tmp = clamp_t(s32, tmp << 2, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset()
978 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset()
985 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset()
989 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset()
994 tmp = clamp_t(s32, tmp, S8_MIN >> 1, S8_MAX >> 1); in rtw8851b_set_gain_offset()
H A Drtw8922a.c1116 v1 = clamp_t(s32, value, S8_MIN, S8_MAX); in rtw8922a_set_rx_gain_normal_ofdm()
1118 v2 = clamp_t(s32, value, S8_MIN, S8_MAX); in rtw8922a_set_rx_gain_normal_ofdm()
1120 v3 = clamp_t(s32, value, S8_MIN, S8_MAX); in rtw8922a_set_rx_gain_normal_ofdm()
H A Drtw8852c.c950 S8_MIN >> 1, S8_MAX >> 1); in rtw8852c_set_gain_offset()
960 tmp = clamp_t(s32, -tmp, S8_MIN, S8_MAX); in rtw8852c_set_gain_offset()
963 tmp = clamp_t(s32, offset_q0 << 4, S8_MIN, S8_MAX); in rtw8852c_set_gain_offset()
H A Dphy.c1876 s8 cstr = S8_MAX; in rtw89_phy_get_tpe_constraint()
/linux/drivers/input/joystick/
H A Dn64joy.c309 S8_MIN, S8_MAX, 0, 0); in n64joy_probe()
/linux/drivers/iio/light/
H A Dapds9960.c345 if (calibbias < S8_MIN || calibbias > S8_MAX) in apds9960_set_calibbias()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dlink.c699 return S8_MAX; in iwl_mvm_get_esr_rssi_thresh()
/linux/drivers/net/wireless/ath/wil6210/
H A Dwmi.c3482 cfg_match->rssi_thold <= S8_MAX) in wmi_sched_scan_set_ssids()
3559 request->min_rssi_thold <= S8_MAX) in wmi_start_sched_scan()
4029 if (rssi_thold > S8_MAX || rssi_thold < S8_MIN || rssi_hyst > U8_MAX) in wmi_set_cqm_rssi_config()
/linux/drivers/net/ieee802154/
H A Dadf7242.c823 s8 level = clamp_t(s8, mbm / 100, S8_MIN, S8_MAX); in adf7242_set_cca_ed_level()
/linux/mm/
H A Dvmscan.c6498 BUILD_BUG_ON(MAX_PAGE_ORDER >= S8_MAX); in try_to_free_pages()
6499 BUILD_BUG_ON(DEF_PRIORITY > S8_MAX); in try_to_free_pages()
6500 BUILD_BUG_ON(MAX_NR_ZONES > S8_MAX); in try_to_free_pages()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c5636 clamp_val(rssi_low, S8_MIN, S8_MAX - 2), in brcmf_cfg80211_set_cqm_rssi_range_config()
5637 clamp_val(rssi_high, S8_MIN + 1, S8_MAX - 1), in brcmf_cfg80211_set_cqm_rssi_range_config()
5638 S8_MAX, in brcmf_cfg80211_set_cqm_rssi_range_config()
/linux/net/ethtool/
H A Dioctl.c545 compiletime_assert(__ETHTOOL_LINK_MODE_MASK_NU32 <= S8_MAX, in ethtool_get_link_ksettings()
/linux/kernel/bpf/
H A Dverifier.c6280 reg->smax_value = reg->s32_max_value = S8_MAX; in set_sext64_default_val()
6358 reg->s32_max_value = S8_MAX; in set_sext32_default_val()