Searched refs:field_max (Results 1 – 5 of 5) sorted by relevance
157 BUILD_BUG_ON(TABLE_SIZE > field_max(IP_FLTRT_FLAGS_HASH_SIZE_FMASK)); in ipa_cmd_validate_build()158 BUILD_BUG_ON(TABLE_SIZE > field_max(IP_FLTRT_FLAGS_NHASH_SIZE_FMASK)); in ipa_cmd_validate_build()163 BUILD_BUG_ON(field_max(IP_FLTRT_FLAGS_HASH_SIZE_FMASK) != in ipa_cmd_validate_build()164 field_max(IP_FLTRT_FLAGS_NHASH_SIZE_FMASK)); in ipa_cmd_validate_build()165 BUILD_BUG_ON(field_max(IP_FLTRT_FLAGS_HASH_ADDR_FMASK) != in ipa_cmd_validate_build()166 field_max(IP_FLTRT_FLAGS_NHASH_ADDR_FMASK)); in ipa_cmd_validate_build()169 BUILD_BUG_ON(field_max(IPA_PACKET_INIT_DEST_ENDPOINT_FMASK) < in ipa_cmd_validate_build()176 u32 offset_max = field_max(IP_FLTRT_FLAGS_NHASH_ADDR_FMASK); in ipa_cmd_table_valid()177 u32 size_max = field_max(IP_FLTRT_FLAGS_NHASH_SIZE_FMASK); in ipa_cmd_table_valid()228 offset_max = field_max(HDR_INIT_LOCAL_FLAGS_HDR_ADDR_FMASK); in ipa_cmd_header_valid()[all …]
576 u32 field_max = ipa_reg_field_max(reg, HDR_LEN); in ipa_header_size_encode() local580 val = ipa_reg_encode(reg, HDR_LEN, header_size & field_max); in ipa_header_size_encode()582 WARN_ON(header_size > field_max); in ipa_header_size_encode()587 header_size >>= hweight32(field_max); in ipa_header_size_encode()598 u32 field_max = ipa_reg_field_max(reg, HDR_OFST_METADATA); in ipa_metadata_offset_encode() local604 WARN_ON(offset > field_max); in ipa_metadata_offset_encode()609 offset >>= hweight32(field_max); in ipa_metadata_offset_encode()1379 return val == field_max(IPA_STATUS_FLAGS1_RT_RULE_ID_FMASK); in ipa_endpoint_status_drop()
167 BUILD_BUG_ON(GSI_RING_ELEMENT_SIZE > field_max(ELEMENT_SIZE_FMASK)); in gsi_validate_build()170 BUILD_BUG_ON(GSI_RING_ELEMENT_SIZE > field_max(EV_ELEMENT_SIZE_FMASK)); in gsi_validate_build()789 wrr_weight = field_max(WRR_WEIGHT_FMASK); in gsi_channel_program()
146 #define field_max(field) ((typeof(field))field_mask(field)) macro
140 if (prescaler > field_max(SL28CPLD_PWM_CTRL_PRESCALER_MASK)) in sl28cpld_pwm_apply()