Home
last modified time | relevance | path

Searched refs:S16_MIN (Results 1 – 23 of 23) sorted by relevance

/linux/lib/
H A Doverflow_kunit.c182 {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 Dnlattr.c251 range->min = S16_MIN; in nla_get_range_signed()
/linux/arch/s390/include/asm/
H A Datomic_ops.h26 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 Dlimits.h20 #define S16_MIN ((s16)(-S16_MAX - 1)) macro
/linux/drivers/iio/adc/
H A Dad4695.c799 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 Dina238.c230 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 Dtmp117.c101 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
H A Dmlx90632.c601 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
/linux/drivers/rtc/
H A Drtc-tps6594.c222 if (calibration < S16_MIN + 1 || calibration > S16_MAX) in tps6594_rtc_set_calibration()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_av1_req_lat_if.c1112 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 Datmel-pdmic.c48 #define PDMIC_OFFSET_MIN_VAL S16_MIN
/linux/drivers/iio/accel/
H A Dadxl355_core.c576 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu981_hw_av1_dec.c485 *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 Dlog.c557 #define SNUM_MIN_DECIMAL S16_MIN
H A Dcore.c393 off_min = S16_MIN; in bpf_adj_delta_to_off()
H A Dverifier.c4677 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 Dreg_bounds.c21 #define S16_MIN ((s16)0x80000000) macro
146 #define SNUM_MIN_DECIMAL S16_MIN
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c74 MLX5_MTUTC_OPERATION_ADJUST_TIME_MIN = S16_MIN,
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c394 if (delta < S16_MIN || delta > S16_MAX) { in mlxsw_sp2_ptp_adjtime()
/linux/drivers/hid/
H A Dwacom_sys.c273 field->logical_minimum = S16_MIN; in wacom_hid_usage_quirk()
/linux/drivers/hwmon/pmbus/
H A Dpmbus_core.c1080 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
/linux/drivers/md/
H A Dmd.c3487 rdev->sb_start - sector > -S16_MIN)) in ppl_sector_store()
/linux/net/core/
H A Dfilter.c700 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()