Home
last modified time | relevance | path

Searched refs:tcam (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvpp2.c878 union mvpp2_prs_tcam_entry tcam; member
1016 pe->tcam.word[MVPP2_PRS_TCAM_INV_WORD] &= ~MVPP2_PRS_TCAM_INV_MASK; in mvpp2_prs_hw_write()
1021 mvpp2_write(priv, MVPP2_PRS_TCAM_DATA_REG(i), pe->tcam.word[i]); in mvpp2_prs_hw_write()
1042 pe->tcam.word[MVPP2_PRS_TCAM_INV_WORD] = mvpp2_read(priv, in mvpp2_prs_hw_read()
1044 if (pe->tcam.word[MVPP2_PRS_TCAM_INV_WORD] & MVPP2_PRS_TCAM_INV_MASK) in mvpp2_prs_hw_read()
1048 pe->tcam.word[i] = mvpp2_read(priv, MVPP2_PRS_TCAM_DATA_REG(i)); in mvpp2_prs_hw_read()
1087 pe->tcam.byte[MVPP2_PRS_TCAM_LU_BYTE] = lu; in mvpp2_prs_tcam_lu_set()
1088 pe->tcam.byte[enable_off] = MVPP2_PRS_LU_MASK; in mvpp2_prs_tcam_lu_set()
1098 pe->tcam.byte[enable_off] &= ~(1 << port); in mvpp2_prs_tcam_port_set()
1100 pe->tcam.byte[enable_off] |= 1 << port; in mvpp2_prs_tcam_port_set()
[all …]
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c5018 tp = &parent->tcam[index]; in niu_set_ip_frag_rule()
7188 tp = &parent->tcam[idx]; in niu_get_ethtool_tcam_entry()
7271 tp = &parent->tcam[idx]; in niu_get_ethtool_tcam_all()
7524 tp = &parent->tcam[idx]; in niu_add_ethtool_tcam_entry()
7608 tp = &parent->tcam[idx]; in niu_del_ethtool_tcam_entry()
Dniu.h3115 struct niu_tcam_entry tcam[NIU_TCAM_ENTRIES_MAX]; member