Lines Matching refs:dsa_switch
45 struct dsa_switch *ds;
151 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg);
152 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val);
153 void ksz_mac_link_down(struct dsa_switch *ds, int port, unsigned int mode,
155 int ksz_sset_count(struct dsa_switch *ds, int port, int sset);
156 void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf);
157 int ksz_port_bridge_join(struct dsa_switch *ds, int port,
159 void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
161 void ksz_port_fast_age(struct dsa_switch *ds, int port);
162 int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb,
164 int ksz_port_mdb_add(struct dsa_switch *ds, int port,
166 int ksz_port_mdb_del(struct dsa_switch *ds, int port,
168 int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);