Lines Matching refs:clock
68 nsec = timecounter_cyc2time(&mdev->clock, timestamp);
112 timecounter_read(&mdev->clock);
119 * mlx4_en_phc_adjfine - adjust the frequency of the hardware clock
120 * @ptp: ptp clock structure
138 timecounter_read(&mdev->clock);
146 * mlx4_en_phc_adjtime - Shift the time of the hardware clock
147 * @ptp: ptp clock structure
159 timecounter_adjtime(&mdev->clock, delta);
166 * mlx4_en_phc_gettime - Reads the current time from the hardware clock
167 * @ptp: ptp clock structure
182 ns = timecounter_read(&mdev->clock);
191 * mlx4_en_phc_settime - Set the current time on the hardware clock
192 * @ptp: ptp clock structure
208 timecounter_init(&mdev->clock, &mdev->cycles, ns);
216 * @ptp: ptp clock structure
284 timecounter_init(&mdev->clock, &mdev->cycles,
298 mlx4_info(mdev, "registered PHC clock\n");