Home
last modified time | relevance | path

Searched refs:S16_MAX (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.6/lib/
Doverflow_kunit.c179 {0, S16_MAX, S16_MAX, -S16_MAX, 0, false, false, false},
180 {S16_MAX, 0, S16_MAX, S16_MAX, 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 …]
Dnlattr.c244 range->max = S16_MAX; in nla_get_range_signed()
Dtest_bpf.c484 int len = S16_MAX + 5; in __bpf_fill_max_jmp()
493 insns[i++] = BPF_JMP_IMM(jmp, R0, imm, S16_MAX); in __bpf_fill_max_jmp()
/Linux-v6.6/include/linux/
Dlimits.h19 #define S16_MAX ((s16)(U16_MAX >> 1)) macro
20 #define S16_MIN ((s16)(-S16_MAX - 1))
/Linux-v6.6/net/ethtool/
Dbitset.h6 #define ETHNL_MAX_BITSET_SIZE S16_MAX
/Linux-v6.6/drivers/hwmon/
Dina238.c230 regval = clamp_val(regval, S16_MIN, S16_MAX); in ina238_write_in()
246 regval = clamp_val(regval, 0, S16_MAX); in ina238_write_in()
401 regval = clamp_val(regval, S16_MIN, S16_MAX) & 0xfff0; in ina238_write_temp()
/Linux-v6.6/drivers/iio/temperature/
Dtmp117.c93 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
Dmlx90632.c601 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
/Linux-v6.6/arch/arm64/kernel/
Dmodule.c202 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_av1_req_lat_if.c1104 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-v6.6/sound/soc/atmel/
Datmel-pdmic.c47 #define PDMIC_OFFSET_MAX_VAL S16_MAX
/Linux-v6.6/drivers/hid/
Dhid-playstation.c1024 ds->gyro_calib_data[i].sens_denom = S16_MAX; in dualsense_get_calibration_data()
1061 ds->accel_calib_data[i].sens_denom = S16_MAX; in dualsense_get_calibration_data()
1881 ds4->gyro_calib_data[i].sens_denom = S16_MAX; in dualshock4_get_calibration_data()
1918 ds4->accel_calib_data[i].sens_denom = S16_MAX; in dualshock4_get_calibration_data()
Dwacom_sys.c274 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
/Linux-v6.6/drivers/iio/accel/
Dadxl355_core.c576 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
/Linux-v6.6/drivers/media/platform/verisilicon/
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-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c656 if ((temp / 1000) > S16_MAX) { in iwl_mvm_tzone_set_trip_temp()
/Linux-v6.6/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c278 min_t(s16, S16_MAX, buffer_queue_slots * 4) : in gve_rx_alloc_ring_dqo()
Dgve_tx_dqo.c295 tx->dqo.num_pending_packets = min_t(int, num_pending_packets, S16_MAX); in gve_tx_alloc_ring_dqo()
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dintel_migrate.c926 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in emit_clear()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c71 MLX5_MTUTC_OPERATION_ADJUST_TIME_MAX = S16_MAX,
/Linux-v6.6/kernel/bpf/
Dcore.c374 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off()
469 const u32 cnt_max = S16_MAX; in bpf_patch_insn_single()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c393 if (delta < S16_MIN || delta > S16_MAX) { in mlxsw_sp2_ptp_adjtime()
/Linux-v6.6/drivers/hwmon/pmbus/
Dpmbus_core.c1012 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
/Linux-v6.6/net/core/
Dfilter.c486 bool ldx_off_ok = offset <= S16_MAX; in convert_bpf_ld_abs()
691 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
Ddev.c2911 if (channel > S16_MAX) in netdev_set_sb_channel()

12