Lines Matching refs:ptp_caps
216 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjfreq()
262 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_adjtime()
285 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_gettime()
310 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_settime()
338 container_of(ptp, struct ixgbe_adapter, ptp_caps); in ixgbe_ptp_feature_enable()
410 ixgbe_ptp_gettime(&adapter->ptp_caps, &ts); in ixgbe_ptp_overflow_check()
863 snprintf(adapter->ptp_caps.name, in ixgbe_ptp_create_clock()
864 sizeof(adapter->ptp_caps.name), in ixgbe_ptp_create_clock()
866 adapter->ptp_caps.owner = THIS_MODULE; in ixgbe_ptp_create_clock()
867 adapter->ptp_caps.max_adj = 250000000; in ixgbe_ptp_create_clock()
868 adapter->ptp_caps.n_alarm = 0; in ixgbe_ptp_create_clock()
869 adapter->ptp_caps.n_ext_ts = 0; in ixgbe_ptp_create_clock()
870 adapter->ptp_caps.n_per_out = 0; in ixgbe_ptp_create_clock()
871 adapter->ptp_caps.pps = 1; in ixgbe_ptp_create_clock()
872 adapter->ptp_caps.adjfreq = ixgbe_ptp_adjfreq; in ixgbe_ptp_create_clock()
873 adapter->ptp_caps.adjtime = ixgbe_ptp_adjtime; in ixgbe_ptp_create_clock()
874 adapter->ptp_caps.gettime64 = ixgbe_ptp_gettime; in ixgbe_ptp_create_clock()
875 adapter->ptp_caps.settime64 = ixgbe_ptp_settime; in ixgbe_ptp_create_clock()
876 adapter->ptp_caps.enable = ixgbe_ptp_feature_enable; in ixgbe_ptp_create_clock()
879 snprintf(adapter->ptp_caps.name, in ixgbe_ptp_create_clock()
880 sizeof(adapter->ptp_caps.name), in ixgbe_ptp_create_clock()
882 adapter->ptp_caps.owner = THIS_MODULE; in ixgbe_ptp_create_clock()
883 adapter->ptp_caps.max_adj = 250000000; in ixgbe_ptp_create_clock()
884 adapter->ptp_caps.n_alarm = 0; in ixgbe_ptp_create_clock()
885 adapter->ptp_caps.n_ext_ts = 0; in ixgbe_ptp_create_clock()
886 adapter->ptp_caps.n_per_out = 0; in ixgbe_ptp_create_clock()
887 adapter->ptp_caps.pps = 0; in ixgbe_ptp_create_clock()
888 adapter->ptp_caps.adjfreq = ixgbe_ptp_adjfreq; in ixgbe_ptp_create_clock()
889 adapter->ptp_caps.adjtime = ixgbe_ptp_adjtime; in ixgbe_ptp_create_clock()
890 adapter->ptp_caps.gettime64 = ixgbe_ptp_gettime; in ixgbe_ptp_create_clock()
891 adapter->ptp_caps.settime64 = ixgbe_ptp_settime; in ixgbe_ptp_create_clock()
892 adapter->ptp_caps.enable = ixgbe_ptp_feature_enable; in ixgbe_ptp_create_clock()
899 adapter->ptp_clock = ptp_clock_register(&adapter->ptp_caps, in ixgbe_ptp_create_clock()