/linux/lib/ |
H A D | overflow_kunit.c | 153 {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 D | nlattr.c | 248 range->max = S8_MAX; in nla_get_range_signed()
|
/linux/include/linux/ |
H A D | limits.h | 16 #define S8_MAX ((s8)(U8_MAX >> 1)) macro 17 #define S8_MIN ((s8)(-S8_MAX - 1))
|
/linux/drivers/iio/dac/ |
H A D | ds4424.c | 144 if (val < S8_MIN || val > S8_MAX) in ds4424_write_raw()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852b_common.c | 656 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 D | rtw8851b.c | 965 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 D | rtw8922a.c | 1116 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 D | rtw8852c.c | 950 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 D | phy.c | 1876 s8 cstr = S8_MAX; in rtw89_phy_get_tpe_constraint()
|
/linux/drivers/input/joystick/ |
H A D | n64joy.c | 309 S8_MIN, S8_MAX, 0, 0); in n64joy_probe()
|
/linux/drivers/iio/light/ |
H A D | apds9960.c | 345 if (calibbias < S8_MIN || calibbias > S8_MAX) in apds9960_set_calibbias()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | link.c | 699 return S8_MAX; in iwl_mvm_get_esr_rssi_thresh()
|
/linux/drivers/net/wireless/ath/wil6210/ |
H A D | wmi.c | 3482 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 D | adf7242.c | 823 s8 level = clamp_t(s8, mbm / 100, S8_MIN, S8_MAX); in adf7242_set_cca_ed_level()
|
/linux/mm/ |
H A D | vmscan.c | 6498 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 D | cfg80211.c | 5636 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 D | ioctl.c | 545 compiletime_assert(__ETHTOOL_LINK_MODE_MASK_NU32 <= S8_MAX, in ethtool_get_link_ksettings()
|
/linux/kernel/bpf/ |
H A D | verifier.c | 6280 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()
|