Searched refs:mogcr_pl (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.c | 884 char mogcr_pl[MLXSW_REG_MOGCR_LEN] = {0}; in mlxsw_sp1_ptp_set_fifo_clr_on_trap() local 887 err = mlxsw_reg_query(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap() 891 mlxsw_reg_mogcr_ptp_iftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap() 892 mlxsw_reg_mogcr_ptp_eftc_set(mogcr_pl, clr); in mlxsw_sp1_ptp_set_fifo_clr_on_trap() 893 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(mogcr), mogcr_pl); in mlxsw_sp1_ptp_set_fifo_clr_on_trap()
|
D | spectrum_span.c | 1722 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()
|