Lines Matching refs:ptp_caps
312 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjfreq()
374 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjtime()
395 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_gettime()
427 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_settime()
465 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_enable()
573 fep->ptp_caps.owner = THIS_MODULE; in fec_ptp_init()
574 snprintf(fep->ptp_caps.name, 16, "fec ptp"); in fec_ptp_init()
576 fep->ptp_caps.max_adj = 250000000; in fec_ptp_init()
577 fep->ptp_caps.n_alarm = 0; in fec_ptp_init()
578 fep->ptp_caps.n_ext_ts = 0; in fec_ptp_init()
579 fep->ptp_caps.n_per_out = 0; in fec_ptp_init()
580 fep->ptp_caps.n_pins = 0; in fec_ptp_init()
581 fep->ptp_caps.pps = 1; in fec_ptp_init()
582 fep->ptp_caps.adjfreq = fec_ptp_adjfreq; in fec_ptp_init()
583 fep->ptp_caps.adjtime = fec_ptp_adjtime; in fec_ptp_init()
584 fep->ptp_caps.gettime64 = fec_ptp_gettime; in fec_ptp_init()
585 fep->ptp_caps.settime64 = fec_ptp_settime; in fec_ptp_init()
586 fep->ptp_caps.enable = fec_ptp_enable; in fec_ptp_init()
601 fep->ptp_clock = ptp_clock_register(&fep->ptp_caps, &pdev->dev); in fec_ptp_init()