Lines Matching defs:ds
87 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_set()
135 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr) in sja1105_hwtstamp_get()
154 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info()
209 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit()
243 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct()
288 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll()
381 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local
417 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, in sja1105_port_rxtstamp()
438 bool sja1105_port_txtstamp(struct dsa_switch *ds, int port, in sja1105_port_txtstamp()
450 static int sja1105_ptp_reset(struct dsa_switch *ds) in sja1105_ptp_reset()
472 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, in __sja1105_ptp_gettimex()
524 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, in __sja1105_ptp_settime()
591 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) in __sja1105_ptp_adjtime()
841 int sja1105_ptp_clock_register(struct dsa_switch *ds) in sja1105_ptp_clock_register()
879 void sja1105_ptp_clock_unregister(struct dsa_switch *ds) in sja1105_ptp_clock_unregister()
894 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int port, in sja1105_ptp_txtstamp_skb()