/linux/lib/ |
H A D | overflow_kunit.c | 182 {0, S16_MIN, S16_MIN, S16_MIN, 0, false, true, false}, 183 {S16_MIN, 0, S16_MIN, S16_MIN, 0, false, false, false}, 185 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true}, 186 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true}, 187 {-1, S16_MAX, S16_MAX-1, S16_MIN, -S16_MAX, false, false, false}, 188 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false}, 189 {-1, -S16_MAX, S16_MIN, S16_MAX-1, S16_MAX, false, false, false}, 190 {-S16_MAX, -1, S16_MIN, S16_MIN+2, S16_MAX, false, false, false}, 192 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false}, 193 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false}, [all …]
|
H A D | nlattr.c | 251 range->min = S16_MIN; in nla_get_range_signed()
|
/linux/arch/s390/include/asm/ |
H A D | atomic_ops.h | 26 if (__builtin_constant_p(i) && i >= S16_MIN && i <= S16_MAX) { in __atomic_set() 49 if (__builtin_constant_p(i) && i >= S16_MIN && i <= S16_MAX) { in __atomic64_set()
|
/linux/include/linux/ |
H A D | limits.h | 20 #define S16_MIN ((s16)(-S16_MAX - 1)) macro
|
/linux/drivers/iio/adc/ |
H A D | ad4695.c | 799 else if ((val2 < 0 ? -val : val) < S16_MIN / 4) in ad4695_write_raw() 800 reg_val = S16_MIN; in ad4695_write_raw() 804 S16_MIN, S16_MAX); in ad4695_write_raw() 808 S16_MIN, S16_MAX); in ad4695_write_raw() 812 S16_MIN, S16_MAX); in ad4695_write_raw() 841 S16_MIN / 4, 0, 0, MICRO / 4, S16_MAX / 4, S16_MAX % 4 * MICRO / 4 in ad4695_read_avail()
|
/linux/drivers/hwmon/ |
H 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/drivers/iio/temperature/ |
H A D | tmp117.c | 101 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
|
H A D | mlx90632.c | 601 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
|
/linux/drivers/rtc/ |
H A D | rtc-tps6594.c | 222 if (calibration < S16_MIN + 1 || calibration > S16_MAX) in tps6594_rtc_set_calibration()
|
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_av1_req_lat_if.c | 1112 gm_params->alpha = clamp_val(mat[2] - (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1113 gm_params->beta = clamp_val(mat[3], S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1119 S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1123 (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params()
|
/linux/sound/soc/atmel/ |
H A D | atmel-pdmic.c | 48 #define PDMIC_OFFSET_MIN_VAL S16_MIN
|
/linux/drivers/iio/accel/ |
H A D | adxl355_core.c | 576 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
|
/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu981_hw_av1_dec.c | 485 *alpha = clamp_val(mat[2] - (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in rockchip_vpu981_av1_dec_get_shear_params() 486 *beta = clamp_val(mat[3], S16_MIN, S16_MAX); in rockchip_vpu981_av1_dec_get_shear_params() 492 *gamma = clamp_val((int)AV1_DIV_ROUND_UP_POW2_SIGNED(gv, shift), S16_MIN, S16_MAX); in rockchip_vpu981_av1_dec_get_shear_params() 497 S16_MIN, S16_MAX); in rockchip_vpu981_av1_dec_get_shear_params()
|
/linux/kernel/bpf/ |
H A D | log.c | 557 #define SNUM_MIN_DECIMAL S16_MIN
|
H A D | core.c | 393 off_min = S16_MIN; in bpf_adj_delta_to_off()
|
H A D | verifier.c | 4677 subprog->fastcall_stack_off = S16_MIN; in check_fastcall_stack_contract() 6469 reg->smin_value = reg->s32_min_value = S16_MIN; in set_sext64_default_val() 6548 reg->s32_min_value = S16_MIN; in set_sext32_default_val()
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | reg_bounds.c | 21 #define S16_MIN ((s16)0x80000000) macro 146 #define SNUM_MIN_DECIMAL S16_MIN
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | clock.c | 74 MLX5_MTUTC_OPERATION_ADJUST_TIME_MIN = S16_MIN,
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ptp.c | 394 if (delta < S16_MIN || delta > S16_MAX) { in mlxsw_sp2_ptp_adjtime()
|
/linux/drivers/hid/ |
H A D | wacom_sys.c | 273 field->logical_minimum = S16_MIN; in wacom_hid_usage_quirk()
|
/linux/drivers/hwmon/pmbus/ |
H A D | pmbus_core.c | 1080 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
|
/linux/drivers/md/ |
H A D | md.c | 3487 rdev->sb_start - sector > -S16_MIN)) in ppl_sector_store()
|
/linux/net/core/ |
H A D | filter.c | 700 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
|