Lines Matching defs: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 */
558 /* Set ai bits for next iteration */
639 /* Clear all ai bits for next iteration */
661 static int mvpp2_prs_vlan_find(struct mvpp2 *priv, unsigned short tpid, int ai)
685 /* Get current ai value from tcam */
690 if (ai != ai_bits)
702 static int mvpp2_prs_vlan_add(struct mvpp2 *priv, unsigned short tpid, int ai,
711 tid = mvpp2_prs_vlan_find(priv, tpid, ai);
748 /* Clear all ai bits for next iteration */
751 if (ai == MVPP2_PRS_SINGLE_VLAN_AI) {
755 ai |= MVPP2_PRS_DBL_VLAN_AI_BIT;
759 mvpp2_prs_tcam_ai_update(&pe, ai, MVPP2_PRS_SRAM_AI_MASK);
773 /* Get first free double vlan ai number */
824 int tid_aux, tid, ai, ret = 0;
838 /* Set ai value for new double vlan entry */
839 ai = mvpp2_prs_double_vlan_ai_free_get(priv);
840 if (ai < 0)
841 return ai;
867 priv->prs_double_vlans[ai] = true;
878 mvpp2_prs_sram_ai_update(&pe, ai | MVPP2_PRS_DBL_VLAN_AI_BIT,
1265 /* Clear all sram ai bits for next iteration */
1291 /* Clear all ai bits for next iteration */
1317 /* Clear all ai bits for next iteration */
1573 /* Clear ai for next iterations */
2015 /* Clear all ai bits for next iteration */
2108 /* Clear all ai bits for next iteration */