Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_ctcam.c48 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp_acl_ctcam_region_entry_insert() local
60 mlxsw_reg_ptce2_pack(ptce2_pl, true, MLXSW_REG_PTCE2_OP_WRITE_WRITE, in mlxsw_sp_acl_ctcam_region_entry_insert()
63 key = mlxsw_reg_ptce2_flex_key_blocks_data(ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert()
64 mask = mlxsw_reg_ptce2_mask_data(ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert()
73 mlxsw_reg_ptce2_flex_action_set_memcpy_to(ptce2_pl, act_set); in mlxsw_sp_acl_ctcam_region_entry_insert()
75 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert()
91 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp_acl_ctcam_region_entry_remove() local
93 mlxsw_reg_ptce2_pack(ptce2_pl, false, MLXSW_REG_PTCE2_OP_WRITE_WRITE, in mlxsw_sp_acl_ctcam_region_entry_remove()
96 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_remove()
107 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp_acl_ctcam_region_entry_action_replace() local
[all …]
H A Dspectrum1_acl_tcam.c210 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp1_acl_tcam_region_entry_activity_get() local
213 mlxsw_reg_ptce2_pack(ptce2_pl, true, MLXSW_REG_PTCE2_OP_QUERY_CLEAR_ON_READ, in mlxsw_sp1_acl_tcam_region_entry_activity_get()
215 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
218 *activity = mlxsw_reg_ptce2_a_get(ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()