Home
last modified time | relevance | path

Searched refs:SHRT_MAX (Results 1 – 16 of 16) sorted by relevance

/linux/include/vdso/
H A Dlimits.h6 #define SHRT_MAX ((short)(USHRT_MAX >> 1)) macro
7 #define SHRT_MIN ((short)(-SHRT_MAX - 1))
/linux/tools/testing/selftests/bpf/progs/
H A Dverifier_stack_ptr.c197 __imm_const(shrt_max, SHRT_MAX) in to_stack_check_high_6()
217 __imm_const(shrt_max, SHRT_MAX) in to_stack_check_high_7()
/linux/drivers/hwmon/
H A Dina2xx.c313 val = clamp_val(val, 0, SHRT_MAX * data->config->shunt_div); in ina226_alert_to_reg()
315 return clamp_val(val, 0, SHRT_MAX); in ina226_alert_to_reg()
329 return clamp_val(val, SHRT_MIN, SHRT_MAX); in ina226_alert_to_reg()
/linux/drivers/media/i2c/
H A Dccs-pll.c299 u16 best_pix_div = SHRT_MAX >> 1, best_div = lim_bk->max_sys_clk_div; in __ccs_pll_calculate_vt_tree()
359 if (best_pix_div == SHRT_MAX >> 1) in __ccs_pll_calculate_vt_tree()
446 u16 best_pix_div = SHRT_MAX >> 1; in ccs_pll_calculate_vt()
558 if (best_pix_div < SHRT_MAX >> 1) in ccs_pll_calculate_vt()
/linux/drivers/usb/serial/
H A Dcyberjack.c275 if (old_rdtodo > SHRT_MAX - size) { in cyberjack_read_int_callback()
/linux/drivers/gpu/drm/msm/adreno/
H A Dadreno_gpu.h144 #define ADRENO_SPEEDBINS(tbl...) (struct adreno_speedbin[]) { tbl {SHRT_MAX, 0} }
H A Da6xx_gpu.c2120 for (int i = 0; info->speedbins[i].fuse != SHRT_MAX; i++) in fuse_to_supp_hw()
/linux/drivers/clk/imx/
H A Dclk-pll14xx.c33 #define KDIV_MAX SHRT_MAX
/linux/net/sched/
H A Dsch_sfq.c653 if (scaled <= 0 || scaled > SHRT_MAX) in sfq_change()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_mbx.c66 if (resp < SHRT_MAX) { in hclge_gen_resp_to_vf()
/linux/tools/lib/bpf/
H A Drelo_core.c1074 if (new_val > SHRT_MAX) { in bpf_core_patch_insn()
/linux/drivers/xen/events/
H A Devents_base.c1606 if (info->refcnt <= 0 || info->refcnt == SHRT_MAX) in evtchn_get()
/linux/drivers/md/bcache/
H A Dbtree.c1845 bch_btree_op_init(&op, SHRT_MAX); in bch_btree_gc()
/linux/lib/
H A Dvsprintf.c3526 field_width = SHRT_MAX; in vsscanf()
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c2107 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
/linux/virt/kvm/
H A Dkvm_main.c1171 BUILD_BUG_ON(KVM_MEM_SLOTS_NUM > SHRT_MAX); in kvm_create_vm()