Home
last modified time | relevance | path

Searched defs:ptp (Results 1 – 25 of 59) sorted by relevance

123

/Linux-v4.19/drivers/net/ethernet/microchip/
Dlan743x_ptp.c67 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_enqueue_ts() local
84 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_complete() local
144 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_reserve_event_ch() local
163 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_release_event_ch() local
264 struct lan743x_ptp *ptp = in lan743x_ptpci_adjfine() local
297 struct lan743x_ptp *ptp = in lan743x_ptpci_adjfreq() local
331 struct lan743x_ptp *ptp = in lan743x_ptpci_adjtime() local
344 struct lan743x_ptp *ptp = in lan743x_ptpci_gettime64() local
361 struct lan743x_ptp *ptp = in lan743x_ptpci_settime64() local
396 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_perout_off() local
[all …]
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c63 struct qede_ptp *ptp = container_of(info, struct qede_ptp, clock_info); in qede_ptp_adjfreq() local
84 struct qede_ptp *ptp; in qede_ptp_adjtime() local
102 struct qede_ptp *ptp; in qede_ptp_gettime() local
123 struct qede_ptp *ptp; in qede_ptp_settime() local
147 struct qede_ptp *ptp; in qede_ptp_ancillary_feature_enable() local
161 struct qede_ptp *ptp; in qede_ptp_task() local
195 struct qede_ptp *ptp; in qede_ptp_read_cc() local
214 struct qede_ptp *ptp = edev->ptp; in qede_ptp_cfg_filters() local
303 struct qede_ptp *ptp; in qede_ptp_hw_ts() local
338 struct qede_ptp *ptp = edev->ptp; in qede_ptp_get_ts_info() local
[all …]
/Linux-v4.19/drivers/ptp/
Dptp_clock.c110 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_settime() local
117 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_gettime() local
126 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_adjtime() local
180 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in delete_ptp_clock() local
190 struct ptp_clock *ptp = container_of(work, struct ptp_clock, in ptp_aux_kworker() local
206 struct ptp_clock *ptp; in ptp_clock_register() local
303 int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister()
325 void ptp_clock_event(struct ptp_clock *ptp, struct ptp_clock_event *event) in ptp_clock_event()
352 int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index()
358 int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin()
[all …]
Dptp_sysfs.c28 struct ptp_clock *ptp = dev_get_drvdata(dev); in clock_name_show() local
53 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_enable_store() local
78 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_fifo_show() local
113 struct ptp_clock *ptp = dev_get_drvdata(dev); in period_store() local
141 struct ptp_clock *ptp = dev_get_drvdata(dev); in pps_enable_store() local
185 struct ptp_clock *ptp = dev_get_drvdata(dev); in ptp_is_attribute_visible() local
214 static int ptp_pin_name2index(struct ptp_clock *ptp, const char *name) in ptp_pin_name2index()
227 struct ptp_clock *ptp = dev_get_drvdata(dev); in ptp_pin_show() local
249 struct ptp_clock *ptp = dev_get_drvdata(dev); in ptp_pin_store() local
271 int ptp_populate_pin_groups(struct ptp_clock *ptp) in ptp_populate_pin_groups()
[all …]
Dptp_kvm.c95 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, in ptp_kvm_getcrosststamp()
106 static int ptp_kvm_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_kvm_adjfreq()
111 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_kvm_adjtime()
116 static int ptp_kvm_settime(struct ptp_clock_info *ptp, in ptp_kvm_settime()
122 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime()
147 static int ptp_kvm_enable(struct ptp_clock_info *ptp, in ptp_kvm_enable()
Dptp_chardev.c61 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, in ptp_set_pinfunc()
129 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_ioctl() local
290 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_poll() local
302 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_read() local
Dptp_ixp46x.c136 static int ptp_ixp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_ixp_adjfreq()
160 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_ixp_adjtime()
178 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime()
195 static int ptp_ixp_settime(struct ptp_clock_info *ptp, in ptp_ixp_settime()
214 static int ptp_ixp_enable(struct ptp_clock_info *ptp, in ptp_ixp_enable()
Dptp_dte.c147 static int ptp_dte_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_dte_adjfreq()
170 static int ptp_dte_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_dte_adjtime()
182 static int ptp_dte_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_dte_gettime()
194 static int ptp_dte_settime(struct ptp_clock_info *ptp, in ptp_dte_settime()
219 static int ptp_dte_enable(struct ptp_clock_info *ptp, in ptp_dte_enable()
Dptp_qoriq.c173 static int ptp_qoriq_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_qoriq_adjfine()
202 static int ptp_qoriq_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_qoriq_adjtime()
220 static int ptp_qoriq_gettime(struct ptp_clock_info *ptp, in ptp_qoriq_gettime()
238 static int ptp_qoriq_settime(struct ptp_clock_info *ptp, in ptp_qoriq_settime()
257 static int ptp_qoriq_enable(struct ptp_clock_info *ptp, in ptp_qoriq_enable()
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/
Dptp.c25 static int e1000e_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in e1000e_phc_adjfreq()
78 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime()
152 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp()
171 static int e1000e_phc_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in e1000e_phc_gettime()
195 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime()
222 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable()
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c31 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq()
66 static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) in stmmac_adjust_time()
103 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time()
128 static int stmmac_set_time(struct ptp_clock_info *ptp, in stmmac_set_time()
142 static int stmmac_enable(struct ptp_clock_info *ptp, in stmmac_enable()
/Linux-v4.19/drivers/net/ethernet/renesas/
Dravb_ptp.c91 static int ravb_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ravb_ptp_adjfreq()
127 static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ravb_ptp_adjtime()
148 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struct timespec64 *ts) in ravb_ptp_gettime64()
162 static int ravb_ptp_settime64(struct ptp_clock_info *ptp, in ravb_ptp_settime64()
177 static int ravb_ptp_extts(struct ptp_clock_info *ptp, in ravb_ptp_extts()
205 static int ravb_ptp_perout(struct ptp_clock_info *ptp, in ravb_ptp_perout()
268 static int ravb_ptp_enable(struct ptp_clock_info *ptp, in ravb_ptp_enable()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dptp.c562 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction()
583 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time() local
604 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes() local
832 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_send_times() local
903 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_times() local
998 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_synchronize() local
1125 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_drop_time_expired_events() local
1153 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_match_rx() local
1201 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_events() local
1235 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_remove_multicast_filters() local
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c142 static int mlx5_ptp_settime(struct ptp_clock_info *ptp, in mlx5_ptp_settime()
158 static int mlx5_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in mlx5_ptp_gettime()
174 static int mlx5_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx5_ptp_adjtime()
188 static int mlx5_ptp_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx5_ptp_adjfreq()
216 static int mlx5_extts_configure(struct ptp_clock_info *ptp, in mlx5_extts_configure()
265 static int mlx5_perout_configure(struct ptp_clock_info *ptp, in mlx5_perout_configure()
341 static int mlx5_pps_configure(struct ptp_clock_info *ptp, in mlx5_pps_configure()
352 static int mlx5_ptp_enable(struct ptp_clock_info *ptp, in mlx5_ptp_enable()
369 static int mlx5_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mlx5_ptp_verify()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c121 static int mlx4_en_phc_adjfreq(struct ptp_clock_info *ptp, s32 delta) in mlx4_en_phc_adjfreq()
154 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime()
175 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, in mlx4_en_phc_gettime()
200 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, in mlx4_en_phc_settime()
225 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, in mlx4_en_phc_enable()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ptp.c186 static int igb_ptp_adjfreq_82576(struct ptp_clock_info *ptp, s32 ppb) in igb_ptp_adjfreq_82576()
215 static int igb_ptp_adjfine_82580(struct ptp_clock_info *ptp, long scaled_ppm) in igb_ptp_adjfine_82580()
241 static int igb_ptp_adjtime_82576(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_82576()
254 static int igb_ptp_adjtime_i210(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_i210()
272 static int igb_ptp_gettime_82576(struct ptp_clock_info *ptp, in igb_ptp_gettime_82576()
291 static int igb_ptp_gettime_i210(struct ptp_clock_info *ptp, in igb_ptp_gettime_i210()
307 static int igb_ptp_settime_82576(struct ptp_clock_info *ptp, in igb_ptp_settime_82576()
326 static int igb_ptp_settime_i210(struct ptp_clock_info *ptp, in igb_ptp_settime_i210()
460 static int igb_ptp_feature_enable_i210(struct ptp_clock_info *ptp, in igb_ptp_feature_enable_i210()
589 static int igb_ptp_feature_enable(struct ptp_clock_info *ptp, in igb_ptp_feature_enable()
[all …]
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dptp.c183 static int mv88e6xxx_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mv88e6xxx_ptp_adjfine()
209 static int mv88e6xxx_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in mv88e6xxx_ptp_adjtime()
220 static int mv88e6xxx_ptp_gettime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_gettime()
235 static int mv88e6xxx_ptp_settime(struct ptp_clock_info *ptp, in mv88e6xxx_ptp_settime()
290 static int mv88e6352_ptp_enable(struct ptp_clock_info *ptp, in mv88e6352_ptp_enable()
303 static int mv88e6352_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, in mv88e6352_ptp_verify()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_ptp.c203 static int cxgb4_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cxgb4_ptp_adjfreq()
265 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime()
309 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime()
347 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime()
403 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable()
/Linux-v4.19/include/linux/
Dptp_clock_kernel.h234 static inline int ptp_clock_unregister(struct ptp_clock *ptp) in ptp_clock_unregister()
236 static inline void ptp_clock_event(struct ptp_clock *ptp, in ptp_clock_event()
239 static inline int ptp_clock_index(struct ptp_clock *ptp) in ptp_clock_index()
241 static inline int ptp_find_pin(struct ptp_clock *ptp, in ptp_find_pin()
244 static inline int ptp_schedule_worker(struct ptp_clock *ptp, in ptp_schedule_worker()
/Linux-v4.19/drivers/staging/fsl-dpaa2/rtc/
Drtc.c22 static int ptp_dpaa2_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in ptp_dpaa2_adjfreq()
52 static int ptp_dpaa2_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_dpaa2_adjtime()
77 static int ptp_dpaa2_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_dpaa2_gettime()
98 static int ptp_dpaa2_settime(struct ptp_clock_info *ptp, in ptp_dpaa2_settime()
/Linux-v4.19/drivers/net/ethernet/cavium/common/
Dcavium_ptp.h32 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time()
56 static inline void cavium_ptp_put(struct cavium_ptp *ptp) {} in cavium_ptp_put()
58 static inline u64 cavium_ptp_tstamp2time(struct cavium_ptp *ptp, u64 tstamp) in cavium_ptp_tstamp2time()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c97 static int i40e_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in i40e_ptp_adjfreq()
142 static int i40e_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in i40e_ptp_adjtime()
166 static int i40e_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in i40e_ptp_gettime()
185 static int i40e_ptp_settime(struct ptp_clock_info *ptp, in i40e_ptp_settime()
206 static int i40e_ptp_feature_enable(struct ptp_clock_info *ptp, in i40e_ptp_feature_enable()
/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb_ptp.c52 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in gem_tsu_get_time()
83 static int gem_tsu_set_time(struct ptp_clock_info *ptp, in gem_tsu_set_time()
125 static int gem_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in gem_ptp_adjfine()
160 static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in gem_ptp_adjtime()
186 static int gem_ptp_enable(struct ptp_clock_info *ptp, in gem_ptp_enable()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpts.c210 static int cpts_ptp_adjfreq(struct ptp_clock_info *ptp, s32 ppb) in cpts_ptp_adjfreq()
238 static int cpts_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cpts_ptp_adjtime()
250 static int cpts_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cpts_ptp_gettime()
265 static int cpts_ptp_settime(struct ptp_clock_info *ptp, in cpts_ptp_settime()
281 static int cpts_ptp_enable(struct ptp_clock_info *ptp, in cpts_ptp_enable()
287 static long cpts_overflow_check(struct ptp_clock_info *ptp) in cpts_overflow_check()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c342 static int ixgbe_ptp_adjfreq_82599(struct ptp_clock_info *ptp, s32 ppb) in ixgbe_ptp_adjfreq_82599()
393 static int ixgbe_ptp_adjfreq_X550(struct ptp_clock_info *ptp, s32 ppb) in ixgbe_ptp_adjfreq_X550()
429 static int ixgbe_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ixgbe_ptp_adjtime()
453 static int ixgbe_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ixgbe_ptp_gettime()
477 static int ixgbe_ptp_settime(struct ptp_clock_info *ptp, in ixgbe_ptp_settime()
504 static int ixgbe_ptp_feature_enable(struct ptp_clock_info *ptp, in ixgbe_ptp_feature_enable()

123