Lines Matching refs:tcam
72 struct mlxsw_sp2_acl_tcam *tcam = priv; in mlxsw_sp2_acl_tcam_init() local
80 tcam->kvdl_count = _tcam->max_regions; in mlxsw_sp2_acl_tcam_init()
82 tcam->kvdl_count, &tcam->kvdl_index); in mlxsw_sp2_acl_tcam_init()
100 for (i = 0; i < tcam->kvdl_count; i++) { in mlxsw_sp2_acl_tcam_init()
101 mlxsw_reg_pefa_pack(pefa_pl, tcam->kvdl_index + i, in mlxsw_sp2_acl_tcam_init()
107 mlxsw_reg_pgcr_pack(pgcr_pl, tcam->kvdl_index); in mlxsw_sp2_acl_tcam_init()
112 err = mlxsw_sp_acl_atcam_init(mlxsw_sp, &tcam->atcam); in mlxsw_sp2_acl_tcam_init()
126 tcam->kvdl_count, tcam->kvdl_index); in mlxsw_sp2_acl_tcam_init()
132 struct mlxsw_sp2_acl_tcam *tcam = priv; in mlxsw_sp2_acl_tcam_fini() local
134 mlxsw_sp_acl_atcam_fini(mlxsw_sp, &tcam->atcam); in mlxsw_sp2_acl_tcam_fini()
136 tcam->kvdl_count, tcam->kvdl_index); in mlxsw_sp2_acl_tcam_fini()
145 struct mlxsw_sp2_acl_tcam *tcam = tcam_priv; in mlxsw_sp2_acl_tcam_region_init() local
149 return mlxsw_sp_acl_atcam_region_init(mlxsw_sp, &tcam->atcam, in mlxsw_sp2_acl_tcam_region_init()