| H A D | cpts.c | 21 #include "cpts.h" 50 static int cpts_fifo_pop(struct cpts *cpts, u32 *high, u32 *low) in cpts_fifo_pop() argument 52 u32 r = cpts_read32(cpts, intstat_raw); in cpts_fifo_pop() 55 *high = cpts_read32(cpts, event_high); in cpts_fifo_pop() 56 *low = cpts_read32(cpts, event_low); in cpts_fifo_pop() 57 cpts_write32(cpts, EVENT_POP, event_pop); in cpts_fifo_pop() 63 static int cpts_purge_events(struct cpts *cpts) in cpts_purge_events() argument 69 list_for_each_safe(this, next, &cpts in cpts_purge_events() 83 cpts_purge_txq(struct cpts * cpts) cpts_purge_txq() argument 105 cpts_fifo_read(struct cpts * cpts,int match) cpts_fifo_read() argument 178 cpts_misc_interrupt(struct cpts * cpts) cpts_misc_interrupt() argument 186 struct cpts *cpts = container_of(cc, struct cpts, cc); cpts_systim_read() local 191 cpts_update_cur_time(struct cpts * cpts,int match,struct ptp_system_timestamp * sts) cpts_update_cur_time() argument 218 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_adjfine() local 232 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_adjtime() local 245 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_gettimeex() local 263 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_settime() local 275 cpts_extts_enable(struct cpts * cpts,u32 index,int on) cpts_extts_enable() argument 302 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_ptp_enable() local 314 cpts_match_tx_ts(struct cpts * cpts,struct cpts_event * event) cpts_match_tx_ts() argument 365 cpts_process_events(struct cpts * cpts) cpts_process_events() argument 394 struct cpts *cpts = container_of(ptp, struct cpts, info); cpts_overflow_check() local 457 cpts_find_ts(struct cpts * cpts,struct sk_buff * skb,int ev_type,u32 skb_mtype_seqid) cpts_find_ts() argument 493 cpts_rx_timestamp(struct cpts * cpts,struct sk_buff * skb) cpts_rx_timestamp() argument 523 cpts_tx_timestamp(struct cpts * cpts,struct sk_buff * skb) cpts_tx_timestamp() argument 549 cpts_register(struct cpts * cpts) cpts_register() argument 585 cpts_unregister(struct cpts * cpts) cpts_unregister() argument 604 cpts_calc_mult_shift(struct cpts * cpts) cpts_calc_mult_shift() argument 651 cpts_of_mux_clk_setup(struct cpts * cpts,struct device_node * node) cpts_of_mux_clk_setup() argument 724 cpts_of_parse(struct cpts * cpts,struct device_node * node) cpts_of_parse() argument 749 struct cpts *cpts; cpts_create() local 800 cpts_release(struct cpts * cpts) cpts_release() argument [all...] |