/Linux-v6.6/lib/ |
D | overflow_kunit.c | 152 {0, S8_MAX, S8_MAX, -S8_MAX, 0, false, false, false}, 153 {S8_MAX, 0, S8_MAX, S8_MAX, 0, false, false, false}, 157 {-1, S8_MIN, S8_MAX, S8_MAX, S8_MIN, true, false, true}, 158 {S8_MIN, -1, S8_MAX, -S8_MAX, S8_MIN, true, false, true}, 159 {-1, S8_MAX, S8_MAX-1, S8_MIN, -S8_MAX, false, false, false}, 160 {S8_MAX, -1, S8_MAX-1, S8_MIN, -S8_MAX, false, true, false}, 161 {-1, -S8_MAX, S8_MIN, S8_MAX-1, S8_MAX, false, false, false}, 162 {-S8_MAX, -1, S8_MIN, S8_MIN+2, S8_MAX, false, false, false}, 164 {1, S8_MIN, -S8_MAX, -S8_MAX, S8_MIN, false, true, false}, 165 {S8_MIN, 1, -S8_MAX, S8_MAX, S8_MIN, false, true, false}, [all …]
|
D | nlattr.c | 240 range->max = S8_MAX; in nla_get_range_signed()
|
/Linux-v6.6/include/linux/ |
D | limits.h | 16 #define S8_MAX ((s8)(U8_MAX >> 1)) macro 17 #define S8_MIN ((s8)(-S8_MAX - 1))
|
/Linux-v6.6/drivers/net/wireless/realtek/rtw89/ |
D | sar.h | 10 #define RTW89_SAR_TXPWR_MAC_MAX S8_MAX
|
D | rtw8852b.c | 1026 tmp = clamp_t(s32, tmp << 2, S8_MIN, S8_MAX); in rtw8852b_set_gain_offset() 1040 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852b_set_gain_offset() 1044 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852b_set_gain_offset() 1056 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852b_set_gain_offset() 1060 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8852b_set_gain_offset() 1065 tmp = clamp_t(s32, tmp, S8_MIN >> 1, S8_MAX >> 1); in rtw8852b_set_gain_offset()
|
D | rtw8851b.c | 937 tmp = clamp_t(s32, tmp << 2, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset() 950 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset() 957 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset() 961 tmp = clamp_t(s32, tmp, S8_MIN, S8_MAX); in rtw8851b_set_gain_offset() 966 tmp = clamp_t(s32, tmp, S8_MIN >> 1, S8_MAX >> 1); in rtw8851b_set_gain_offset()
|
D | rtw8852c.c | 888 S8_MIN >> 1, S8_MAX >> 1); in rtw8852c_set_gain_offset() 898 tmp = clamp_t(s32, -tmp, S8_MIN, S8_MAX); in rtw8852c_set_gain_offset() 901 tmp = clamp_t(s32, offset_q0 << 4, S8_MIN, S8_MAX); in rtw8852c_set_gain_offset()
|
/Linux-v6.6/drivers/iio/dac/ |
D | ds4424.c | 144 if (val < S8_MIN || val > S8_MAX) in ds4424_write_raw()
|
/Linux-v6.6/drivers/input/joystick/ |
D | n64joy.c | 309 S8_MIN, S8_MAX, 0, 0); in n64joy_probe()
|
/Linux-v6.6/drivers/net/ieee802154/ |
D | adf7242.c | 823 s8 level = clamp_t(s8, mbm / 100, S8_MIN, S8_MAX); in adf7242_set_cca_ed_level()
|
/Linux-v6.6/drivers/net/wireless/ath/wil6210/ |
D | wmi.c | 3484 cfg_match->rssi_thold <= S8_MAX) in wmi_sched_scan_set_ssids() 3561 request->min_rssi_thold <= S8_MAX) in wmi_start_sched_scan() 4036 if (rssi_thold > S8_MAX || rssi_thold < S8_MIN || rssi_hyst > U8_MAX) in wmi_set_cqm_rssi_config()
|
/Linux-v6.6/mm/ |
D | vmscan.c | 7061 BUILD_BUG_ON(MAX_ORDER >= S8_MAX); in try_to_free_pages() 7062 BUILD_BUG_ON(DEF_PRIORITY > S8_MAX); in try_to_free_pages() 7063 BUILD_BUG_ON(MAX_NR_ZONES > S8_MAX); in try_to_free_pages()
|
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
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-v6.6/net/ethtool/ |
D | ioctl.c | 538 compiletime_assert(__ETHTOOL_LINK_MODE_MASK_NU32 <= S8_MAX, in ethtool_get_link_ksettings()
|
/Linux-v6.6/kernel/bpf/ |
D | verifier.c | 5843 reg->smax_value = reg->s32_max_value = S8_MAX; in set_sext64_default_val() 5921 reg->s32_max_value = S8_MAX; in set_sext32_default_val()
|