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, struct ifreq *ifr);
117 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
119 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
122 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
125 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
127 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd,
130 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
131 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
132 void sja1110_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
134 void sja1110_process_meta_tstamp(struct dsa_switch *ds, int port, u8 ts_id,
149 static inline int sja1105_ptp_clock_register(struct dsa_switch *ds)
154 static inline void sja1105_ptp_clock_unregister(struct dsa_switch *ds) { }
156 static inline void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
161 static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
167 static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
173 static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta)
178 static inline int sja1105_ptp_commit(struct dsa_switch *ds,