Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c705 char mogcr_pl[MLXSW_REG_MOGCR_LEN] = {0}; in mlxsw_sp1_ptp_set_fifo_clr_on_trap() local
708 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
712 mlxsw_reg_mogcr_ptp_iftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
713 mlxsw_reg_mogcr_ptp_eftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
714 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
Dspectrum_span.c1693 char mogcr_pl[MLXSW_REG_MOGCR_LEN]; in mlxsw_sp2_span_policer_id_base_set() local
1696 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()
1700 mlxsw_reg_mogcr_mirroring_pid_base_set(mogcr_pl, policer_id_base); in mlxsw_sp2_span_policer_id_base_set()
1701 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()