Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_flex_actions.c12 char pefa_pl[MLXSW_REG_PEFA_LEN]; in mlxsw_sp_act_kvdl_set_add() local
26 mlxsw_reg_pefa_pack(pefa_pl, kvdl_index, ca, enc_actions); in mlxsw_sp_act_kvdl_set_add()
27 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp_act_kvdl_set_add()
74 char pefa_pl[MLXSW_REG_PEFA_LEN]; in mlxsw_sp2_act_kvdl_set_activity_get() local
77 mlxsw_reg_pefa_pack(pefa_pl, kvdl_index, true, NULL); in mlxsw_sp2_act_kvdl_set_activity_get()
78 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp2_act_kvdl_set_activity_get()
81 mlxsw_reg_pefa_unpack(pefa_pl, activity); in mlxsw_sp2_act_kvdl_set_activity_get()
H A Dspectrum2_acl_tcam.c74 char pefa_pl[MLXSW_REG_PEFA_LEN]; in mlxsw_sp2_acl_tcam_init() local
111 mlxsw_reg_pefa_pack(pefa_pl, tcam->kvdl_index + i, in mlxsw_sp2_acl_tcam_init()
113 err = mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pefa), pefa_pl); in mlxsw_sp2_acl_tcam_init()