Searched refs:reg_field_max (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 307 limit = reg_field_max(reg, BYTE_LIMIT); in ipa_endpoint_data_valid_one() 721 u32 field_max = reg_field_max(reg, HDR_LEN); in ipa_header_size_encode() 733 WARN_ON(header_size > reg_field_max(reg, HDR_LEN_MSB)); in ipa_header_size_encode() 743 u32 field_max = reg_field_max(reg, HDR_OFST_METADATA); in ipa_metadata_offset_encode() 755 WARN_ON(offset > reg_field_max(reg, HDR_OFST_METADATA_MSB)); in ipa_metadata_offset_encode() 809 off &= reg_field_max(reg, HDR_OFST_PKT_SIZE); in ipa_endpoint_init_hdr() 864 u32 mask = reg_field_max(reg, HDR_OFST_PKT_SIZE); in ipa_endpoint_init_hdr_ext() 975 max = reg_field_max(reg, TIME_LIMIT); in aggr_time_limit_encode() 1060 u32 max = reg_field_max(reg, TIMER_LIMIT); in hol_block_timer_encode() 1075 WARN_ON(ticks > reg_field_max(reg, TIMER_BASE_VALUE)); in hol_block_timer_encode()
|
H A D | reg.h | 92 static inline u32 reg_field_max(const struct reg *reg, u32 field_id) in reg_field_max() function
|
H A D | gsi.c | 870 wrr_weight = reg_field_max(reg, WRR_WEIGHT); in gsi_channel_program()
|