Lines Matching refs:am65_cpts

156 struct am65_cpts {  struct
204 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() argument
216 static void am65_cpts_set_add_val(struct am65_cpts *cpts) in am65_cpts_set_add_val()
224 static void am65_cpts_disable(struct am65_cpts *cpts) in am65_cpts_disable()
242 static int am65_cpts_cpts_purge_events(struct am65_cpts *cpts) in am65_cpts_cpts_purge_events()
262 static bool am65_cpts_fifo_pop_event(struct am65_cpts *cpts, in am65_cpts_fifo_pop_event()
278 static int am65_cpts_fifo_read(struct am65_cpts *cpts) in am65_cpts_fifo_read()
367 static u64 am65_cpts_gettime(struct am65_cpts *cpts, in am65_cpts_gettime()
397 struct am65_cpts *cpts = dev_id; in am65_cpts_interrupt()
408 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjfine()
497 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjtime()
513 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_gettimex()
524 u64 am65_cpts_ns_gettime(struct am65_cpts *cpts) in am65_cpts_ns_gettime()
540 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_settime()
551 static void am65_cpts_extts_enable_hw(struct am65_cpts *cpts, u32 index, int on) in am65_cpts_extts_enable_hw()
566 static int am65_cpts_extts_enable(struct am65_cpts *cpts, u32 index, int on) in am65_cpts_extts_enable()
587 int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, in am65_cpts_estf_enable()
619 void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) in am65_cpts_estf_disable()
628 static void am65_cpts_perout_enable_hw(struct am65_cpts *cpts, in am65_cpts_perout_enable_hw()
665 static int am65_cpts_perout_enable(struct am65_cpts *cpts, in am65_cpts_perout_enable()
687 static int am65_cpts_pps_enable(struct am65_cpts *cpts, int on) in am65_cpts_pps_enable()
732 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_enable()
761 static bool am65_cpts_match_tx_ts(struct am65_cpts *cpts, in am65_cpts_match_tx_ts()
824 static void am65_cpts_find_ts(struct am65_cpts *cpts) in am65_cpts_find_ts()
853 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ts_work()
875 void am65_cpts_rx_enable(struct am65_cpts *cpts, bool en) in am65_cpts_rx_enable()
922 void am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_tx_timestamp()
949 void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_prep_tx_timestamp()
967 int am65_cpts_phc_index(struct am65_cpts *cpts) in am65_cpts_phc_index()
975 struct am65_cpts *cpts = data; in cpts_free_clk_mux()
982 static int cpts_of_mux_clk_setup(struct am65_cpts *cpts, in cpts_of_mux_clk_setup()
1048 static int am65_cpts_of_parse(struct am65_cpts *cpts, struct device_node *node) in am65_cpts_of_parse()
1078 void am65_cpts_release(struct am65_cpts *cpts) in am65_cpts_release()
1086 struct am65_cpts *am65_cpts_create(struct device *dev, void __iomem *regs, in am65_cpts_create()
1089 struct am65_cpts *cpts; in am65_cpts_create()
1186 void am65_cpts_suspend(struct am65_cpts *cpts) in am65_cpts_suspend()
1207 void am65_cpts_resume(struct am65_cpts *cpts) in am65_cpts_resume()
1256 struct am65_cpts *cpts; in am65_cpts_probe()