Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.c885 char mogcr_pl[MLXSW_REG_MOGCR_LEN] = {0}; in mlxsw_sp1_ptp_set_fifo_clr_on_trap() local
888 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
892 mlxsw_reg_mogcr_ptp_iftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
893 mlxsw_reg_mogcr_ptp_eftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
894 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
Dspectrum_span.c1724 char mogcr_pl[MLXSW_REG_MOGCR_LEN]; in mlxsw_sp2_span_policer_id_base_set() local
1727 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()
1731 mlxsw_reg_mogcr_mirroring_pid_base_set(mogcr_pl, policer_id_base); in mlxsw_sp2_span_policer_id_base_set()
1732 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp2_span_policer_id_base_set()