Home
last modified time | relevance | path

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

12345

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.h15 struct ptp { struct
18 u64 (*read_ptp_tstmp)(struct ptp *ptp); argument
27 struct ptp *ptp_get(void); argument
19 ptp_lockptp global() argument
H A Dptp.c67 #define is_rev_A0(ptp) (((ptp)->pdev->revision & 0x0F) == 0x0) argument
68 #define is_rev_A1(ptp) (((ptp)->pdev->revision & 0x0F) == 0x1) argument
80 static bool is_ptp_dev_cnf10ka(struct ptp *ptp) in is_ptp_dev_cnf10ka() argument
85 static bool is_ptp_dev_cn10ka(struct ptp *pt argument
90 cn10k_ptp_errata(struct ptp * ptp) cn10k_ptp_errata() argument
101 struct ptp *ptp = rvu->ptp; is_tstmp_atomic_update_supported() local
118 struct ptp *ptp = container_of(hrtimer, struct ptp, hrtimer); ptp_reset_thresh() local
144 ptp_hrtimer_start(struct ptp * ptp,ktime_t start_ns) ptp_hrtimer_start() argument
153 read_ptp_tstmp_sec_nsec(struct ptp * ptp) read_ptp_tstmp_sec_nsec() argument
172 read_ptp_tstmp_nsec(struct ptp * ptp) read_ptp_tstmp_nsec() argument
231 struct ptp *ptp = first_ptp_block; ptp_get() local
245 ptp_put(struct ptp * ptp) ptp_put() argument
253 ptp_atomic_update(struct ptp * ptp,u64 timestamp) ptp_atomic_update() argument
275 ptp_atomic_adjtime(struct ptp * ptp,s64 delta) ptp_atomic_adjtime() argument
312 ptp_adjfine(struct ptp * ptp,long scaled_ppm) ptp_adjfine() argument
359 ptp_get_clock(struct ptp * ptp,u64 * clk) ptp_get_clock() argument
369 struct ptp *ptp = rvu->ptp; ptp_start() local
430 ptp_get_tstmp(struct ptp * ptp,u64 * clk) ptp_get_tstmp() argument
444 ptp_set_thresh(struct ptp * ptp,u64 thresh) ptp_set_thresh() argument
452 ptp_config_hrtimer(struct ptp * ptp,int on) ptp_config_hrtimer() argument
467 ptp_pps_on(struct ptp * ptp,int on,u64 period) ptp_pps_on() argument
520 struct ptp *ptp; ptp_probe() local
573 struct ptp *ptp = pci_get_drvdata(pdev); ptp_remove() local
[all...]
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.c81 struct lan743x_ptp *ptp = &adapter->ptp; in lan743x_ptp_tx_ts_enqueue_ts() local
98 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_tx_ts_complete() local
159 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_reserve_event_ch() local
178 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_release_event_ch() local
202 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_led_mux_enable() local
219 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_led_mux_save() local
337 struct lan743x_ptp *ptp = lan743x_ptpci_adjfine() local
363 struct lan743x_ptp *ptp = lan743x_ptpci_adjtime() local
376 struct lan743x_ptp *ptp = lan743x_ptpci_gettime64() local
397 struct lan743x_ptp *ptp = lan743x_ptpci_settime64() local
426 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_perout_off() local
456 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_perout() local
643 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_perout_off() local
695 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_perout() local
852 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_extts_off() local
888 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_event_cap_en() local
932 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_extts() local
959 struct lan743x_ptp *ptp = lan743x_ptpci_enable() local
995 lan743x_ptpci_verify_pin_config(struct ptp_clock_info * ptp,unsigned int pin,enum ptp_pin_function func,unsigned int chan) lan743x_ptpci_verify_pin_config() argument
1029 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_event_clock_get() local
1054 struct lan743x_ptp *ptp = lan743x_ptpci_do_aux_work() local
1189 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_clock_get() local
1212 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_io_clock_get() local
1234 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_clock_step() local
1359 struct lan743x_ptp *ptp = NULL; lan743x_ptp_isr() local
1401 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_tx_ts_enqueue_skb() local
1455 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_init() local
1474 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_open() local
1570 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_close() local
1635 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_enable() local
1651 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_disable() local
1670 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_reset() local
1690 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_clock_set() local
1705 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_request_tx_timestamp() local
1720 struct lan743x_ptp *ptp = &adapter->ptp; lan743x_ptp_unrequest_tx_timestamp() 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; qede_ptp_gettime() local
103 struct qede_ptp *ptp; qede_ptp_settime() local
127 struct qede_ptp *ptp; qede_ptp_ancillary_feature_enable() local
141 struct qede_ptp *ptp; qede_ptp_task() local
187 struct qede_ptp *ptp; qede_ptp_read_cc() local
206 struct qede_ptp *ptp = edev->ptp; qede_ptp_cfg_filters() local
296 struct qede_ptp *ptp; qede_ptp_hw_ts() local
326 struct qede_ptp *ptp = edev->ptp; qede_ptp_get_ts_info() local
363 struct qede_ptp *ptp; qede_ptp_disable() local
395 struct qede_ptp *ptp; qede_ptp_init() local
428 struct qede_ptp *ptp; qede_ptp_enable() local
487 struct qede_ptp *ptp; qede_ptp_tx_ts() local
521 struct qede_ptp *ptp; qede_ptp_rx_ts() local
[all...]
/linux/drivers/ptp/
H A Dptp_clock.c96 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_settime() local
108 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); in ptp_clock_gettime() local
120 struct ptp_clock *ptp = container_of(pc, struct ptp_clock, clock); ptp_clock_adjtime() local
192 struct ptp_clock *ptp = container_of(dev, struct ptp_clock, dev); ptp_clock_release() local
221 ptp_enable(struct ptp_clock_info * ptp,struct ptp_clock_request * request,int on) ptp_enable() argument
228 struct ptp_clock *ptp = container_of(work, struct ptp_clock, ptp_aux_kworker() local
244 struct ptp_clock *ptp; ptp_clock_register() local
408 struct ptp_clock *ptp = dev_get_drvdata(dev); unregister_vclock() local
414 ptp_clock_unregister(struct ptp_clock * ptp) ptp_clock_unregister() argument
438 ptp_clock_event(struct ptp_clock * ptp,struct ptp_clock_event * event) ptp_clock_event() argument
474 ptp_clock_index(struct ptp_clock * ptp) ptp_clock_index() argument
480 ptp_find_pin(struct ptp_clock * ptp,enum ptp_pin_function func,unsigned int chan) ptp_find_pin() argument
498 ptp_find_pin_unlocked(struct ptp_clock * ptp,enum ptp_pin_function func,unsigned int chan) ptp_find_pin_unlocked() argument
513 ptp_schedule_worker(struct ptp_clock * ptp,unsigned long delay) ptp_schedule_worker() argument
519 ptp_cancel_worker_sync(struct ptp_clock * ptp) ptp_cancel_worker_sync() argument
[all...]
H A Dptp_sysfs.c16 struct ptp_clock *ptp = dev_get_drvdata(dev); in clock_name_show() local
25 struct ptp_clock *ptp = dev_get_drvdata(dev); in max_phase_adjustment_show() local
51 struct ptp_clock *ptp = dev_get_drvdata(dev); in extts_enable_store() local
76 struct ptp_clock *ptp in extts_fifo_show() local
115 struct ptp_clock *ptp = dev_get_drvdata(dev); period_store() local
143 struct ptp_clock *ptp = dev_get_drvdata(dev); pps_enable_store() local
168 struct ptp_clock *ptp = dev_get_drvdata(dev); unregister_vclock() local
190 struct ptp_clock *ptp = dev_get_drvdata(dev); n_vclocks_show() local
207 struct ptp_clock *ptp = dev_get_drvdata(dev); n_vclocks_store() local
269 struct ptp_clock *ptp = dev_get_drvdata(dev); max_vclocks_show() local
281 struct ptp_clock *ptp = dev_get_drvdata(dev); max_vclocks_store() local
345 struct ptp_clock *ptp = dev_get_drvdata(dev); ptp_is_attribute_visible() local
381 ptp_pin_name2index(struct ptp_clock * ptp,const char * name) ptp_pin_name2index() argument
394 struct ptp_clock *ptp = dev_get_drvdata(dev); ptp_pin_show() local
416 struct ptp_clock *ptp = dev_get_drvdata(dev); ptp_pin_store() local
438 ptp_populate_pin_groups(struct ptp_clock * ptp) ptp_populate_pin_groups() argument
478 ptp_cleanup_pin_groups(struct ptp_clock * ptp) ptp_cleanup_pin_groups() argument
[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_s390.c13 static int ptp_s390_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ptp_s390_adjfine() argument
18 static int ptp_s390_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_s390_adjtime() argument
33 static int ptp_s390_stcke_gettime(struct ptp_clock_info *ptp, in ptp_s390_stcke_gettime() argument
46 static int ptp_s390_qpt_gettime(struct ptp_clock_info *ptp, in ptp_s390_qpt_gettime() argument
56 static int ptp_s390_settime(struct ptp_clock_info *ptp, in ptp_s390_settime() argument
75 static int ptp_s390_getcrosststamp(struct ptp_clock_info *ptp, in ptp_s390_getcrosststamp() argument
H A Dptp_kvm_common.c58 static int ptp_kvm_getcrosststamp(struct ptp_clock_info *ptp, in ptp_kvm_getcrosststamp() argument
69 static int ptp_kvm_adjfine(struct ptp_clock_info *ptp, long delta) in ptp_kvm_adjfine() argument
74 static int ptp_kvm_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_kvm_adjtime() argument
79 static int ptp_kvm_settime(struct ptp_clock_info *ptp, in ptp_kvm_settime() argument
85 static int ptp_kvm_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_kvm_gettime() argument
105 static int ptp_kvm_enable(struct ptp_clock_info *ptp, in ptp_kvm_enable() argument
/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() argument
66 static int e1000e_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in e1000e_phc_adjtime() argument
141 e1000e_phc_getcrosststamp(struct ptp_clock_info * ptp,struct system_device_crosststamp * xtstamp) e1000e_phc_getcrosststamp() argument
162 e1000e_phc_gettimex(struct ptp_clock_info * ptp,struct timespec64 * ts,struct ptp_system_timestamp * sts) e1000e_phc_gettimex() argument
192 e1000e_phc_settime(struct ptp_clock_info * ptp,const struct timespec64 * ts) e1000e_phc_settime() argument
219 e1000e_phc_enable(struct ptp_clock_info __always_unused * ptp,struct ptp_clock_request __always_unused * request,int __always_unused on) e1000e_phc_enable() argument
[all...]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_ptp.c23 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, long scaled_ppm) in stmmac_adjust_freq() argument
47 static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) in stmmac_adjust_time() argument
123 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time() argument
148 stmmac_set_time(struct ptp_clock_info * ptp,const struct timespec64 * ts) stmmac_set_time() argument
162 stmmac_enable(struct ptp_clock_info * ptp,struct ptp_clock_request * rq,int on) stmmac_enable() argument
256 stmmac_getcrosststamp(struct ptp_clock_info * ptp,struct system_device_crosststamp * xtstamp) stmmac_getcrosststamp() argument
[all...]
/linux/drivers/net/ethernet/sfc/
H A Dptp.c552 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction() argument
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; efx_ptp_get_attributes() local
848 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_send_times() local
919 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_process_times() local
1014 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_synchronize() local
1179 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_process_events() local
1256 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_insert_filter() local
1317 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_insert_eth_multicast_filter() local
1329 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_insert_multicast_filters() local
1395 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_insert_unicast_filter() local
1435 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_start() local
1460 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_stop() local
1487 struct efx_ptp_data *ptp = efx_ptp_pps_worker() local
1526 struct efx_ptp_data *ptp = efx_ptp_cleanup_worker() local
1560 struct efx_ptp_data *ptp; efx_ptp_probe() local
1738 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_rx() local
1791 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_tx() local
1864 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_get_ts_info() local
1916 struct efx_ptp_data *ptp = efx->ptp_data; ptp_event_failure() local
1925 ptp_event_fault(struct efx_nic * efx,struct efx_ptp_data * ptp) ptp_event_fault() argument
1936 ptp_event_pps(struct efx_nic * efx,struct efx_ptp_data * ptp) ptp_event_pps() argument
1944 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_event() local
1993 struct efx_ptp_data *ptp = efx->ptp_data; efx_time_sync_event() local
2030 struct efx_ptp_data *ptp = efx->ptp_data; __efx_rx_skb_attach_timestamp() local
2083 efx_phc_adjfine(struct ptp_clock_info * ptp,long scaled_ppm) efx_phc_adjfine() argument
2118 efx_phc_adjtime(struct ptp_clock_info * ptp,s64 delta) efx_phc_adjtime() argument
2138 efx_phc_gettime(struct ptp_clock_info * ptp,struct timespec64 * ts) efx_phc_gettime() argument
2164 efx_phc_settime(struct ptp_clock_info * ptp,const struct timespec64 * e_ts) efx_phc_settime() argument
2188 efx_phc_enable(struct ptp_clock_info * ptp,struct ptp_clock_request * request,int enable) efx_phc_enable() argument
[all...]
/linux/drivers/net/ethernet/sfc/siena/
H A Dptp.c559 struct efx_ptp_data *ptp, in efx_ptp_mac_nic_to_ktime_correction() argument
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; efx_ptp_get_attributes() local
861 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_send_times() local
932 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_process_times() local
1027 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_synchronize() local
1154 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_drop_time_expired_events() local
1180 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_match_rx() local
1228 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_process_events() local
1262 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_remove_multicast_filters() local
1275 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_insert_multicast_filters() local
1324 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_start() local
1349 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_stop() local
1384 struct efx_ptp_data *ptp = efx_ptp_pps_worker() local
1442 struct efx_ptp_data *ptp; efx_ptp_probe() local
1619 struct efx_ptp_data *ptp = efx->ptp_data; efx_ptp_rx() local
1705 struct efx_ptp_data *ptp = efx->ptp_data; efx_siena_ptp_tx() local
1785 struct efx_ptp_data *ptp = efx->ptp_data; efx_siena_ptp_get_ts_info() local
1827 struct efx_ptp_data *ptp = efx->ptp_data; ptp_event_failure() local
1840 ptp_event_rx(struct efx_nic * efx,struct efx_ptp_data * ptp) ptp_event_rx() argument
1880 ptp_event_fault(struct efx_nic * efx,struct efx_ptp_data * ptp) ptp_event_fault() argument
1891 ptp_event_pps(struct efx_nic * efx,struct efx_ptp_data * ptp) ptp_event_pps() argument
1899 struct efx_ptp_data *ptp = efx->ptp_data; efx_siena_ptp_event() local
1951 struct efx_ptp_data *ptp = efx->ptp_data; efx_siena_time_sync_event() local
1988 struct efx_ptp_data *ptp = efx->ptp_data; __efx_siena_rx_skb_attach_timestamp() local
2041 efx_phc_adjfine(struct ptp_clock_info * ptp,long scaled_ppm) efx_phc_adjfine() argument
2076 efx_phc_adjtime(struct ptp_clock_info * ptp,s64 delta) efx_phc_adjtime() argument
2096 efx_phc_gettime(struct ptp_clock_info * ptp,struct timespec64 * ts) efx_phc_gettime() argument
2122 efx_phc_settime(struct ptp_clock_info * ptp,const struct timespec64 * e_ts) efx_phc_settime() argument
2146 efx_phc_enable(struct ptp_clock_info * ptp,struct ptp_clock_request * request,int enable) efx_phc_enable() argument
[all...]
/linux/drivers/net/ethernet/renesas/
H A Dravb_ptp.c91 static int ravb_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in ravb_ptp_adjfine() argument
120 static int ravb_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ravb_ptp_adjtime() argument
141 static int ravb_ptp_gettime64(struct ptp_clock_info *ptp, struc argument
155 ravb_ptp_settime64(struct ptp_clock_info * ptp,const struct timespec64 * ts) ravb_ptp_settime64() argument
170 ravb_ptp_extts(struct ptp_clock_info * ptp,struct ptp_extts_request * req,int on) ravb_ptp_extts() argument
198 ravb_ptp_perout(struct ptp_clock_info * ptp,struct ptp_perout_request * req,int on) ravb_ptp_perout() argument
261 ravb_ptp_enable(struct ptp_clock_info * ptp,struct ptp_clock_request * req,int on) ravb_ptp_enable() argument
[all...]
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_time.c31 static struct fbnic_dev *fbnic_from_ptp_info(struct ptp_clock_info *ptp) in fbnic_from_ptp_info() argument
94 static long fbnic_ptp_do_aux_work(struct ptp_clock_info *ptp) in fbnic_ptp_do_aux_work() argument
107 static int fbnic_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in fbnic_ptp_adjfine() argument
128 static int fbnic_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in fbnic_ptp_adjtime() argument
146 fbnic_ptp_gettimex64(struct ptp_clock_info *ptp, struct timespec64 *ts, in fbnic_ptp_gettimex64() argument
181 fbnic_ptp_settime64(struct ptp_clock_info * ptp,const struct timespec64 * ts) fbnic_ptp_settime64() argument
[all...]
/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 hclge_ptp_adjfine(struct ptp_clock_info * ptp,long scaled_ppm) hclge_ptp_adjfine() argument
60 struct hclge_ptp *ptp = hdev->ptp; hclge_ptp_set_tx_info() local
132 hclge_ptp_gettimex(struct ptp_clock_info * ptp,struct timespec64 * ts,struct ptp_system_timestamp * sts) hclge_ptp_gettimex() argument
152 hclge_ptp_settime(struct ptp_clock_info * ptp,const struct timespec64 * ts) hclge_ptp_settime() argument
172 hclge_ptp_adjtime(struct ptp_clock_info * ptp,s64 delta) hclge_ptp_adjtime() argument
424 struct hclge_ptp *ptp; hclge_ptp_create_clock() local
534 struct hclge_ptp *ptp = hdev->ptp; hclge_ptp_uninit() local
[all...]
/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() argument
104 static int tsnep_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in tsnep_ptp_adjtime() argument
129 static int tsnep_ptp_gettimex64(struct ptp_clock_info *ptp, in tsnep_ptp_gettimex64() argument
156 static int tsnep_ptp_settime64(struct ptp_clock_info *ptp, in tsnep_ptp_settime64() argument
178 static int tsnep_ptp_getcyclesx64(struct ptp_clock_info *ptp, in tsnep_ptp_getcyclesx64() argument
[all...]
/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c124 static int viortc_ptp_getcrosststamp(struct ptp_clock_info *ptp, in viortc_ptp_getcrosststamp() argument
168 static int viortc_ptp_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in viortc_ptp_adjfine() argument
174 static int viortc_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in viortc_ptp_adjtime() argument
180 static int viortc_ptp_settime64(struct ptp_clock_info *ptp, in viortc_ptp_settime64() argument
191 static int viortc_ptp_gettimex64(struct ptp_clock_info *ptp, in viortc_ptp_gettimex64() argument
216 static int viortc_ptp_enable(struct ptp_clock_info *ptp, in viortc_ptp_enable() argument
/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() argument
152 static int mlx4_en_phc_adjtime(struct ptp_clock_info *ptp, s64 delta) in mlx4_en_phc_adjtime() argument
173 mlx4_en_phc_gettime(struct ptp_clock_info * ptp,struct timespec64 * ts) mlx4_en_phc_gettime() argument
198 mlx4_en_phc_settime(struct ptp_clock_info * ptp,const struct timespec64 * ts) mlx4_en_phc_settime() argument
223 mlx4_en_phc_enable(struct ptp_clock_info __always_unused * ptp,struct ptp_clock_request __always_unused * request,int __always_unused on) mlx4_en_phc_enable() argument
[all...]
/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() argument
208 static int igb_ptp_adjfine_82580(struct ptp_clock_info *ptp, long scaled_ppm) in igb_ptp_adjfine_82580() argument
228 static int igb_ptp_adjtime_82576(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_82576() argument
241 static int igb_ptp_adjtime_i210(struct ptp_clock_info *ptp, s64 delta) in igb_ptp_adjtime_i210() argument
259 static int igb_ptp_gettimex_82576(struct ptp_clock_info *ptp, in igb_ptp_gettimex_82576() argument
286 igb_ptp_gettimex_82580(struct ptp_clock_info * ptp,struct timespec64 * ts,struct ptp_system_timestamp * sts) igb_ptp_gettimex_82580() argument
314 igb_ptp_gettimex_i210(struct ptp_clock_info * ptp,struct timespec64 * ts,struct ptp_system_timestamp * sts) igb_ptp_gettimex_i210() argument
336 igb_ptp_settime_82576(struct ptp_clock_info * ptp,const struct timespec64 * ts) igb_ptp_settime_82576() argument
355 igb_ptp_settime_i210(struct ptp_clock_info * ptp,const struct timespec64 * ts) igb_ptp_settime_i210() argument
489 igb_ptp_feature_enable_82580(struct ptp_clock_info * ptp,struct ptp_clock_request * rq,int on) igb_ptp_feature_enable_82580() argument
640 igb_ptp_feature_enable_i210(struct ptp_clock_info * ptp,struct ptp_clock_request * rq,int on) igb_ptp_feature_enable_i210() argument
779 igb_ptp_feature_enable(struct ptp_clock_info * ptp,struct ptp_clock_request * rq,int on) igb_ptp_feature_enable() argument
785 igb_ptp_verify_pin(struct ptp_clock_info * ptp,unsigned int pin,enum ptp_pin_function func,unsigned int chan) igb_ptp_verify_pin() argument
[all...]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_ptp.c31 const struct gve_ptp *ptp = container_of(info, struct gve_ptp, info); in gve_ptp_do_aux_work() local
55 struct gve_ptp *ptp; in gve_ptp_init() local
88 struct gve_ptp *ptp = priv->ptp; gve_ptp_release() local
[all...]
/linux/include/linux/
H A Dptp_clock_kernel.h421 ptp_clock_unregister(struct ptp_clock * ptp) ptp_clock_unregister() argument
423 ptp_clock_event(struct ptp_clock * ptp,struct ptp_clock_event * event) ptp_clock_event() argument
426 ptp_clock_index(struct ptp_clock * ptp) ptp_clock_index() argument
428 ptp_find_pin(struct ptp_clock * ptp,enum ptp_pin_function func,unsigned int chan) ptp_find_pin() argument
431 ptp_find_pin_unlocked(struct ptp_clock * ptp,enum ptp_pin_function func,unsigned int chan) ptp_find_pin_unlocked() argument
435 ptp_schedule_worker(struct ptp_clock * ptp,unsigned long delay) ptp_schedule_worker() argument
438 ptp_cancel_worker_sync(struct ptp_clock * ptp) ptp_cancel_worker_sync() argument
[all...]
/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() argument
272 static int cxgb4_ptp_adjtime(struct ptp_clock_info *ptp, s64 delta) in cxgb4_ptp_adjtime() argument
316 cxgb4_ptp_gettime(struct ptp_clock_info * ptp,struct timespec64 * ts) cxgb4_ptp_gettime() argument
339 cxgb4_ptp_settime(struct ptp_clock_info * ptp,const struct timespec64 * ts) cxgb4_ptp_settime() argument
395 cxgb4_ptp_enable(struct ptp_clock_info __always_unused * ptp,struct ptp_clock_request __always_unused * request,int __always_unused on) cxgb4_ptp_enable() argument
[all...]
/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() argument
136 static int ptp_ixp_adjtime(struct ptp_clock_info *ptp, s64 delta) in ptp_ixp_adjtime() argument
154 static int ptp_ixp_gettime(struct ptp_clock_info *ptp, struct timespec64 *ts) in ptp_ixp_gettime() argument
171 static int ptp_ixp_settime(struct ptp_clock_info *ptp, in ptp_ixp_settime() argument
190 static int ptp_ixp_enable(struct ptp_clock_info *ptp, in ptp_ixp_enable() argument
[all...]
/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() argument
164 static int mvpp22_tai_adjfine(struct ptp_clock_info *ptp, long scaled_ppm) in mvpp22_tai_adjfine() argument
205 static int mvpp22_tai_adjtime(struct ptp_clock_info *ptp, s64 delta) in mvpp22_tai_adjtime() argument
235 static int mvpp22_tai_gettimex64(struct ptp_clock_info *ptp, in mvpp22_tai_gettimex64() argument
276 static int mvpp22_tai_settime64(struct ptp_clock_info *ptp, in mvpp22_tai_settime64() argument
302 mvpp22_tai_aux_work(struct ptp_clock_info * ptp) mvpp22_tai_aux_work() argument
[all...]

12345