Home
last modified time | relevance | path

Searched refs:ptar_pl (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_ctcam.c18 char ptar_pl[MLXSW_REG_PTAR_LEN]; in mlxsw_sp_acl_ctcam_region_resize() local
20 mlxsw_reg_ptar_pack(ptar_pl, MLXSW_REG_PTAR_OP_RESIZE, in mlxsw_sp_acl_ctcam_region_resize()
23 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl); in mlxsw_sp_acl_ctcam_region_resize()
Dspectrum_acl_tcam.c633 char ptar_pl[MLXSW_REG_PTAR_LEN]; in mlxsw_sp_acl_tcam_region_alloc() local
638 mlxsw_reg_ptar_pack(ptar_pl, MLXSW_REG_PTAR_OP_ALLOC, in mlxsw_sp_acl_tcam_region_alloc()
647 mlxsw_reg_ptar_key_id_pack(ptar_pl, i, encoding); in mlxsw_sp_acl_tcam_region_alloc()
649 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl); in mlxsw_sp_acl_tcam_region_alloc()
652 mlxsw_reg_ptar_unpack(ptar_pl, region->tcam_region_info); in mlxsw_sp_acl_tcam_region_alloc()
660 char ptar_pl[MLXSW_REG_PTAR_LEN]; in mlxsw_sp_acl_tcam_region_free() local
662 mlxsw_reg_ptar_pack(ptar_pl, MLXSW_REG_PTAR_OP_FREE, in mlxsw_sp_acl_tcam_region_free()
665 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptar), ptar_pl); in mlxsw_sp_acl_tcam_region_free()