Home
last modified time | relevance | path

Searched refs:mtutc (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c150 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mtutc), mtutc_pl); in mlxsw_sp_ptp_phc_adjfreq()
187 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mtutc), mtutc_pl); in mlxsw_sp1_ptp_phc_settime()
370 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mtutc), mtutc_pl); in mlxsw_sp2_ptp_phc_settime()
406 return mlxsw_reg_write(mlxsw_core, MLXSW_REG(mtutc), mtutc_pl); in mlxsw_sp2_ptp_adjtime()
H A Dreg.h10369 MLXSW_REG_DEFINE(mtutc, MLXSW_REG_MTUTC_ID, MLXSW_REG_MTUTC_LEN);
10382 MLXSW_ITEM32(reg, mtutc, operation, 0x00, 0, 4);
10392 MLXSW_ITEM32(reg, mtutc, freq_adjustment, 0x04, 0, 32);
10400 MLXSW_ITEM32(reg, mtutc, utc_sec, 0x10, 0, 32);
10409 MLXSW_ITEM32(reg, mtutc, utc_nsec, 0x14, 0, 30);
10419 MLXSW_ITEM32(reg, mtutc, time_adjustment, 0x18, 0, 32);
10425 MLXSW_REG_ZERO(mtutc, payload); in mlxsw_reg_mtutc_pack()
13119 MLXSW_REG(mtutc),
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c221 static int mlx5_set_mtutc(struct mlx5_core_dev *dev, u32 *mtutc, u32 size) in mlx5_set_mtutc() argument
225 if (!MLX5_CAP_MCAM_REG(dev, mtutc)) in mlx5_set_mtutc()
228 return mlx5_core_access_reg(dev, mtutc, size, out, sizeof(out), in mlx5_set_mtutc()
1312 if (MLX5_CAP_MCAM_REG(mdev, mtutc)) in mlx5_init_timer_clock()
/linux/include/linux/mlx5/
H A Dmlx5_ifc.h10923 u8 mtutc[0x1]; member