Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvpp2.c861 union mvpp2_prs_tcam_entry tcam; member
997 pe->tcam.word[MVPP2_PRS_TCAM_INV_WORD] &= ~MVPP2_PRS_TCAM_INV_MASK; in mvpp2_prs_hw_write()
1002 mvpp2_write(priv, MVPP2_PRS_TCAM_DATA_REG(i), pe->tcam.word[i]); in mvpp2_prs_hw_write()
1023 pe->tcam.word[MVPP2_PRS_TCAM_INV_WORD] = mvpp2_read(priv, in mvpp2_prs_hw_read()
1025 if (pe->tcam.word[MVPP2_PRS_TCAM_INV_WORD] & MVPP2_PRS_TCAM_INV_MASK) in mvpp2_prs_hw_read()
1029 pe->tcam.word[i] = mvpp2_read(priv, MVPP2_PRS_TCAM_DATA_REG(i)); in mvpp2_prs_hw_read()
1068 pe->tcam.byte[MVPP2_PRS_TCAM_LU_BYTE] = lu; in mvpp2_prs_tcam_lu_set()
1069 pe->tcam.byte[enable_off] = MVPP2_PRS_LU_MASK; in mvpp2_prs_tcam_lu_set()
1079 pe->tcam.byte[enable_off] &= ~(1 << port); in mvpp2_prs_tcam_port_set()
1081 pe->tcam.byte[enable_off] |= 1 << port; in mvpp2_prs_tcam_port_set()
[all …]
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c5018 tp = &parent->tcam[index]; in niu_set_ip_frag_rule()
7190 tp = &parent->tcam[idx]; in niu_get_ethtool_tcam_entry()
7273 tp = &parent->tcam[idx]; in niu_get_ethtool_tcam_all()
7526 tp = &parent->tcam[idx]; in niu_add_ethtool_tcam_entry()
7610 tp = &parent->tcam[idx]; in niu_del_ethtool_tcam_entry()
Dniu.h3115 struct niu_tcam_entry tcam[NIU_TCAM_ENTRIES_MAX]; member