Lines Matching full:ai
168 /* Update ai bits in tcam sw entry */
187 /* Get ai bits from tcam sw entry */
251 /* Update ai bits in sram sw entry */
273 /* Read ai bits from sram sw entry */
277 /* ai is stored on bits 90->97; so it spreads across two u32 */ in mvpp2_prs_sram_ai_get()
380 /* Sram store classification lookup ID in AI bits [5:0] */ in mvpp2_prs_flow_find()
558 /* Set ai bits for next iteration */ in mvpp2_prs_dsa_tag_set()
639 /* Clear all ai bits for next iteration */ in mvpp2_prs_dsa_tag_ethertype_set()
661 static int mvpp2_prs_vlan_find(struct mvpp2 *priv, unsigned short tpid, int ai) in mvpp2_prs_vlan_find() argument
685 /* Get current ai value from tcam */ in mvpp2_prs_vlan_find()
690 if (ai != ai_bits) in mvpp2_prs_vlan_find()
702 static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai, in mvpp2_prs_vlan_add() argument
711 tid = mvpp2_prs_vlan_find(priv, tpid, ai); in mvpp2_prs_vlan_add()
748 /* Clear all ai bits for next iteration */ in mvpp2_prs_vlan_add()
751 if (ai == MVPP2_PRS_SINGLE_VLAN_AI) { in mvpp2_prs_vlan_add()
755 ai |= MVPP2_PRS_DBL_VLAN_AI_BIT; in mvpp2_prs_vlan_add()
759 mvpp2_prs_tcam_ai_update(&pe, ai, MVPP2_PRS_SRAM_AI_MASK); in mvpp2_prs_vlan_add()
773 /* Get first free double vlan ai number */
824 int tid_aux, tid, ai, ret = 0; in mvpp2_prs_double_vlan_add() local
838 /* Set ai value for new double vlan entry */ in mvpp2_prs_double_vlan_add()
839 ai = mvpp2_prs_double_vlan_ai_free_get(priv); in mvpp2_prs_double_vlan_add()
840 if (ai < 0) in mvpp2_prs_double_vlan_add()
841 return ai; in mvpp2_prs_double_vlan_add()
867 priv->prs_double_vlans[ai] = true; in mvpp2_prs_double_vlan_add()
878 mvpp2_prs_sram_ai_update(&pe, ai | MVPP2_PRS_DBL_VLAN_AI_BIT, in mvpp2_prs_double_vlan_add()
1265 /* Clear all sram ai bits for next iteration */ in mvpp2_prs_dsa_init()
1291 /* Clear all ai bits for next iteration */ in mvpp2_prs_vid_init()
1317 /* Clear all ai bits for next iteration */ in mvpp2_prs_vid_init()
1573 /* Clear ai for next iterations */ in mvpp2_prs_vlan_init()
2015 /* Clear all ai bits for next iteration */ in mvpp2_prs_vid_entry_add()
2108 /* Clear all ai bits for next iteration */ in mvpp2_prs_vid_enable_filtering()