Home
last modified time | relevance | path

Searched refs:U16_MAX (Results 1 – 25 of 145) sorted by relevance

123456

/Linux-v6.6/lib/
Doverflow_kunit.c83 {0, 1, 1, U16_MAX, 0, false, true, false},
85 {0, U16_MAX, U16_MAX, 1, 0, false, true, false},
86 {U16_MAX, 0, U16_MAX, U16_MAX, 0, false, false, false},
87 {1, U16_MAX, 0, 2, U16_MAX, true, true, false},
88 {U16_MAX, 1, 0, U16_MAX-1, U16_MAX, true, false, false},
89 {U16_MAX, U16_MAX, U16_MAX-1, 0, 1, true, false, true},
91 {U16_MAX, U16_MAX-1, U16_MAX-2, 1, 2, true, false, true},
92 {U16_MAX-1, U16_MAX, U16_MAX-2, U16_MAX, 2, true, true, true},
788 TEST_OVERFLOWS_TYPE(u16, u8, U16_MAX, true); in overflows_type_test()
791 TEST_OVERFLOWS_TYPE(u16, s8, U16_MAX, true); in overflows_type_test()
[all …]
/Linux-v6.6/include/net/netfilter/
Dnf_tables_ipv6.h16 if (protohdr < 0 || thoff > U16_MAX) { in nft_set_pktinfo_ipv6()
50 if (protohdr < 0 || thoff > U16_MAX) in __nft_set_pktinfo_ipv6_validate()
96 if (protohdr < 0 || thoff > U16_MAX) in nft_set_pktinfo_ipv6_ingress()
/Linux-v6.6/include/linux/
Dlimits.h18 #define U16_MAX ((u16)~0U) macro
19 #define S16_MAX ((s16)(U16_MAX >> 1))
Dgreybus.h54 #define CPORT_ID_BAD U16_MAX
Dbpf_local_storage.h106 (U16_MAX - sizeof(struct bpf_local_storage_elem)))
/Linux-v6.6/drivers/net/dsa/sja1105/
Dsja1105_flower.c204 u16 vid = U16_MAX; in sja1105_flower_parse_key()
205 u16 pcp = U16_MAX; in sja1105_flower_parse_key()
277 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) { in sja1105_flower_parse_key()
281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c40 if (fltr->eth_mask.etype && fltr->eth_mask.etype != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks()
74 if (fltr->ip_mask.src_port && fltr->ip_mask.src_port != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks()
77 if (fltr->ip_mask.dst_port && fltr->ip_mask.dst_port != htons(U16_MAX)) in iavf_validate_fdir_fltr_masks()
402 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()
407 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_tcp_hdr()
431 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr()
436 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_udp_hdr()
463 if (fltr->ip_mask.src_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr()
468 if (fltr->ip_mask.dst_port == htons(U16_MAX)) { in iavf_fill_fdir_sctp_hdr()
573 if (fltr->eth_mask.etype == htons(U16_MAX)) { in iavf_fill_fdir_eth_hdr()
/Linux-v6.6/drivers/counter/
Di8254.c135 *ceiling = (priv->preset[count->id] == 0) ? U16_MAX : priv->preset[count->id]; in i8254_count_ceiling_read()
142 *ceiling = U16_MAX - 1; in i8254_count_ceiling_read()
147 *ceiling = U16_MAX; in i8254_count_ceiling_read()
275 if (preset > U16_MAX) in i8254_count_preset_write()
/Linux-v6.6/drivers/virt/nitro_enclaves/
Dne_misc_dev.h93 NE_STATE_STOPPED = U16_MAX,
/Linux-v6.6/drivers/iio/gyro/
Dmpu3050-core.c318 *val2 = U16_MAX; in mpu3050_read_raw()
389 U16_MAX); in mpu3050_write_raw()
392 U16_MAX); in mpu3050_write_raw()
395 U16_MAX); in mpu3050_write_raw()
398 U16_MAX); in mpu3050_write_raw()
/Linux-v6.6/include/uapi/linux/
Dioam6.h15 #define IOAM6_U16_UNAVAILABLE U16_MAX
/Linux-v6.6/drivers/gpu/drm/vmwgfx/device_include/
Dvm_basic_types.h50 #define MAX_UINT16 U16_MAX
/Linux-v6.6/drivers/net/ipa/
Dipa_cmd.c523 WARN_ON(size > U16_MAX); in ipa_cmd_dma_shared_mem_add()
524 WARN_ON(offset > U16_MAX || ipa->mem_offset > U16_MAX - offset); in ipa_cmd_dma_shared_mem_add()
/Linux-v6.6/drivers/input/misc/
Diqs7222.c513 .sldr_res = U16_MAX,
570 .sldr_res = U16_MAX,
2189 if (val > U16_MAX) { in iqs7222_parse_chan()
2381 reg_offset = dev_desc->sldr_res < U16_MAX ? 0 : 1; in iqs7222_parse_sldr()
2439 if (val > (reg_offset ? U16_MAX : U8_MAX * 4)) { in iqs7222_parse_sldr()
2682 if (prop->max_x >= U16_MAX || prop->max_y >= U16_MAX) { in iqs7222_parse_tpad()
2747 sys_setup[dev_desc->allow_offset] = U16_MAX; in iqs7222_parse_all()
2871 if (dev_desc->sldr_res == U16_MAX) in iqs7222_report()
2903 tpad_pos_x < U16_MAX); in iqs7222_report()
2905 if (tpad_pos_x < U16_MAX) in iqs7222_report()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/
Dccm.h99 DECLARE_BITMAP(tag_allocator, U16_MAX + 1);
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Drng.c107 (atomic_inc_return(&serial) - 1) & U16_MAX); in ath9k_rng_start()
/Linux-v6.6/drivers/iio/light/
Das73211.c615 scan.chan[1] = cpu_to_le16(U16_MAX); in as73211_trigger_handler()
616 scan.chan[2] = cpu_to_le16(U16_MAX); in as73211_trigger_handler()
617 scan.chan[3] = cpu_to_le16(U16_MAX); in as73211_trigger_handler()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Dtunnel_conf.c405 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_cleanup_nn_entries()
406 ext->vlan_tci = cpu_to_be16(U16_MAX); in nfp_tun_cleanup_nn_entries()
440 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_unlink_and_update_nn_entries()
441 ext->vlan_tci = cpu_to_be16(U16_MAX); in nfp_tun_unlink_and_update_nn_entries()
518 ext->vlan_tpid = cpu_to_be16(U16_MAX); in nfp_tun_write_neigh()
519 ext->vlan_tci = cpu_to_be16(U16_MAX); in nfp_tun_write_neigh()
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_fixed.h29 WARN_ON(val > U16_MAX); in u32_to_fixed16()
/Linux-v6.6/drivers/net/can/dev/
Ddev.c484 if (term > U16_MAX) { in can_get_termination()
486 term, U16_MAX); in can_get_termination()
/Linux-v6.6/include/linux/greybus/
Doperation.h45 #define GB_OPERATION_MESSAGE_SIZE_MAX U16_MAX
/Linux-v6.6/drivers/hid/
Dhid-microsoft.c319 ms->strong = ((u32) effect->u.rumble.strong_magnitude * 100) / U16_MAX; in ms_play_effect()
320 ms->weak = ((u32) effect->u.rumble.weak_magnitude * 100) / U16_MAX; in ms_play_effect()
/Linux-v6.6/arch/arm64/kernel/
Dmodule.c198 if (sval < 0 || sval > U16_MAX) in reloc_data()
276 if (imm > U16_MAX) in reloc_insn_movw()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/abm/
Dctrl.c396 abm->num_bands > U16_MAX || abm->num_prios > U16_MAX || in nfp_abm_ctrl_find_addrs()
/Linux-v6.6/drivers/crypto/
Dsa2ul.h166 #define SA_MAX_DATA_SZ U16_MAX

123456