Lines Matching refs:fec_enet_private
102 struct fec_enet_private *fep = in fec_ptp_read()
103 container_of(cc, struct fec_enet_private, cc); in fec_ptp_read()
123 static int fec_ptp_enable_pps(struct fec_enet_private *fep, uint enable) in fec_ptp_enable_pps()
225 static int fec_ptp_pps_perout(struct fec_enet_private *fep) in fec_ptp_pps_perout()
283 struct fec_enet_private *fep = container_of(timer, in fec_ptp_pps_perout_handler()
284 struct fec_enet_private, perout_timer); in fec_ptp_pps_perout_handler()
301 struct fec_enet_private *fep = netdev_priv(ndev); in fec_ptp_start_cyclecounter()
354 struct fec_enet_private *fep = in fec_ptp_adjfine()
355 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjfine()
416 struct fec_enet_private *fep = in fec_ptp_adjtime()
417 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_adjtime()
437 struct fec_enet_private *fep = in fec_ptp_gettime()
438 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_gettime()
469 struct fec_enet_private *fep = in fec_ptp_settime()
470 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_settime()
497 static int fec_ptp_pps_disable(struct fec_enet_private *fep, uint channel) in fec_ptp_pps_disable()
518 struct fec_enet_private *fep = in fec_ptp_enable()
519 container_of(ptp, struct fec_enet_private, ptp_caps); in fec_ptp_enable()
604 struct fec_enet_private *fep = netdev_priv(ndev); in fec_ptp_set()
633 struct fec_enet_private *fep = netdev_priv(ndev); in fec_ptp_get()
648 struct fec_enet_private *fep = container_of(dwork, struct fec_enet_private, time_keep); in fec_time_keep()
666 struct fec_enet_private *fep = netdev_priv(ndev); in fec_pps_interrupt()
706 struct fec_enet_private *fep = netdev_priv(ndev); in fec_ptp_init()
768 void fec_ptp_save_state(struct fec_enet_private *fep) in fec_ptp_save_state()
788 void fec_ptp_restore_state(struct fec_enet_private *fep) in fec_ptp_restore_state()
821 struct fec_enet_private *fep = netdev_priv(ndev); in fec_ptp_stop()