Searched refs:U16_MAX (Results 1 - 25 of 174) sorted by relevance

1234567

/linux-master/include/linux/
H A Dlimits.h18 #define U16_MAX ((u16)~0U) macro
19 #define S16_MAX ((s16)(U16_MAX >> 1))
H A Dgreybus.h54 #define CPORT_ID_BAD U16_MAX
H A Dbpf_local_storage.h99 /* U16_MAX is much more than enough for sk local storage
106 (U16_MAX - sizeof(struct bpf_local_storage_elem)))
/linux-master/include/net/netfilter/
H A Dnf_tables_ipv6.h16 if (protohdr < 0 || thoff > U16_MAX) {
50 if (protohdr < 0 || thoff > U16_MAX)
96 if (protohdr < 0 || thoff > U16_MAX)
/linux-master/drivers/virt/nitro_enclaves/
H A Dne_misc_dev.h93 NE_STATE_STOPPED = U16_MAX,
/linux-master/drivers/md/dm-vdo/indexer/
H A Dchapter-index.h22 #define NO_CHAPTER_INDEX_ENTRY U16_MAX
/linux-master/arch/arm64/kernel/pi/
H A Dkaslr_early.c56 memstart_offset_seed = seed & U16_MAX;
/linux-master/lib/
H A Doverflow_kunit.c84 {0, 1, 1, U16_MAX, 0, false, true, false},
86 {0, U16_MAX, U16_MAX, 1, 0, false, true, false},
87 {U16_MAX, 0, U16_MAX, U16_MAX, 0, false, false, false},
88 {1, U16_MAX, 0, 2, U16_MAX, true, true, false},
89 {U16_MAX, 1, 0, U16_MAX
[all...]
/linux-master/include/uapi/linux/
H A Dioam6.h15 #define IOAM6_U16_UNAVAILABLE U16_MAX
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_flower.c204 u16 vid = U16_MAX;
205 u16 pcp = U16_MAX;
277 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) {
281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) {
286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) {
/linux-master/drivers/gpu/drm/vmwgfx/device_include/
H A Dvm_basic_types.h50 #define MAX_UINT16 U16_MAX
/linux-master/drivers/counter/
H A Di8254.c135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count->id];
142 *ceiling = U16_MAX - 1;
147 *ceiling = U16_MAX;
275 if (preset > U16_MAX)
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_fdir.c41 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX))
75 if (fltr->ip_mask.src_port && fltr->ip_mask.src_port != htons(U16_MAX))
78 if (fltr->ip_mask.dst_port && fltr->ip_mask.dst_port != htons(U16_MAX))
403 if (fltr->ip_mask.src_port == htons(U16_MAX)) {
408 if (fltr->ip_mask.dst_port == htons(U16_MAX)) {
432 if (fltr->ip_mask.src_port == htons(U16_MAX)) {
437 if (fltr->ip_mask.dst_port == htons(U16_MAX)) {
464 if (fltr->ip_mask.src_port == htons(U16_MAX)) {
469 if (fltr->ip_mask.dst_port == htons(U16_MAX)) {
574 if (fltr->eth_mask.etype == htons(U16_MAX)) {
[all...]
/linux-master/fs/bcachefs/
H A Dbset.h158 #define BSET_NO_AUX_TREE_VAL (U16_MAX)
159 #define BSET_RW_AUX_TREE_VAL (U16_MAX - 1)
234 t->aux_data_offset = U16_MAX;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dccm.h99 DECLARE_BITMAP(tag_allocator, U16_MAX + 1);
/linux-master/drivers/net/wireless/ath/ath9k/
H A Drng.c107 (atomic_inc_return(&serial) - 1) & U16_MAX);
/linux-master/drivers/power/supply/
H A Dmm8013.c201 if (regval == U16_MAX)
212 if (regval == U16_MAX)
/linux-master/drivers/net/ipa/
H A Dipa_cmd.c523 WARN_ON(size > U16_MAX);
524 WARN_ON(offset > U16_MAX || ipa->mem_offset > U16_MAX - offset);
/linux-master/include/linux/greybus/
H A Doperation.h45 #define GB_OPERATION_MESSAGE_SIZE_MAX U16_MAX
/linux-master/drivers/gpu/drm/i915/
H A Di915_fixed.h29 WARN_ON(val > U16_MAX);
/linux-master/drivers/crypto/
H A Dsa2ul.h166 #define SA_MAX_DATA_SZ U16_MAX
/linux-master/drivers/hwmon/
H A Dltc4282.c232 *val = DIV_ROUND_CLOSEST_ULL(be16_to_cpu(in) * (u64)fs, U16_MAX);
512 temp = DIV_ROUND_CLOSEST_ULL(power * temp, U16_MAX);
514 U16_MAX * (u64)st->rsense);
519 st->rsense * int_pow(U16_MAX, 2));
560 * E = CODE(48b) * 40 * Vfs(out) * 256 / (U16_MAX * Rsense)
566 temp = DIV_ROUND_CLOSEST(DECA * st->vfs_out * 40 * BIT(8), U16_MAX);
571 *val = DIV64_U64_ROUND_CLOSEST(temp, U16_MAX * (u64)st->rsense);
642 u64 temp = int_pow(U16_MAX, 2) * st->rsense, temp_2;
666 tmp = DIV_ROUND_CLOSEST(U16_MAX * lowest, fs);
674 tmp = DIV_ROUND_CLOSEST(U16_MAX * highes
[all...]
H A Dsch5627.c243 return U16_MAX - 1;
247 return clamp_val(pulses, 1, U16_MAX - 1);
634 return regcache_drop_region(data->regmap, 0, U16_MAX);
/linux-master/drivers/iio/gyro/
H A Dmpu3050-core.c315 * multiply with 2/U16_MAX.
318 *val2 = U16_MAX;
389 U16_MAX);
392 U16_MAX);
395 U16_MAX);
398 U16_MAX);
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Defuse_be.c460 return U16_MAX;
468 return U16_MAX;
475 return U16_MAX;

Completed in 225 milliseconds

1234567