/linux-6.6.21/lib/ |
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}, 186 {-1, S16_MAX, S16_MAX-1, S16_MIN, -S16_MAX, false, false, false}, 187 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false}, 188 {-1, -S16_MAX, S16_MIN, S16_MAX-1, S16_MAX, false, false, false}, 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}, [all …]
|
D | nlattr.c | 247 range->min = S16_MIN; in nla_get_range_signed()
|
/linux-6.6.21/include/linux/ |
D | limits.h | 20 #define S16_MIN ((s16)(-S16_MAX - 1)) macro
|
/linux-6.6.21/drivers/hwmon/ |
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.6.21/drivers/iio/temperature/ |
D | tmp117.c | 93 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
|
D | mlx90632.c | 601 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
|
/linux-6.6.21/arch/arm64/kernel/ |
D | module.c | 202 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
|
/linux-6.6.21/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_av1_req_lat_if.c | 1104 gm_params->alpha = clamp_val(mat[2] - (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1105 gm_params->beta = clamp_val(mat[3], S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1111 S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params() 1115 (1 << WARPEDMODEL_PREC_BITS), S16_MIN, S16_MAX); in vdec_av1_slice_get_shear_params()
|
/linux-6.6.21/sound/soc/atmel/ |
D | atmel-pdmic.c | 48 #define PDMIC_OFFSET_MIN_VAL S16_MIN
|
/linux-6.6.21/drivers/iio/accel/ |
D | adxl355_core.c | 576 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 70 MLX5_MTUTC_OPERATION_ADJUST_TIME_MIN = S16_MIN,
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 393 if (delta < S16_MIN || delta > S16_MAX) { in mlxsw_sp2_ptp_adjtime()
|
/linux-6.6.21/kernel/bpf/ |
D | core.c | 383 off_min = S16_MIN; in bpf_adj_delta_to_off()
|
D | verifier.c | 6075 reg->smin_value = reg->s32_min_value = S16_MIN; in set_sext64_default_val() 6154 reg->s32_min_value = S16_MIN; in set_sext32_default_val()
|
/linux-6.6.21/drivers/hid/ |
D | wacom_sys.c | 273 field->logical_minimum = S16_MIN; in wacom_hid_usage_quirk()
|
/linux-6.6.21/drivers/hwmon/pmbus/ |
D | pmbus_core.c | 1012 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
|
/linux-6.6.21/drivers/md/ |
D | md.c | 3523 rdev->sb_start - sector > -S16_MIN)) in ppl_sector_store()
|
/linux-6.6.21/net/core/ |
D | filter.c | 693 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
|