Searched refs:MVPP2_PRS_TCAM_SRAM_SIZE (Results 1 – 4 of 4) sorted by relevance
19 #define MVPP2_PRS_TCAM_SRAM_SIZE 256 macro111 #define MVPP2_PE_MH_SKIP_PRS (MVPP2_PRS_TCAM_SRAM_SIZE - 31)113 #define MVPP2_PE_IP6_ADDR_UN (MVPP2_PRS_TCAM_SRAM_SIZE - 29)114 #define MVPP2_PE_IP4_ADDR_UN (MVPP2_PRS_TCAM_SRAM_SIZE - 28)117 #define MVPP2_PE_EDSA_TAGGED (MVPP2_PRS_TCAM_SRAM_SIZE - 21)119 #define MVPP2_PE_DSA_TAGGED (MVPP2_PRS_TCAM_SRAM_SIZE - 19)125 #define MVPP2_PE_MH_DEFAULT (MVPP2_PRS_TCAM_SRAM_SIZE - 13)129 #define MVPP2_PE_ETH_TYPE_UN (MVPP2_PRS_TCAM_SRAM_SIZE - 9)132 #define MVPP2_PE_VLAN_DBL (MVPP2_PRS_TCAM_SRAM_SIZE - 6)133 #define MVPP2_PE_VLAN_NONE (MVPP2_PRS_TCAM_SRAM_SIZE - 5)[all …]
43 struct mvpp2_dbgfs_prs_entry prs_entries[MVPP2_PRS_TCAM_SRAM_SIZE];286 for (i = 0; i < MVPP2_PRS_TCAM_SRAM_SIZE; i++) { in mvpp2_dbgfs_port_parser_show()530 if (tid >= MVPP2_PRS_TCAM_SRAM_SIZE) in mvpp2_dbgfs_prs_entry_init()574 for (i = 0; i < MVPP2_PRS_TCAM_SRAM_SIZE; i++) { in mvpp2_dbgfs_prs_init()
26 if (pe->index > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in mvpp2_prs_hw_write()51 if (tid > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in mvpp2_prs_init_from_hw()370 for (tid = MVPP2_PRS_TCAM_SRAM_SIZE - 1; tid >= 0; tid--) { in mvpp2_prs_flow_find()2125 for (index = 0; index < MVPP2_PRS_TCAM_SRAM_SIZE; index++) { in mvpp2_prs_default_init()2136 for (index = 0; index < MVPP2_PRS_TCAM_SRAM_SIZE; index++) in mvpp2_prs_default_init()2139 priv->prs_shadow = devm_kcalloc(&pdev->dev, MVPP2_PRS_TCAM_SRAM_SIZE, in mvpp2_prs_default_init()2509 if (index > MVPP2_PRS_TCAM_SRAM_SIZE) in mvpp2_prs_hits()
671 #define MVPP2_PRS_TCAM_SRAM_SIZE 256 macro716 #define MVPP2_PE_MAC_MC_IP6 (MVPP2_PRS_TCAM_SRAM_SIZE - 29)723 #define MVPP2_PE_DSA_TAGGED (MVPP2_PRS_TCAM_SRAM_SIZE - 16)729 #define MVPP2_PE_MH_DEFAULT (MVPP2_PRS_TCAM_SRAM_SIZE - 10)734 #define MVPP2_PE_VLAN_DBL (MVPP2_PRS_TCAM_SRAM_SIZE - 5)735 #define MVPP2_PE_VLAN_NONE (MVPP2_PRS_TCAM_SRAM_SIZE - 4)736 #define MVPP2_PE_MAC_MC_ALL (MVPP2_PRS_TCAM_SRAM_SIZE - 3)1409 if (pe->index > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in mvpp2_prs_hw_write()1433 if (pe->index > MVPP2_PRS_TCAM_SRAM_SIZE - 1) in mvpp2_prs_hw_read()1746 if (end >= MVPP2_PRS_TCAM_SRAM_SIZE) in mvpp2_prs_tcam_first_free()[all …]