Lines Matching refs:am65_cpts
156 struct am65_cpts { struct
189 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() argument
201 static void am65_cpts_set_add_val(struct am65_cpts *cpts) in am65_cpts_set_add_val()
209 static void am65_cpts_disable(struct am65_cpts *cpts) in am65_cpts_disable()
227 static int am65_cpts_cpts_purge_events(struct am65_cpts *cpts) in am65_cpts_cpts_purge_events()
247 static bool am65_cpts_fifo_pop_event(struct am65_cpts *cpts, in am65_cpts_fifo_pop_event()
263 static int am65_cpts_fifo_read(struct am65_cpts *cpts) in am65_cpts_fifo_read()
345 static u64 am65_cpts_gettime(struct am65_cpts *cpts, in am65_cpts_gettime()
375 struct am65_cpts *cpts = dev_id; in am65_cpts_interrupt()
386 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjfreq()
428 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjtime()
444 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_gettimex()
455 u64 am65_cpts_ns_gettime(struct am65_cpts *cpts) in am65_cpts_ns_gettime()
471 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_settime()
482 static void am65_cpts_extts_enable_hw(struct am65_cpts *cpts, u32 index, int on) in am65_cpts_extts_enable_hw()
497 static int am65_cpts_extts_enable(struct am65_cpts *cpts, u32 index, int on) in am65_cpts_extts_enable()
512 int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, in am65_cpts_estf_enable()
539 void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) in am65_cpts_estf_disable()
547 static void am65_cpts_perout_enable_hw(struct am65_cpts *cpts, in am65_cpts_perout_enable_hw()
580 static int am65_cpts_perout_enable(struct am65_cpts *cpts, in am65_cpts_perout_enable()
599 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_enable()
626 static bool am65_cpts_match_tx_ts(struct am65_cpts *cpts, in am65_cpts_match_tx_ts()
684 static void am65_cpts_find_ts(struct am65_cpts *cpts) in am65_cpts_find_ts()
713 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ts_work()
735 void am65_cpts_rx_enable(struct am65_cpts *cpts, bool en) in am65_cpts_rx_enable()
782 void am65_cpts_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_tx_timestamp()
809 void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, struct sk_buff *skb) in am65_cpts_prep_tx_timestamp()
827 int am65_cpts_phc_index(struct am65_cpts *cpts) in am65_cpts_phc_index()
835 struct am65_cpts *cpts = data; in cpts_free_clk_mux()
842 static int cpts_of_mux_clk_setup(struct am65_cpts *cpts, in cpts_of_mux_clk_setup()
908 static int am65_cpts_of_parse(struct am65_cpts *cpts, struct device_node *node) in am65_cpts_of_parse()
923 struct am65_cpts *cpts = data; in am65_cpts_release()
930 struct am65_cpts *am65_cpts_create(struct device *dev, void __iomem *regs, in am65_cpts_create()
933 struct am65_cpts *cpts; in am65_cpts_create()
1039 struct am65_cpts *cpts; in am65_cpts_probe()