Lines Matching defs:mode

922 		/* Don't set delay in DSA mode */
939 dev_dbg(ds->dev, "Setup P5, HWTRAP=0x%x, intf_sel=%s, phy-mode=%s\n",
961 /* Enable Mediatek header mode on the cpu port */
1114 * the CPU port get out of VLAN filtering mode.
1129 /* Trapped into security mode allows packet forwarding through VLAN
1130 * table lookup. CPU port is set to fallback mode to let untagged
1335 * VLANs across and also being applied with egress type stack mode for
1893 mt7530_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
1914 dev_err(priv->dev, "RGMII mode is not available for port %d\n",
1968 unsigned int mode, phy_interface_t interface,
1974 /* For adjusting speed and duplex of SGMII force mode. */
1976 phylink_autoneg_inband(mode))
1979 /* SGMII force mode setting */
1995 /* MT7531 SGMII 1G force mode can only work in full duplex mode,
2032 /* MT7531 SGMII 1G and 2.5G force mode can only work in full duplex
2033 * mode, no matter MT7531_SGMII_FORCE_HALF_DUPLEX is set or not.
2086 mt7531_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
2111 if (phylink_autoneg_inband(mode))
2123 mt753x_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
2128 return priv->info->mac_port_config(ds, port, mode, state->interface);
2132 mt753x_phylink_mac_config(struct dsa_switch *ds, int port, unsigned int mode,
2150 if (mt753x_mac_config(ds, port, mode, state) < 0)
2162 if (mt753x_mac_config(ds, port, mode, state) < 0)
2174 if (phylink_autoneg_inband(mode) &&
2207 unsigned int mode,
2216 unsigned int mode, phy_interface_t interface,
2224 priv->info->mac_pcs_link_up(ds, port, mode, interface, speed, duplex);
2228 unsigned int mode,
2237 mt753x_mac_pcs_link_up(ds, port, mode, interface, speed, duplex);
2241 /* MT753x MAC works in 1G full duplex mode for all up-clocked