Home
last modified time | relevance | path

Searched refs:USHRT_MAX (Results 1 – 25 of 122) sorted by relevance

12345

/openbmc/openbmc/poky/meta/recipes-support/lzop/lzop/
H A Dacinclude.m4227 #if !defined(USHRT_MAX)
228 # include "error USHRT_MAX 1"
248 #if (USHRT_MAX < 1)
249 # include "error USHRT_MAX 2"
260 #if (USHRT_MAX < MFX_0xffff)
261 # include "error USHRT_MAX 3"
269 #if (USHRT_MAX > UINT_MAX)
270 # include "error USHRT_MAX vs UINT_MAX"
276 #if (USHRT_MAX == MFX_0xffff)
278 #elif (USHRT_MAX >= MFX_0xffff)
[all …]
/openbmc/linux/include/vdso/
H A Dlimits.h5 #define USHRT_MAX ((unsigned short)~0U) macro
6 #define SHRT_MAX ((short)(USHRT_MAX >> 1))
/openbmc/linux/include/net/
H A Dipv6_frag.h13 __IP6_DEFRAG_CONNTRACK_IN = IP6_DEFRAG_CONNTRACK_IN + USHRT_MAX,
15 __IP6_DEFRAG_CONNTRACK_OUT = IP6_DEFRAG_CONNTRACK_OUT + USHRT_MAX,
17 __IP6_DEFRAG_CONNTRACK_BRIDGE_IN = IP6_DEFRAG_CONNTRACK_BRIDGE_IN + USHRT_MAX,
/openbmc/linux/arch/arm/mach-omap1/
H A Dgpio15xx.c34 .revision = USHRT_MAX,
75 .revision = USHRT_MAX,
H A Dgpio16xx.c41 .revision = USHRT_MAX,
/openbmc/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/
H A Dplatform_support.h28 #define UINT16_MAX USHRT_MAX
/openbmc/linux/arch/arm64/kvm/hyp/include/nvhe/
H A Dgfp.h10 #define HYP_NO_ORDER USHRT_MAX
H A Dmemory.h54 BUG_ON(p->refcount == USHRT_MAX); in hyp_page_ref_inc()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.h10 #define MLX5_MACEC_RX_FS_ID_MAX USHRT_MAX /* Must be power of two */
/openbmc/u-boot/include/linux/
H A Dkernel.h7 #define USHRT_MAX ((u16)(~0U)) macro
8 #define SHRT_MAX ((s16)(USHRT_MAX>>1))
/openbmc/linux/arch/nios2/kernel/
H A Dtime.c299 timer_writew(&nios2_cs.timer, USHRT_MAX, ALTERA_TIMER_PERIODL_REG); in nios2_clocksource_init()
300 timer_writew(&nios2_cs.timer, USHRT_MAX, ALTERA_TIMER_PERIODH_REG); in nios2_clocksource_init()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Di9xx_wm.c885 return USHRT_MAX; in g4x_compute_wm()
926 return min_t(unsigned int, wm, USHRT_MAX); in g4x_compute_wm()
1010 wm = USHRT_MAX; in g4x_raw_plane_wm_compute()
1017 dirty |= g4x_raw_plane_wm_set(crtc_state, level, plane_id, USHRT_MAX); in g4x_raw_plane_wm_compute()
1020 dirty |= g4x_raw_fbc_wm_set(crtc_state, level, USHRT_MAX); in g4x_raw_plane_wm_compute()
1070 wm_state->wm.plane[plane_id] = USHRT_MAX; in g4x_invalidate_wms()
1075 wm_state->sr.cursor = USHRT_MAX; in g4x_invalidate_wms()
1076 wm_state->sr.plane = USHRT_MAX; in g4x_invalidate_wms()
1077 wm_state->sr.fbc = USHRT_MAX; in g4x_invalidate_wms()
1082 wm_state->hpll.cursor = USHRT_MAX; in g4x_invalidate_wms()
[all …]
/openbmc/linux/ipc/
H A Dmsg.c338 if (in->msg_cbytes > USHRT_MAX) in copy_msqid_to_user()
339 out.msg_cbytes = USHRT_MAX; in copy_msqid_to_user()
344 if (in->msg_qnum > USHRT_MAX) in copy_msqid_to_user()
345 out.msg_qnum = USHRT_MAX; in copy_msqid_to_user()
349 if (in->msg_qbytes > USHRT_MAX) in copy_msqid_to_user()
350 out.msg_qbytes = USHRT_MAX; in copy_msqid_to_user()
/openbmc/linux/fs/ocfs2/
H A Dblockcheck.c364 BUG_ON(ecc > USHRT_MAX); in ocfs2_block_check_compute()
470 BUG_ON(ecc > USHRT_MAX); in ocfs2_block_check_compute_bhs()
/openbmc/linux/drivers/md/bcache/
H A Dextents.c599 if (KEY_SIZE(l) + KEY_SIZE(r) > USHRT_MAX) { in bch_extent_merge()
600 SET_KEY_OFFSET(l, KEY_OFFSET(l) + USHRT_MAX - KEY_SIZE(l)); in bch_extent_merge()
601 SET_KEY_SIZE(l, USHRT_MAX); in bch_extent_merge()
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c131 WARN_ONCE(offset > USHRT_MAX, "read high off:%08x", offset); in __mt7601u_rr()
183 WARN_ONCE(offset > USHRT_MAX, "write high off:%08x", offset); in mt7601u_wr()
/openbmc/linux/sound/soc/meson/
H A Daiu-fifo-spdif.c41 .period_bytes_max = AIU_FIFO_SPDIF_BLOCK * USHRT_MAX,
H A Daiu-fifo-i2s.c39 .period_bytes_max = AIU_FIFO_I2S_BLOCK * USHRT_MAX,
/openbmc/linux/drivers/net/caif/
H A Dcaif_virtio.c45 * We use this to put descriptor back on the used ring. USHRT_MAX is
267 if (cfv->ctx.head != USHRT_MAX) { in cfv_rx_poll()
271 cfv->ctx.head = USHRT_MAX; in cfv_rx_poll()
716 cfv->ctx.head = USHRT_MAX; in cfv_probe()
/openbmc/linux/include/linux/
H A Drcupdate.h38 #define USHORT_CMP_GE(a, b) (USHRT_MAX / 2 >= (unsigned short)((a) - (b)))
39 #define USHORT_CMP_LT(a, b) (USHRT_MAX / 2 < (unsigned short)((a) - (b)))
/openbmc/linux/net/openvswitch/
H A Ddatapath.h23 #define DP_MAX_PORTS USHRT_MAX
/openbmc/linux/tools/testing/selftests/net/
H A Dipv6_flowlabel_mgr.c136 if (setuid(USHRT_MAX)) in run_tests()
/openbmc/linux/net/core/
H A Dnetprio_cgroup.c32 #define NETPRIO_ID_MAX USHRT_MAX
/openbmc/linux/net/netfilter/
H A Dnf_nat_helper.c208 range = USHRT_MAX - port; in nf_nat_exp_find_port()
/openbmc/linux/drivers/net/
H A Dbareudp.c338 bareudp->sport_min, USHRT_MAX, in bareudp_xmit_skb()
403 bareudp->sport_min, USHRT_MAX, in bareudp6_xmit_skb()
534 USHRT_MAX, true); in bareudp_fill_metadata_dst()

12345