Lines Matching refs:ds
93 int sja1105_ptp_clock_register(struct dsa_switch *ds);
95 void sja1105_ptp_clock_unregister(struct dsa_switch *ds);
103 int sja1105_get_ts_info(struct dsa_switch *ds, int port,
106 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
109 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
112 void sja1105_port_txtstamp(struct dsa_switch *ds, int port,
115 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port,
118 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port,
122 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
125 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
128 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
130 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd,
133 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
134 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
135 void sja1110_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
137 void sja1110_process_meta_tstamp(struct dsa_switch *ds, int port, u8 ts_id,
152 static inline int sja1105_ptp_clock_register(struct dsa_switch *ds)
157 static inline void sja1105_ptp_clock_unregister(struct dsa_switch *ds) { }
159 static inline void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
164 static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
170 static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
176 static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta)
181 static inline int sja1105_ptp_commit(struct dsa_switch *ds,