Home
last modified time | relevance | path

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

/linux/lib/
A Dtest_overflow.c146 {0, S16_MAX, S16_MAX, -S16_MAX, 0, false, false, false},
147 {S16_MAX, 0, S16_MAX, S16_MAX, 0, false, false, false},
151 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true},
152 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true},
153 {-1, S16_MAX, S16_MAX-1, S16_MIN, -S16_MAX, false, false, false},
154 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false},
155 {-1, -S16_MAX, S16_MIN, S16_MAX-1, S16_MAX, false, false, false},
158 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false},
159 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false},
161 {S16_MAX, 1, S16_MIN, S16_MAX-1, S16_MAX, true, false, false},
[all …]
A Dnlattr.c233 range->max = S16_MAX; in nla_get_range_signed()
A Dtest_bpf.c483 int len = S16_MAX + 5; in __bpf_fill_max_jmp()
492 insns[i++] = BPF_JMP_IMM(jmp, R0, imm, S16_MAX); in __bpf_fill_max_jmp()
/linux/include/linux/
A Dlimits.h16 #define S16_MAX ((s16)(U16_MAX >> 1)) macro
17 #define S16_MIN ((s16)(-S16_MAX - 1))
/linux/net/ethtool/
A Dbitset.h6 #define ETHNL_MAX_BITSET_SIZE S16_MAX
/linux/drivers/iio/temperature/
A Dtmp117.c91 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
A Dmlx90632.c422 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
/linux/arch/arm64/kernel/
A Dmodule.c118 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
/linux/sound/soc/atmel/
A Datmel-pdmic.c47 #define PDMIC_OFFSET_MAX_VAL S16_MAX
/linux/drivers/iio/accel/
A Dadxl355_core.c531 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
/linux/drivers/gpu/drm/i915/gt/
A Dintel_migrate.c499 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in emit_clear()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dtt.c681 if ((temp / 1000) > S16_MAX) { in iwl_mvm_tzone_set_trip_temp()
/linux/drivers/net/ethernet/google/gve/
A Dgve_rx_dqo.c246 rx->dqo.num_buf_states = min_t(s16, S16_MAX, buffer_queue_slots * 4); in gve_rx_alloc_ring_dqo()
A Dgve_tx_dqo.c178 tx->dqo.num_pending_packets = min_t(int, num_pending_packets, S16_MAX); in gve_tx_alloc_ring_dqo()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dclock.c283 if (delta < S16_MIN || delta > S16_MAX) { in mlx5_ptp_adjtime_real_time()
/linux/kernel/bpf/
A Dcore.c360 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off()
446 const u32 cnt_max = S16_MAX; in bpf_patch_insn_single()
/linux/drivers/hwmon/pmbus/
A Dpmbus_core.c832 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
/linux/drivers/hid/
A Dwacom_sys.c276 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
/linux/net/core/
A Dfilter.c483 bool ldx_off_ok = offset <= S16_MAX; in convert_bpf_ld_abs()
688 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
A Ddev.c2895 if (channel > S16_MAX) in netdev_set_sb_channel()
/linux/drivers/md/
A Dmd.c3544 sector - rdev->sb_start > S16_MAX) || in ppl_sector_store()

Completed in 94 milliseconds