Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c704 char mogcr_pl[MLXSW_REG_MOGCR_LEN] = {0}; in mlxsw_sp1_ptp_set_fifo_clr_on_trap() local
707 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
711 mlxsw_reg_mogcr_ptp_iftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
712 mlxsw_reg_mogcr_ptp_eftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
713 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
Dspectrum_span.c1722 char mogcr_pl[MLXSW_REG_MOGCR_LEN]; in mlxsw_sp2_span_policer_id_base_set() local
1725 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()
1729 mlxsw_reg_mogcr_mirroring_pid_base_set(mogcr_pl, policer_id_base); in mlxsw_sp2_span_policer_id_base_set()
1730 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()