Lines Matching refs:dsa_switch
47 struct dsa_switch *ds;
155 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg);
156 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val);
157 void ksz_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode,
159 int ksz_sset_count(struct dsa_switch *ds, int port, int sset);
160 void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf);
161 int ksz_port_bridge_join(struct dsa_switch *ds, int port,
163 void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
165 void ksz_port_fast_age(struct dsa_switch *ds, int port);
166 int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb,
168 int ksz_port_mdb_add(struct dsa_switch *ds, int port,
170 int ksz_port_mdb_del(struct dsa_switch *ds, int port,
172 int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);