Lines Matching refs:ds

976 					 dp->ds->index, dp->index, led_group);
1013 struct dsa_switch *ds = &priv->ds;
1017 dsa_switch_for_each_port(dp, ds) {
1044 static int rtl8366rb_setup(struct dsa_switch *ds)
1046 struct realtek_priv *priv = ds->priv;
1129 RTL8366RB_PORT_ISO_PORTS(dsa_user_ports(ds)) |
1264 ret = rtl83xx_setup_user_mdio(ds);
1273 static enum dsa_tag_protocol rtl8366_get_tag_protocol(struct dsa_switch *ds,
1281 static void rtl8366rb_phylink_get_caps(struct dsa_switch *ds, int port,
1285 struct realtek_priv *priv = ds->priv;
1319 struct realtek_priv *priv = dp->ds->priv;
1390 struct realtek_priv *priv = dp->ds->priv;
1409 rtl8366rb_port_enable(struct dsa_switch *ds, int port,
1412 struct realtek_priv *priv = ds->priv;
1425 rtl8366rb_port_disable(struct dsa_switch *ds, int port)
1427 struct realtek_priv *priv = ds->priv;
1438 rtl8366rb_port_bridge_join(struct dsa_switch *ds, int port,
1443 struct realtek_priv *priv = ds->priv;
1453 if (!dsa_port_offloads_bridge(dsa_to_port(ds, i), &bridge))
1472 rtl8366rb_port_bridge_leave(struct dsa_switch *ds, int port,
1475 struct realtek_priv *priv = ds->priv;
1485 if (!dsa_port_offloads_bridge(dsa_to_port(ds, i), &bridge))
1516 static int rtl8366rb_vlan_filtering(struct dsa_switch *ds, int port,
1520 struct realtek_priv *priv = ds->priv;
1548 rtl8366rb_port_pre_bridge_flags(struct dsa_switch *ds, int port,
1560 rtl8366rb_port_bridge_flags(struct dsa_switch *ds, int port,
1564 struct realtek_priv *priv = ds->priv;
1579 rtl8366rb_port_stp_state_set(struct dsa_switch *ds, int port, u8 state)
1581 struct realtek_priv *priv = ds->priv;
1613 rtl8366rb_port_fast_age(struct dsa_switch *ds, int port)
1615 struct realtek_priv *priv = ds->priv;
1625 static int rtl8366rb_change_mtu(struct dsa_switch *ds, int port, int new_mtu)
1627 struct realtek_priv *priv = ds->priv;
1672 static int rtl8366rb_max_mtu(struct dsa_switch *ds, int port)
1843 struct dsa_switch *ds = &priv->ds;
1868 if (dsa_port_is_vlan_filtering(dsa_to_port(ds, port)))