Lines Matching refs:dsa_switch

74 int sja1105_ptp_clock_register(struct dsa_switch *ds);
76 void sja1105_ptp_clock_unregister(struct dsa_switch *ds);
84 int sja1105_get_ts_info(struct dsa_switch *ds, int port,
87 void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot,
90 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port,
93 void sja1105_port_txtstamp(struct dsa_switch *ds, int port,
96 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, struct ifreq *ifr);
98 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, struct ifreq *ifr);
100 int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns,
103 int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns,
106 int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta);
108 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd,
111 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
112 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
113 void sja1110_txtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb);
127 static inline int sja1105_ptp_clock_register(struct dsa_switch *ds) in sja1105_ptp_clock_register()
132 static inline void sja1105_ptp_clock_unregister(struct dsa_switch *ds) { } in sja1105_ptp_clock_unregister()
134 static inline void sja1105_ptp_txtstamp_skb(struct dsa_switch *ds, int slot, in sja1105_ptp_txtstamp_skb()
139 static inline int __sja1105_ptp_gettimex(struct dsa_switch *ds, u64 *ns, in __sja1105_ptp_gettimex()
145 static inline int __sja1105_ptp_settime(struct dsa_switch *ds, u64 ns, in __sja1105_ptp_settime()
151 static inline int __sja1105_ptp_adjtime(struct dsa_switch *ds, s64 delta) in __sja1105_ptp_adjtime()
156 static inline int sja1105_ptp_commit(struct dsa_switch *ds, in sja1105_ptp_commit()