Lines Matching refs:ai
1667 unsigned short tpid, int ai) in mvpp2_prs_vlan_find() argument
1703 if (ai != ai_bits) in mvpp2_prs_vlan_find()
1716 static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai, in mvpp2_prs_vlan_add() argument
1723 pe = mvpp2_prs_vlan_find(priv, tpid, ai); in mvpp2_prs_vlan_add()
1771 if (ai == MVPP2_PRS_SINGLE_VLAN_AI) { in mvpp2_prs_vlan_add()
1775 ai |= MVPP2_PRS_DBL_VLAN_AI_BIT; in mvpp2_prs_vlan_add()
1779 mvpp2_prs_tcam_ai_update(pe, ai, MVPP2_PRS_SRAM_AI_MASK); in mvpp2_prs_vlan_add()
1854 int tid_aux, tid, ai, ret = 0; in mvpp2_prs_double_vlan_add() local
1870 ai = mvpp2_prs_double_vlan_ai_free_get(priv); in mvpp2_prs_double_vlan_add()
1871 if (ai < 0) { in mvpp2_prs_double_vlan_add()
1872 ret = ai; in mvpp2_prs_double_vlan_add()
1903 priv->prs_double_vlans[ai] = true; in mvpp2_prs_double_vlan_add()
1914 mvpp2_prs_sram_ai_update(pe, ai | MVPP2_PRS_DBL_VLAN_AI_BIT, in mvpp2_prs_double_vlan_add()