Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c896 char mogcr_pl[MLXSW_REG_MOGCR_LEN] = {0}; in mlxsw_sp1_ptp_set_fifo_clr_on_trap() local
899 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
903 mlxsw_reg_mogcr_ptp_iftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
904 mlxsw_reg_mogcr_ptp_eftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
905 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()