Home
last modified time | relevance | path

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

/linux-5.19.10/lib/
Doverflow_kunit.c150 {0, S16_MAX, S16_MAX, -S16_MAX, 0, false, false, false},
151 {S16_MAX, 0, S16_MAX, S16_MAX, 0, false, false, false},
155 {-1, S16_MIN, S16_MAX, S16_MAX, S16_MIN, true, false, true},
156 {S16_MIN, -1, S16_MAX, -S16_MAX, S16_MIN, true, false, true},
157 {-1, S16_MAX, S16_MAX-1, S16_MIN, -S16_MAX, false, false, false},
158 {S16_MAX, -1, S16_MAX-1, S16_MIN, -S16_MAX, false, true, false},
159 {-1, -S16_MAX, S16_MIN, S16_MAX-1, S16_MAX, false, false, false},
160 {-S16_MAX, -1, S16_MIN, S16_MIN+2, S16_MAX, false, false, false},
162 {1, S16_MIN, -S16_MAX, -S16_MAX, S16_MIN, false, true, false},
163 {S16_MIN, 1, -S16_MAX, S16_MAX, S16_MIN, false, true, false},
[all …]
Dnlattr.c233 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-5.19.10/include/linux/
Dlimits.h16 #define S16_MAX ((s16)(U16_MAX >> 1)) macro
17 #define S16_MIN ((s16)(-S16_MAX - 1))
/linux-5.19.10/net/ethtool/
Dbitset.h6 #define ETHNL_MAX_BITSET_SIZE S16_MAX
/linux-5.19.10/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-5.19.10/drivers/iio/temperature/
Dtmp117.c91 off = clamp_t(int, val, S16_MIN, S16_MAX); in tmp117_write_raw()
Dmlx90632.c422 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended()
/linux-5.19.10/arch/arm64/kernel/
Dmodule.c119 if (sval < S16_MIN || sval > S16_MAX) in reloc_data()
/linux-5.19.10/drivers/iio/accel/
Dadxl355_core.c530 calibbias = clamp_t(int, val, S16_MIN, S16_MAX); in adxl355_write_raw()
/linux-5.19.10/sound/soc/atmel/
Datmel-pdmic.c47 #define PDMIC_OFFSET_MAX_VAL S16_MAX
/linux-5.19.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dtt.c686 if ((temp / 1000) > S16_MAX) { in iwl_mvm_tzone_set_trip_temp()
/linux-5.19.10/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c246 rx->dqo.num_buf_states = min_t(s16, S16_MAX, buffer_queue_slots * 4); in gve_rx_alloc_ring_dqo()
Dgve_tx_dqo.c178 tx->dqo.num_pending_packets = min_t(int, num_pending_packets, S16_MAX); in gve_tx_alloc_ring_dqo()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c283 if (delta < S16_MIN || delta > S16_MAX) { in mlx5_ptp_adjtime_real_time()
/linux-5.19.10/drivers/gpu/drm/i915/gt/
Dintel_migrate.c918 GEM_BUG_ON(size >> PAGE_SHIFT > S16_MAX); in emit_clear()
/linux-5.19.10/kernel/bpf/
Dcore.c364 const s32 off_min = S16_MIN, off_max = S16_MAX; in bpf_adj_delta_to_off()
450 const u32 cnt_max = S16_MAX; in bpf_patch_insn_single()
/linux-5.19.10/drivers/hid/
Dwacom_sys.c276 field->logical_maximum = S16_MAX; in wacom_hid_usage_quirk()
/linux-5.19.10/drivers/hwmon/pmbus/
Dpmbus_core.c852 return (u16)clamp_val(val, S16_MIN, S16_MAX); in pmbus_data2reg_direct()
/linux-5.19.10/net/core/
Dfilter.c484 bool ldx_off_ok = offset <= S16_MAX; in convert_bpf_ld_abs()
689 const s32 off_min = S16_MIN, off_max = S16_MAX; \ in bpf_convert_filter()
Ddev.c2866 if (channel > S16_MAX) in netdev_set_sb_channel()
/linux-5.19.10/drivers/md/
Dmd.c3540 sector - rdev->sb_start > S16_MAX) || in ppl_sector_store()