Lines Matching full:ptp
2 /* cavium_ptp.c - PTP 1588 clock on Cavium hardware
61 struct cavium_ptp *ptp; in cavium_ptp_get() local
69 ptp = pci_get_drvdata(pdev); in cavium_ptp_get()
70 if (!ptp) in cavium_ptp_get()
71 ptp = ERR_PTR(-EPROBE_DEFER); in cavium_ptp_get()
72 if (IS_ERR(ptp)) in cavium_ptp_get()
75 return ptp; in cavium_ptp_get()
79 void cavium_ptp_put(struct cavium_ptp *ptp) in cavium_ptp_put() argument
81 if (!ptp) in cavium_ptp_put()
83 pci_dev_put(ptp->pdev); in cavium_ptp_put()
88 * cavium_ptp_adjfine() - Adjust ptp frequency
89 * @ptp_info: PTP clock info
107 /* The hardware adds the clock compensation value to the PTP clock in cavium_ptp_adjfine()
120 * independent structure definition to write data to PTP register. in cavium_ptp_adjfine()
136 * cavium_ptp_adjtime() - Adjust ptp time
137 * @ptp_info: PTP clock info
158 * @ptp_info: PTP clock info
180 * @ptp_info: PTP clock info
202 * @ptp_info: PTP clock info
263 .name = "ThunderX PTP", in cavium_ptp_probe()