Searched refs:SHRT_MAX (Results 1 – 16 of 16) sorted by relevance
/linux/include/vdso/ |
H A D | limits.h | 6 #define SHRT_MAX ((short)(USHRT_MAX >> 1)) macro 7 #define SHRT_MIN ((short)(-SHRT_MAX - 1))
|
/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_stack_ptr.c | 197 __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 D | ina2xx.c | 313 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 D | ccs-pll.c | 299 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 D | cyberjack.c | 275 if (old_rdtodo > SHRT_MAX - size) { in cyberjack_read_int_callback()
|
/linux/drivers/gpu/drm/msm/adreno/ |
H A D | adreno_gpu.h | 144 #define ADRENO_SPEEDBINS(tbl...) (struct adreno_speedbin[]) { tbl {SHRT_MAX, 0} }
|
H A D | a6xx_gpu.c | 2120 for (int i = 0; info->speedbins[i].fuse != SHRT_MAX; i++) in fuse_to_supp_hw()
|
/linux/drivers/clk/imx/ |
H A D | clk-pll14xx.c | 33 #define KDIV_MAX SHRT_MAX
|
/linux/net/sched/ |
H A D | sch_sfq.c | 653 if (scaled <= 0 || scaled > SHRT_MAX) in sfq_change()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_mbx.c | 66 if (resp < SHRT_MAX) { in hclge_gen_resp_to_vf()
|
/linux/tools/lib/bpf/ |
H A D | relo_core.c | 1074 if (new_val > SHRT_MAX) { in bpf_core_patch_insn()
|
/linux/drivers/xen/events/ |
H A D | events_base.c | 1606 if (info->refcnt <= 0 || info->refcnt == SHRT_MAX) in evtchn_get()
|
/linux/drivers/md/bcache/ |
H A D | btree.c | 1845 bch_btree_op_init(&op, SHRT_MAX); in bch_btree_gc()
|
/linux/lib/ |
H A D | vsprintf.c | 3526 field_width = SHRT_MAX; in vsscanf()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
H A D | commands.c | 2107 (sme->bg_scan_period <= SHRT_MAX)) in qtnf_cmd_send_connect()
|
/linux/virt/kvm/ |
H A D | kvm_main.c | 1171 BUILD_BUG_ON(KVM_MEM_SLOTS_NUM > SHRT_MAX); in kvm_create_vm()
|