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()
362 static int am65_cpts_fifo_read(struct am65_cpts *cpts) in am65_cpts_fifo_read()
374 static u64 am65_cpts_gettime(struct am65_cpts *cpts, in am65_cpts_gettime()
404 struct am65_cpts *cpts = dev_id; in am65_cpts_interrupt()
415 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjfine()
504 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjtime()
520 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_gettimex()
531 u64 am65_cpts_ns_gettime(struct am65_cpts *cpts) in am65_cpts_ns_gettime()
547 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_settime()
558 static void am65_cpts_extts_enable_hw(struct am65_cpts *cpts, u32 index, int on) in am65_cpts_extts_enable_hw()
573 static int am65_cpts_extts_enable(struct am65_cpts *cpts, u32 index, int on) in am65_cpts_extts_enable()
594 int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, in am65_cpts_estf_enable()
626 void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) in am65_cpts_estf_disable()
635 static void am65_cpts_perout_enable_hw(struct am65_cpts *cpts, in am65_cpts_perout_enable_hw()
672 static int am65_cpts_perout_enable(struct am65_cpts *cpts, in am65_cpts_perout_enable()
694 static int am65_cpts_pps_enable(struct am65_cpts *cpts, int on) in am65_cpts_pps_enable()
739 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_enable()
768 static bool am65_cpts_match_tx_ts(struct am65_cpts *cpts, in am65_cpts_match_tx_ts()
831 static void am65_cpts_find_ts(struct am65_cpts *cpts) in am65_cpts_find_ts()
860 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ts_work()
898 static u64 am65_cpts_find_rx_ts(struct am65_cpts *cpts, u32 skb_mtype_seqid) in am65_cpts_find_rx_ts()
931 void am65_cpts_rx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_rx_timestamp()
969 void am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_tx_timestamp()
996 void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_prep_tx_timestamp()
1014 int am65_cpts_phc_index(struct am65_cpts *cpts) in am65_cpts_phc_index()
1022 struct am65_cpts *cpts = data; in cpts_free_clk_mux()
1029 static int cpts_of_mux_clk_setup(struct am65_cpts *cpts, in cpts_of_mux_clk_setup()
1095 static int am65_cpts_of_parse(struct am65_cpts *cpts, struct device_node *node) in am65_cpts_of_parse()
1125 void am65_cpts_release(struct am65_cpts *cpts) in am65_cpts_release()
1133 struct am65_cpts *am65_cpts_create(struct device *dev, void __iomem *regs, in am65_cpts_create()
1136 struct am65_cpts *cpts; in am65_cpts_create()
1233 void am65_cpts_suspend(struct am65_cpts *cpts) in am65_cpts_suspend()
1254 void am65_cpts_resume(struct am65_cpts *cpts) in am65_cpts_resume()
1303 struct am65_cpts *cpts; in am65_cpts_probe()