Lines Matching defs:ptp

66 #define is_rev_A0(ptp) (((ptp)->pdev->revision & 0x0F) == 0x0)  argument
67 #define is_rev_A1(ptp) (((ptp)->pdev->revision & 0x0F) == 0x1) argument
79 static bool is_ptp_dev_cnf10ka(struct ptp *ptp) in is_ptp_dev_cnf10ka()
84 static bool is_ptp_dev_cn10ka(struct ptp *ptp) in is_ptp_dev_cn10ka()
89 static bool cn10k_ptp_errata(struct ptp *ptp) in cn10k_ptp_errata()
100 struct ptp *ptp = rvu->ptp; in is_tstmp_atomic_update_supported() local
117 struct ptp *ptp = container_of(hrtimer, struct ptp, hrtimer); in ptp_reset_thresh() local
143 static void ptp_hrtimer_start(struct ptp *ptp, ktime_t start_ns) in ptp_hrtimer_start()
152 static u64 read_ptp_tstmp_sec_nsec(struct ptp *ptp) in read_ptp_tstmp_sec_nsec()
171 static u64 read_ptp_tstmp_nsec(struct ptp *ptp) in read_ptp_tstmp_nsec()
230 struct ptp *ptp = first_ptp_block; in ptp_get() local
244 void ptp_put(struct ptp *ptp) in ptp_put()
252 static void ptp_atomic_update(struct ptp *ptp, u64 timestamp) in ptp_atomic_update()
274 static void ptp_atomic_adjtime(struct ptp *ptp, s64 delta) in ptp_atomic_adjtime()
311 static int ptp_adjfine(struct ptp *ptp, long scaled_ppm) in ptp_adjfine()
358 static int ptp_get_clock(struct ptp *ptp, u64 *clk) in ptp_get_clock()
368 struct ptp *ptp = rvu->ptp; in ptp_start() local
446 static int ptp_get_tstmp(struct ptp *ptp, u64 *clk) in ptp_get_tstmp()
460 static int ptp_set_thresh(struct ptp *ptp, u64 thresh) in ptp_set_thresh()
468 static int ptp_extts_on(struct ptp *ptp, int on) in ptp_extts_on()
488 struct ptp *ptp; in ptp_probe() local
542 struct ptp *ptp = pci_get_drvdata(pdev); in ptp_remove() local