Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.h15 struct ptp { struct
18 u64 (*read_ptp_tstmp)(struct ptp *ptp); argument
19 spinlock_t ptp_lock; /* lock */ argument
27 struct ptp *ptp_get(void); argument
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c13 static bool is_tstmp_atomic_update_supported(struct otx2_ptp *ptp) in is_tstmp_atomic_update_supported()
49 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_hw_adjtime() local
72 static u64 otx2_ptp_get_clock(struct otx2_ptp *ptp) in otx2_ptp_get_clock()
102 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_hw_gettime() local
115 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_hw_settime() local
144 struct otx2_ptp *ptp = container_of(ptp_info, struct otx2_ptp, in otx2_ptp_adjfine() local
161 static int ptp_set_thresh(struct otx2_ptp *ptp, u64 thresh) in ptp_set_thresh()
178 static int ptp_pps_on(struct otx2_ptp *ptp, int on, u64 period) in ptp_pps_on()
198 struct otx2_ptp *ptp = container_of(cc, struct otx2_ptp, cycle_counter); in ptp_cc_read() local
203 static u64 ptp_tstmp_read(struct otx2_ptp *ptp) in ptp_tstmp_read()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c62 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_settime() local
80 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in __bnxt_refclk_read() local
104 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read() local
118 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_refclk_read_low() local
139 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_get_current_time() local
185 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_gettimex() local
204 struct bnxt_ptp_cfg *ptp = bp->ptp_cfg; in bnxt_ptp_update_current_time() local
210 static int bnxt_ptp_adjphc(struct bnxt_ptp_cfg *ptp, s64 delta) in bnxt_ptp_adjphc()
234 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_adjtime() local
268 struct bnxt_ptp_cfg *ptp = container_of(ptp_info, struct bnxt_ptp_cfg, in bnxt_ptp_adjfine() local
[all …]
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c42 struct qede_ptp *ptp = container_of(info, struct qede_ptp, clock_info); in qede_ptp_adjfine() local
64 struct qede_ptp *ptp; in qede_ptp_adjtime() local
82 struct qede_ptp *ptp; in qede_ptp_gettime() local
103 struct qede_ptp *ptp; in qede_ptp_settime() local
127 struct qede_ptp *ptp; in qede_ptp_ancillary_feature_enable() local
141 struct qede_ptp *ptp; in qede_ptp_task() local
187 struct qede_ptp *ptp; in qede_ptp_read_cc() local
206 struct qede_ptp *ptp = edev->ptp; in qede_ptp_cfg_filters() local
296 struct qede_ptp *ptp; in qede_ptp_hw_ts() local
326 struct qede_ptp *ptp = edev->ptp; in qede_ptp_get_ts_info() local
[all …]
/linux/drivers/ptp/
H A Dptp_chardev.c50 void ptp_disable_all_events(struct ptp_clock *ptp) in ptp_disable_all_events()
70 int ptp_set_pinfunc(struct ptp_clock *ptp, unsigned int pin, in ptp_set_pinfunc()
135 struct ptp_clock *ptp = container_of(pccontext->clk, struct ptp_clock, clock); in ptp_open() local
169 struct ptp_clock *ptp = in ptp_release() local
181 static long ptp_clock_getcaps(struct ptp_clock *ptp, void __user *arg) in ptp_clock_getcaps()
201 static long ptp_extts_request(struct ptp_clock *ptp, unsigned int cmd, void __user *arg) in ptp_extts_request()
247 static long ptp_perout_request(struct ptp_clock *ptp, unsigned int cmd, void __user *arg) in ptp_perout_request()
302 static long ptp_enable_pps(struct ptp_clock *ptp, bool enable) in ptp_enable_pps()
317 static long ptp_sys_offset_precise(struct ptp_clock *ptp, void __user *arg, in ptp_sys_offset_precise()
350 static long ptp_sys_offset_extended(struct ptp_clock *ptp, void __user *arg, in ptp_sys_offset_extended()
[all …]
H A Dptp_vclock.c43 static int ptp_vclock_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_vclock_adjfine()
60 static int ptp_vclock_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_vclock_adjtime()
72 static int ptp_vclock_gettime(struct ptp_clock_info *ptp, in ptp_vclock_gettime()
87 static int ptp_vclock_gettimex(struct ptp_clock_info *ptp, in ptp_vclock_gettimex()
111 static int ptp_vclock_settime(struct ptp_clock_info *ptp, in ptp_vclock_settime()
125 static int ptp_vclock_getcrosststamp(struct ptp_clock_info *ptp, in ptp_vclock_getcrosststamp()
147 static long ptp_vclock_refresh(struct ptp_clock_info *ptp) in ptp_vclock_refresh()
157 static void ptp_vclock_set_subclass(struct ptp_clock *ptp) in ptp_vclock_set_subclass()
175 struct ptp_clock *ptp = vclock->pclock; in ptp_vclock_read() local
243 struct ptp_clock *ptp; in ptp_get_vclocks_index() local
H A Dptp_kvm_common.c58 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, in ptp_kvm_getcrosststamp()
69 static int ptp_kvm_adjfine(struct ptp_clock_info *ptp, long delta) in ptp_kvm_adjfine()
74 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_kvm_adjtime()
79 static int ptp_kvm_settime(struct ptp_clock_info *ptp, in ptp_kvm_settime()
85 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime()
105 static int ptp_kvm_enable(struct ptp_clock_info *ptp, in ptp_kvm_enable()
H A Dptp_dte.c137 static int ptp_dte_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_dte_adjfine()
161 static int ptp_dte_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_dte_adjtime()
173 static int ptp_dte_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_dte_gettime()
185 static int ptp_dte_settime(struct ptp_clock_info *ptp, in ptp_dte_settime()
210 static int ptp_dte_enable(struct ptp_clock_info *ptp, in ptp_dte_enable()
H A Dptp_vmclock.c252 static int ptp_vmclock_getcrosststamp(struct ptp_clock_info *ptp, in ptp_vmclock_getcrosststamp()
285 static int ptp_vmclock_adjfine(struct ptp_clock_info *ptp, long delta) in ptp_vmclock_adjfine()
290 static int ptp_vmclock_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_vmclock_adjtime()
295 static int ptp_vmclock_settime(struct ptp_clock_info *ptp, in ptp_vmclock_settime()
301 static int ptp_vmclock_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in ptp_vmclock_gettimex()
310 static int ptp_vmclock_enable(struct ptp_clock_info *ptp, in ptp_vmclock_enable()
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c559 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction()
612 struct efx_ptp_data *ptp = efx->ptp_data; in efx_siena_ptp_nic_to_kernel_time() local
633 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes() local
861 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_send_times() local
932 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_times() local
1027 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_synchronize() local
1154 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_drop_time_expired_events() local
1180 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_match_rx() local
1228 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_events() local
1262 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_remove_multicast_filters() local
[all …]
/linux/drivers/net/ethernet/sfc/
H A Dptp.c552 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction()
605 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_nic_to_kernel_time() local
626 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_get_attributes() local
848 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_send_times() local
919 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_times() local
1014 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_synchronize() local
1179 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_process_events() local
1256 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_insert_filter() local
1317 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_insert_eth_multicast_filter() local
1329 struct efx_ptp_data *ptp = efx->ptp_data; in efx_ptp_insert_multicast_filters() local
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c27 static int e1000e_phc_adjfine(struct ptp_clock_info *ptp, long delta) in e1000e_phc_adjfine()
66 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime()
141 static int e1000e_phc_getcrosststamp(struct ptp_clock_info *ptp, in e1000e_phc_getcrosststamp()
162 static int e1000e_phc_gettimex(struct ptp_clock_info *ptp, in e1000e_phc_gettimex()
192 static int e1000e_phc_settime(struct ptp_clock_info *ptp, in e1000e_phc_settime()
219 static int e1000e_phc_enable(struct ptp_clock_info __always_unused *ptp, in e1000e_phc_enable()
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c11 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_get_cycle() local
26 static int hclge_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in hclge_ptp_adjfine()
60 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_set_tx_info() local
132 static int hclge_ptp_gettimex(struct ptp_clock_info *ptp, struct timespec64 *ts, in hclge_ptp_gettimex()
152 static int hclge_ptp_settime(struct ptp_clock_info *ptp, in hclge_ptp_settime()
172 static int hclge_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in hclge_ptp_adjtime()
424 struct hclge_ptp *ptp; in hclge_ptp_create_clock() local
534 struct hclge_ptp *ptp = hdev->ptp; in hclge_ptp_uninit() local
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_ptp.c76 static int tsnep_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in tsnep_ptp_adjfine()
104 static int tsnep_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in tsnep_ptp_adjtime()
129 static int tsnep_ptp_gettimex64(struct ptp_clock_info *ptp, in tsnep_ptp_gettimex64()
156 static int tsnep_ptp_settime64(struct ptp_clock_info *ptp, in tsnep_ptp_settime64()
178 static int tsnep_ptp_getcyclesx64(struct ptp_clock_info *ptp, in tsnep_ptp_getcyclesx64()
/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c124 static int viortc_ptp_getcrosststamp(struct ptp_clock_info *ptp, in viortc_ptp_getcrosststamp()
168 static int viortc_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in viortc_ptp_adjfine()
174 static int viortc_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in viortc_ptp_adjtime()
180 static int viortc_ptp_settime64(struct ptp_clock_info *ptp, in viortc_ptp_settime64()
191 static int viortc_ptp_gettimex64(struct ptp_clock_info *ptp, in viortc_ptp_gettimex64()
216 static int viortc_ptp_enable(struct ptp_clock_info *ptp, in viortc_ptp_enable()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c194 static int igb_ptp_adjfine_82576(struct ptp_clock_info *ptp, long scaled_ppm) in igb_ptp_adjfine_82576()
208 static int igb_ptp_adjfine_82580(struct ptp_clock_info *ptp, long scaled_ppm) in igb_ptp_adjfine_82580()
228 static int igb_ptp_adjtime_82576(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_82576()
241 static int igb_ptp_adjtime_i210(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_i210()
259 static int igb_ptp_gettimex_82576(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82576()
286 static int igb_ptp_gettimex_82580(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82580()
314 static int igb_ptp_gettimex_i210(struct ptp_clock_info *ptp, in igb_ptp_gettimex_i210()
336 static int igb_ptp_settime_82576(struct ptp_clock_info *ptp, in igb_ptp_settime_82576()
355 static int igb_ptp_settime_i210(struct ptp_clock_info *ptp, in igb_ptp_settime_i210()
489 static int igb_ptp_feature_enable_82580(struct ptp_clock_info *ptp, in igb_ptp_feature_enable_82580()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c128 static int mlx4_en_phc_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mlx4_en_phc_adjfine()
152 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime()
173 static int mlx4_en_phc_gettime(struct ptp_clock_info *ptp, in mlx4_en_phc_gettime()
198 static int mlx4_en_phc_settime(struct ptp_clock_info *ptp, in mlx4_en_phc_settime()
223 static int mlx4_en_phc_enable(struct ptp_clock_info __always_unused *ptp, in mlx4_en_phc_enable()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c206 static int cxgb4_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in cxgb4_ptp_adjfine()
272 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime()
316 static int cxgb4_ptp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in cxgb4_ptp_gettime()
339 static int cxgb4_ptp_settime(struct ptp_clock_info *ptp, in cxgb4_ptp_settime()
395 static int cxgb4_ptp_enable(struct ptp_clock_info __always_unused *ptp, in cxgb4_ptp_enable()
/linux/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c123 static int ptp_ixp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_ixp_adjfine()
136 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_ixp_adjtime()
154 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime()
171 static int ptp_ixp_settime(struct ptp_clock_info *ptp, in ptp_ixp_settime()
190 static int ptp_ixp_enable(struct ptp_clock_info *ptp, in ptp_ixp_enable()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_tai.c85 static struct mvpp2_tai *ptp_to_tai(struct ptp_clock_info *ptp) in ptp_to_tai()
164 static int mvpp22_tai_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mvpp22_tai_adjfine()
205 static int mvpp22_tai_adjtime(struct ptp_clock_info *ptp, s64 delta) in mvpp22_tai_adjtime()
235 static int mvpp22_tai_gettimex64(struct ptp_clock_info *ptp, in mvpp22_tai_gettimex64()
276 static int mvpp22_tai_settime64(struct ptp_clock_info *ptp, in mvpp22_tai_settime64()
302 static long mvpp22_tai_aux_work(struct ptp_clock_info *ptp) in mvpp22_tai_aux_work()
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c88 static int hellcreek_ptp_gettimex(struct ptp_clock_info *ptp, in hellcreek_ptp_gettimex()
104 static int hellcreek_ptp_settime(struct ptp_clock_info *ptp, in hellcreek_ptp_settime()
132 static int hellcreek_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in hellcreek_ptp_adjfine()
179 static int hellcreek_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in hellcreek_ptp_adjtime()
227 static int hellcreek_ptp_enable(struct ptp_clock_info *ptp, in hellcreek_ptp_enable()
/linux/drivers/net/ethernet/google/gve/
H A Dgve_ptp.c44 const struct gve_ptp *ptp = container_of(info, struct gve_ptp, info); in gve_ptp_do_aux_work() local
70 struct gve_ptp *ptp; in gve_ptp_init() local
103 struct gve_ptp *ptp = priv->ptp; in gve_ptp_release() local
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dptp.c150 iwl_mvm_phc_get_crosstimestamp(struct ptp_clock_info *ptp, in iwl_mvm_phc_get_crosstimestamp()
206 static int iwl_mvm_ptp_gettime(struct ptp_clock_info *ptp, in iwl_mvm_ptp_gettime()
223 static int iwl_mvm_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in iwl_mvm_ptp_adjtime()
238 static int iwl_mvm_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in iwl_mvm_ptp_adjfine()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dptp.c102 static int iwl_mld_ptp_gettime(struct ptp_clock_info *ptp, in iwl_mld_ptp_gettime()
124 static int iwl_mld_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in iwl_mld_ptp_adjtime()
138 static int iwl_mld_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in iwl_mld_ptp_adjfine()
233 iwl_mld_phc_get_crosstimestamp(struct ptp_clock_info *ptp, in iwl_mld_phc_get_crosstimestamp()
/linux/drivers/net/ethernet/cadence/
H A Dmacb_ptp.c41 static int gem_tsu_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts, in gem_tsu_get_time()
77 static int gem_tsu_set_time(struct ptp_clock_info *ptp, in gem_tsu_set_time()
122 static int gem_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in gem_ptp_adjfine()
157 static int gem_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in gem_ptp_adjtime()
183 static int gem_ptp_enable(struct ptp_clock_info *ptp, in gem_ptp_enable()

1234