Lines Matching defs:cpts

189 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp)  in am65_cpts_settime()
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() local
386 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjfreq() local
428 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjtime() local
444 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_gettimex() local
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() local
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() local
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() local
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() local
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() local
933 struct am65_cpts *cpts; in am65_cpts_create() local
1039 struct am65_cpts *cpts; in am65_cpts_probe() local