Lines Matching refs:ptp_clock_info
121 static int mlx4_en_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx4_en_phc_adjfreq()
128 ptp_clock_info); in mlx4_en_phc_adjfreq()
154 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime()
157 ptp_clock_info); in mlx4_en_phc_adjtime()
175 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, in mlx4_en_phc_gettime()
179 ptp_clock_info); in mlx4_en_phc_gettime()
200 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, in mlx4_en_phc_settime()
204 ptp_clock_info); in mlx4_en_phc_settime()
225 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, in mlx4_en_phc_enable()
232 static const struct ptp_clock_info mlx4_en_ptp_clock_info = {
291 mdev->ptp_clock_info = mlx4_en_ptp_clock_info; in mlx4_en_init_timestamp()
292 snprintf(mdev->ptp_clock_info.name, 16, "mlx4 ptp"); in mlx4_en_init_timestamp()
294 mdev->ptp_clock = ptp_clock_register(&mdev->ptp_clock_info, in mlx4_en_init_timestamp()