Lines Matching defs:ptp
67 #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()
85 static bool is_ptp_dev_cn10ka(struct ptp *ptp) in is_ptp_dev_cn10ka()
90 static bool cn10k_ptp_errata(struct ptp *ptp) in cn10k_ptp_errata()
101 struct ptp *ptp = rvu->ptp; in is_tstmp_atomic_update_supported() local
118 struct ptp *ptp = container_of(hrtimer, struct ptp, hrtimer); in ptp_reset_thresh() local
144 static void ptp_hrtimer_start(struct ptp *ptp, ktime_t start_ns) in ptp_hrtimer_start()
153 static u64 read_ptp_tstmp_sec_nsec(struct ptp *ptp) in read_ptp_tstmp_sec_nsec()
172 static u64 read_ptp_tstmp_nsec(struct ptp *ptp) in read_ptp_tstmp_nsec()
231 struct ptp *ptp = first_ptp_block; in ptp_get() local
245 void ptp_put(struct ptp *ptp) in ptp_put()
253 static void ptp_atomic_update(struct ptp *ptp, u64 timestamp) in ptp_atomic_update()
275 static void ptp_atomic_adjtime(struct ptp *ptp, s64 delta) in ptp_atomic_adjtime()
312 static int ptp_adjfine(struct ptp *ptp, long scaled_ppm) in ptp_adjfine()
359 static int ptp_get_clock(struct ptp *ptp, u64 *clk) in ptp_get_clock()
369 struct ptp *ptp = rvu->ptp; in ptp_start() local
430 static int ptp_get_tstmp(struct ptp *ptp, u64 *clk) in ptp_get_tstmp()
444 static int ptp_set_thresh(struct ptp *ptp, u64 thresh) in ptp_set_thresh()
452 static int ptp_config_hrtimer(struct ptp *ptp, int on) in ptp_config_hrtimer()
467 static int ptp_pps_on(struct ptp *ptp, int on, u64 period) in ptp_pps_on()
520 struct ptp *ptp; in ptp_probe() local
574 struct ptp *ptp = pci_get_drvdata(pdev); in ptp_remove() local