• Home
  • Raw
  • Download

Lines Matching refs:slice_num

159 				unsigned int slice_num)  in bcm_sf2_cfp_udf_set()  argument
161 u32 offset = layout->udfs[slice_num].base_offset; in bcm_sf2_cfp_udf_set()
165 core_writel(priv, layout->udfs[slice_num].slices[i], in bcm_sf2_cfp_udf_set()
267 unsigned int slice_num, u8 num_udf, in bcm_sf2_cfp_slice_ipv4() argument
338 SLICE_NUM(slice_num) | SLICE_VALID; in bcm_sf2_cfp_slice_ipv4()
354 unsigned int slice_num, rule_index; in bcm_sf2_cfp_ipv4_rule_set() local
404 slice_num = bcm_sf2_get_slice_number(layout, 0); in bcm_sf2_cfp_ipv4_rule_set()
405 if (slice_num == UDF_NUM_SLICES) { in bcm_sf2_cfp_ipv4_rule_set()
410 num_udf = bcm_sf2_get_num_udf_slices(layout->udfs[slice_num].slices); in bcm_sf2_cfp_ipv4_rule_set()
413 bcm_sf2_cfp_udf_set(priv, layout, slice_num); in bcm_sf2_cfp_ipv4_rule_set()
441 core_writel(priv, layout->udfs[slice_num].mask_value | in bcm_sf2_cfp_ipv4_rule_set()
446 slice_num, num_udf, false); in bcm_sf2_cfp_ipv4_rule_set()
485 unsigned int slice_num, u32 udf_bits, in bcm_sf2_cfp_slice_ipv6() argument
559 SLICE_NUM(slice_num) | SLICE_VALID; in bcm_sf2_cfp_slice_ipv6()
634 unsigned int slice_num, rule_index[2]; in bcm_sf2_cfp_ipv6_rule_set() local
664 slice_num = bcm_sf2_get_slice_number(layout, 0); in bcm_sf2_cfp_ipv6_rule_set()
665 if (slice_num == UDF_NUM_SLICES) in bcm_sf2_cfp_ipv6_rule_set()
668 num_udf = bcm_sf2_get_num_udf_slices(layout->udfs[slice_num].slices); in bcm_sf2_cfp_ipv6_rule_set()
712 bcm_sf2_cfp_udf_set(priv, layout, slice_num); in bcm_sf2_cfp_ipv6_rule_set()
741 reg = layout->udfs[slice_num].mask_value | udf_upper_bits(num_udf); in bcm_sf2_cfp_ipv6_rule_set()
746 ports.key->src, vlan_tci, slice_num, in bcm_sf2_cfp_ipv6_rule_set()
768 slice_num = bcm_sf2_get_slice_number(layout, slice_num + 1); in bcm_sf2_cfp_ipv6_rule_set()
769 if (slice_num == UDF_NUM_SLICES) { in bcm_sf2_cfp_ipv6_rule_set()
774 num_udf = bcm_sf2_get_num_udf_slices(layout->udfs[slice_num].slices); in bcm_sf2_cfp_ipv6_rule_set()
777 bcm_sf2_cfp_udf_set(priv, layout, slice_num); in bcm_sf2_cfp_ipv6_rule_set()
802 ports.key->dst, 0, slice_num, in bcm_sf2_cfp_ipv6_rule_set()