Lines Matching defs:info
137 static int xgbe_adjfine(struct ptp_clock_info *info, long scaled_ppm)
139 struct xgbe_prv_data *pdata = container_of(info,
156 static int xgbe_adjtime(struct ptp_clock_info *info, s64 delta)
158 struct xgbe_prv_data *pdata = container_of(info,
170 static int xgbe_gettime(struct ptp_clock_info *info, struct timespec64 *ts)
172 struct xgbe_prv_data *pdata = container_of(info,
189 static int xgbe_settime(struct ptp_clock_info *info,
192 struct xgbe_prv_data *pdata = container_of(info,
209 static int xgbe_enable(struct ptp_clock_info *info,
217 struct ptp_clock_info *info = &pdata->ptp_clock_info;
222 snprintf(info->name, sizeof(info->name), "%s",
224 info->owner = THIS_MODULE;
225 info->max_adj = pdata->ptpclk_rate;
226 info->adjfine = xgbe_adjfine;
227 info->adjtime = xgbe_adjtime;
228 info->gettime64 = xgbe_gettime;
229 info->settime64 = xgbe_settime;
230 info->enable = xgbe_enable;
232 clock = ptp_clock_register(info, pdata->dev);