Searched refs:ptce2_pl (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_ctcam.c | 48 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp_acl_ctcam_region_entry_insert() local 61 mlxsw_reg_ptce2_pack(ptce2_pl, true, MLXSW_REG_PTCE2_OP_WRITE_WRITE, in mlxsw_sp_acl_ctcam_region_entry_insert() 64 key = mlxsw_reg_ptce2_flex_key_blocks_data(ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert() 65 mask = mlxsw_reg_ptce2_mask_data(ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert() 76 mlxsw_reg_ptce2_flex_action_set_memcpy_to(ptce2_pl, act_set); in mlxsw_sp_acl_ctcam_region_entry_insert() 78 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_insert() 86 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp_acl_ctcam_region_entry_remove() local 88 mlxsw_reg_ptce2_pack(ptce2_pl, false, MLXSW_REG_PTCE2_OP_WRITE_WRITE, in mlxsw_sp_acl_ctcam_region_entry_remove() 91 mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp_acl_ctcam_region_entry_remove()
|
D | spectrum1_acl_tcam.c | 201 char ptce2_pl[MLXSW_REG_PTCE2_LEN]; in mlxsw_sp1_acl_tcam_region_entry_activity_get() local 204 mlxsw_reg_ptce2_pack(ptce2_pl, true, MLXSW_REG_PTCE2_OP_QUERY_CLEAR_ON_READ, in mlxsw_sp1_acl_tcam_region_entry_activity_get() 206 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(ptce2), ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get() 209 *activity = mlxsw_reg_ptce2_a_get(ptce2_pl); in mlxsw_sp1_acl_tcam_region_entry_activity_get()
|