Lines Matching refs:dsa_switch
45 struct dsa_switch *ds;
161 int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg);
162 int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val);
163 void ksz_adjust_link(struct dsa_switch *ds, int port,
165 int ksz_sset_count(struct dsa_switch *ds, int port, int sset);
166 void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, uint64_t *buf);
167 int ksz_port_bridge_join(struct dsa_switch *ds, int port,
169 void ksz_port_bridge_leave(struct dsa_switch *ds, int port,
171 void ksz_port_fast_age(struct dsa_switch *ds, int port);
172 int ksz_port_vlan_prepare(struct dsa_switch *ds, int port,
174 int ksz_port_fdb_dump(struct dsa_switch *ds, int port, dsa_fdb_dump_cb_t *cb,
176 int ksz_port_mdb_prepare(struct dsa_switch *ds, int port,
178 void ksz_port_mdb_add(struct dsa_switch *ds, int port,
180 int ksz_port_mdb_del(struct dsa_switch *ds, int port,
182 int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
183 void ksz_disable_port(struct dsa_switch *ds, int port);