Searched defs:cpts (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/net/ethernet/ti/ |
H A D | cpts.h | 100 struct cpts { struct 102 struct cpsw_cpts __iomem *reg; argument 115 struct cpts_event pool_data[CPTS_MAX_EVENTS]; argument 126 void cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb); argument 135 static inline bool cpts_can_timestamp(struct cpts *cpts, struct sk_buff *skb) in cpts_can_timestamp() 145 static inline void cpts_set_irqpoll(struct cpts *cpts, bool en) in cpts_set_irqpoll() 153 static inline void cpts_rx_timestamp(struct cpts *cpts, struct sk_buff *skb) in cpts_rx_timestamp() 156 static inline void cpts_tx_timestamp(struct cpts *cpts, struct sk_buff *skb) in cpts_tx_timestamp() 167 static inline void cpts_release(struct cpts *cpts) in cpts_release() 172 cpts_register(struct cpts *cpts) in cpts_register() [all …]
|
H A D | cpts.c | 50 static int cpts_fifo_pop(struct cpts *cpts, u32 *high, u32 *low) in cpts_fifo_pop() 63 static int cpts_purge_events(struct cpts *cpts) in cpts_purge_events() 83 static void cpts_purge_txq(struct cpts *cpts) in cpts_purge_txq() 105 static int cpts_fifo_read(struct cpts *cpts, int match) in cpts_fifo_read() 178 void cpts_misc_interrupt(struct cpts *cpts) in cpts_misc_interrupt() 186 struct cpts *cpts = container_of(cc, struct cpts, cc); in cpts_systim_read() local 191 static void cpts_update_cur_time(struct cpts *cpts, int match, in cpts_update_cur_time() 218 struct cpts *cpts = container_of(ptp, struct cpts, info); in cpts_ptp_adjfine() local 232 struct cpts *cpts = container_of(ptp, struct cpts, info); in cpts_ptp_adjtime() local 245 struct cpts *cpts = container_of(ptp, struct cpts, info); in cpts_ptp_gettimeex() local [all …]
|
H A D | am65-cpts.h | 35 static inline void am65_cpts_release(struct am65_cpts *cpts) in am65_cpts_release() 46 static inline int am65_cpts_phc_index(struct am65_cpts *cpts) in am65_cpts_phc_index() 51 static inline void am65_cpts_rx_timestamp(struct am65_cpts *cpts, in am65_cpts_rx_timestamp() 56 static inline void am65_cpts_tx_timestamp(struct am65_cpts *cpts, in am65_cpts_tx_timestamp() 61 static inline void am65_cpts_prep_tx_timestamp(struct am65_cpts *cpts, in am65_cpts_prep_tx_timestamp() 66 static inline s64 am65_cpts_ns_gettime(struct am65_cpts *cpts) in am65_cpts_ns_gettime() 71 static inline int am65_cpts_estf_enable(struct am65_cpts *cpts, int idx, in am65_cpts_estf_enable() 77 static inline void am65_cpts_estf_disable(struct am65_cpts *cpts, int idx) in am65_cpts_estf_disable() 81 static inline void am65_cpts_suspend(struct am65_cpts *cpts) in am65_cpts_suspend() 85 static inline void am65_cpts_resume(struct am65_cpts *cpts) in am65_cpts_resume()
|
H A D | am65-cpts.c | 204 static void am65_cpts_settime(struct am65_cpts *cpts, u64 start_tstamp) in am65_cpts_settime() 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() local 415 struct am65_cpts *cpts = container_of(ptp, struct am65_cpts, ptp_info); in am65_cpts_ptp_adjfine() local [all …]
|
H A D | am65-cpsw-qos.c | 746 struct am65_cpts *cpts = common->cpts; in am65_cpsw_timer_set() local 758 struct am65_cpts *cpts = port->common->cpts; in am65_cpsw_timer_stop() local 768 struct am65_cpts *cpts = port->common->cpts; in am65_cpsw_timer_act() local 839 struct am65_cpts *cpts = common->cpts; in am65_cpsw_taprio_replace() local
|
H A D | am65-cpsw-nuss.h | 172 struct am65_cpts *cpts; member
|
H A D | netcp_ethss.c | 754 struct cpts *cpts; member 2597 struct cpts *cpts = gbe_dev->cpts; in gbe_hwtstamp_get() local 2643 struct cpts *cpts = gbe_dev->cpts; in gbe_hwtstamp_set() local
|
H A D | am65-cpsw-nuss.c | 2647 struct am65_cpts *cpts; in am65_cpsw_init_cpts() local
|