/linux-6.3-rc2/lib/ |
A D | overflow_kunit.c | 181 {0, S16_MIN, S16_MIN, S16_MIN, 0, false, true, false}, 182 {S16_MIN, 0, S16_MIN, S16_MIN, 0, false, false, false}, 184 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true}, 185 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true}, 189 {-S16_MAX, -1, S16_MIN, S16_MIN+2, S16_MAX, false, false, false}, 191 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false}, 192 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false}, 193 {1, S16_MAX, S16_MIN, S16_MIN+2, S16_MAX, true, false, false}, 196 {S16_MIN, S16_MIN, 0, 0, 0, true, false, true}, 800 TEST_OVERFLOWS_TYPE(s16, u8, S16_MIN, true); in overflows_type_test() [all …]
|
A D | nlattr.c | 243 range->min = S16_MIN; in nla_get_range_signed()
|
/linux-6.3-rc2/include/linux/ |
A D | limits.h | 18 #define S16_MIN ((s16)(-S16_MAX - 1)) macro
|
/linux-6.3-rc2/drivers/iio/temperature/ |
A D | tmp117.c | 91 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
|
A D | mlx90632.c | 601 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
|
/linux-6.3-rc2/drivers/hwmon/ |
A D | ina238.c | 230 regval = clamp_val(regval, S16_MIN, S16_MAX); in ina238_write_in() 401 regval = clamp_val(regval, S16_MIN, S16_MAX) & 0xfff0; in ina238_write_temp()
|
/linux-6.3-rc2/arch/arm64/kernel/ |
A D | module.c | 121 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
|
/linux-6.3-rc2/sound/soc/atmel/ |
A D | atmel-pdmic.c | 48 #define PDMIC_OFFSET_MIN_VAL S16_MIN
|
/linux-6.3-rc2/drivers/iio/accel/ |
A D | adxl355_core.c | 576 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | clock.c | 73 MLX5_MTUTC_OPERATION_ADJUST_TIME_MIN = S16_MIN,
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ptp.c | 393 if (delta < S16_MIN || delta > S16_MAX) { in mlxsw_sp2_ptp_adjtime()
|
/linux-6.3-rc2/drivers/hid/ |
A D | wacom_sys.c | 273 field->logical_minimum = S16_MIN; in wacom_hid_usage_quirk()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | core.c | 373 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off()
|
/linux-6.3-rc2/drivers/hwmon/pmbus/ |
A D | pmbus_core.c | 1010 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
|
/linux-6.3-rc2/drivers/md/ |
A D | md.c | 3493 rdev->sb_start - sector > -S16_MIN)) in ppl_sector_store()
|
/linux-6.3-rc2/net/core/ |
A D | filter.c | 691 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
|