Lines Matching +full:static +full:- +full:enable

1 /* SPDX-License-Identifier: GPL-2.0+ */
30 u32 ts_load_en; /* Time stamp load enable */
34 u32 int_enable; /* Time sync interrupt enable */
52 #define HW4_TS_PUSH_EN (1<<11) /* Hardware push 4 enable */
53 #define HW3_TS_PUSH_EN (1<<10) /* Hardware push 3 enable */
54 #define HW2_TS_PUSH_EN (1<<9) /* Hardware push 2 enable */
55 #define HW1_TS_PUSH_EN (1<<8) /* Hardware push 1 enable */
57 #define CPTS_EN (1<<0) /* Time Sync Enable */
65 #define TS_PEND_RAW (1<<0) /* int read (before enable) */
66 #define TS_PEND (1<<0) /* masked interrupt read (after enable) */
67 #define TS_PEND_EN (1<<0) /* masked interrupt enable */
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()
147 cpts->irq_poll = 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()
160 static inline
167 static inline void cpts_release(struct cpts *cpts) in cpts_release()
171 static inline int
177 static inline void cpts_unregister(struct cpts *cpts) in cpts_unregister()
181 static inline bool cpts_can_timestamp(struct cpts *cpts, struct sk_buff *skb) in cpts_can_timestamp()
186 static inline void cpts_misc_interrupt(struct cpts *cpts) in cpts_misc_interrupt()
190 static inline void cpts_set_irqpoll(struct cpts *cpts, bool en) in cpts_set_irqpoll()