Searched refs:num_udf (Results 1 – 1 of 1) sorted by relevance
131 static inline u32 udf_upper_bits(int num_udf) in udf_upper_bits() argument133 return GENMASK(num_udf - 1, 0) >> (UDFS_PER_SLICE - 1); in udf_upper_bits()136 static inline u32 udf_lower_bits(int num_udf) in udf_lower_bits() argument138 return (u8)GENMASK(num_udf - 1, 0); in udf_lower_bits()267 unsigned int slice_num, u8 num_udf, in bcm_sf2_cfp_slice_ipv4() argument276 reg = udf_lower_bits(num_udf) << 24 | be16_to_cpu(vlan_tci) >> 8; in bcm_sf2_cfp_slice_ipv4()360 u8 num_udf; in bcm_sf2_cfp_ipv4_rule_set() local410 num_udf = bcm_sf2_get_num_udf_slices(layout->udfs[slice_num].slices); in bcm_sf2_cfp_ipv4_rule_set()437 udf_upper_bits(num_udf), in bcm_sf2_cfp_ipv4_rule_set()442 udf_upper_bits(num_udf), CORE_CFP_MASK_PORT(6)); in bcm_sf2_cfp_ipv4_rule_set()[all …]