Home
last modified time | relevance | path

Searched refs:field_max (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/net/ipa/
Dipa_cmd.c157 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 …]
Dipa_endpoint.c78 return field_max(aggr_byte_limit_fmask(true)); in aggr_byte_limit_max()
80 return field_max(aggr_byte_limit_fmask(false)); in aggr_byte_limit_max()
730 WARN(val > field_max(fmask), in aggr_time_limit_encoded()
732 val, field_max(fmask) * IPA_AGGR_GRANULARITY); in aggr_time_limit_encoded()
745 if (val > field_max(fmask)) { in aggr_time_limit_encoded()
749 WARN(val > field_max(fmask), in aggr_time_limit_encoded()
751 limit, field_max(fmask) * 1000); in aggr_time_limit_encoded()
831 if (val > field_max(TIME_LIMIT_FMASK)) { in hol_block_timer_qtime_val()
1305 return val == field_max(IPA_STATUS_FLAGS1_RT_RULE_ID_FMASK); in ipa_endpoint_status_drop()
Dgsi.c167 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()
798 wrr_weight = field_max(WRR_WEIGHT_FMASK); in gsi_channel_program()
Dipa_main.c616 field_max(AGGR_GRANULARITY_FMASK)); in ipa_validate_build()
/linux-5.19.10/include/linux/
Dbitfield.h146 #define field_max(field) ((typeof(field))field_mask(field)) macro
/linux-5.19.10/drivers/pwm/
Dpwm-sl28cpld.c140 if (prescaler > field_max(SL28CPLD_PWM_CTRL_PRESCALER_MASK)) in sl28cpld_pwm_apply()