Lines Matching refs:ri
94 unsigned int ri, unsigned int ri_mask) in mvpp2_prs_shadow_ri_set() argument
97 priv->prs_shadow[index].ri = ri; in mvpp2_prs_shadow_ri_set()
448 unsigned int ri; in mvpp2_prs_mac_promisc_set() local
454 ri = MVPP2_PRS_RI_L2_UCAST; in mvpp2_prs_mac_promisc_set()
458 ri = MVPP2_PRS_RI_L2_MCAST; in mvpp2_prs_mac_promisc_set()
473 mvpp2_prs_sram_ri_update(&pe, ri, MVPP2_PRS_RI_L2_CAST_MASK); in mvpp2_prs_mac_promisc_set()
866 unsigned int ri, unsigned int ri_mask) in mvpp2_prs_ip4_proto() argument
894 mvpp2_prs_sram_ri_update(&pe, ri, ri_mask | MVPP2_PRS_RI_IP_FRAG_MASK); in mvpp2_prs_ip4_proto()
920 mvpp2_prs_sram_ri_update(&pe, ri, ri_mask); in mvpp2_prs_ip4_proto()
922 mvpp2_prs_sram_ri_update(&pe, ri | MVPP2_PRS_RI_IP_FRAG_TRUE, in mvpp2_prs_ip4_proto()
988 unsigned int ri, unsigned int ri_mask) in mvpp2_prs_ip6_proto() argument
1009 mvpp2_prs_sram_ri_update(&pe, ri, ri_mask); in mvpp2_prs_ip6_proto()
2215 unsigned int pmap, len, ri; in mvpp2_prs_mac_da_accept() local
2272 ri = MVPP2_PRS_RI_L2_BCAST; in mvpp2_prs_mac_da_accept()
2274 ri = MVPP2_PRS_RI_L2_MCAST; in mvpp2_prs_mac_da_accept()
2276 ri = MVPP2_PRS_RI_L2_UCAST; in mvpp2_prs_mac_da_accept()
2279 ri |= MVPP2_PRS_RI_MAC_ME_MASK; in mvpp2_prs_mac_da_accept()
2282 mvpp2_prs_sram_ri_update(&pe, ri, MVPP2_PRS_RI_L2_CAST_MASK | in mvpp2_prs_mac_da_accept()
2284 mvpp2_prs_shadow_ri_set(priv, pe.index, ri, MVPP2_PRS_RI_L2_CAST_MASK | in mvpp2_prs_mac_da_accept()
2411 int mvpp2_prs_add_flow(struct mvpp2 *priv, int flow, u32 ri, u32 ri_mask) in mvpp2_prs_add_flow() argument
2427 ri_byte = (u8 *)&ri; in mvpp2_prs_add_flow()