• Home
  • Raw
  • Download

Lines Matching +full:mt7531 +full:- +full:dsa +full:- +full:port

1 /* SPDX-License-Identifier: GPL-2.0-only */
161 /* Register for port STP state control */
174 /* Register for port control */
181 /* Port Matrix Mode: Frames are forwarded by the PCR_MATRIX members. */
203 /* Register for port security control */
207 /* Register for port vlan control */
227 /* Register for port port-and-protocol based vlan 1 control */
233 /* Register for port MAC control register */
288 /* Register for port debug count */
310 /* MT7531 SGMII register group */
313 ((p) - 5) * 0x1000 + (r))
432 /* Unique fields of (M)HWSTRAP for MT7531 */
617 /* struct mt7530_port - This is the main data structure for holding the state
618 * of the port.
619 * @enable: The status used for show port is enabled or not.
620 * @pm: The matrix used to show all connections with the port.
623 * @vlan_filtering: The flags indicating whether the port that can recognize
624 * VLAN-tagged frames.
632 /* Port 5 interface select definitions */
659 /* struct mt753x_info - This is the main data structure for holding the specific
662 * @phy_read: Holding the way reading PHY port
663 * @phy_write: Holding the way writing PHY port
665 * MAC port
667 * port
669 * certan MAC port
671 * MAC port
673 * certain MAC port
675 * certain MAC port
677 * of the certain MAC port
683 int (*phy_read)(struct dsa_switch *ds, int port, int regnum);
684 int (*phy_write)(struct dsa_switch *ds, int port, int regnum, u16 val);
686 int (*cpu_port_config)(struct dsa_switch *ds, int port);
687 bool (*phy_mode_supported)(struct dsa_switch *ds, int port,
689 void (*mac_port_validate)(struct dsa_switch *ds, int port,
691 int (*mac_port_get_state)(struct dsa_switch *ds, int port,
693 int (*mac_port_config)(struct dsa_switch *ds, int port,
696 void (*mac_pcs_an_restart)(struct dsa_switch *ds, int port);
697 void (*mac_pcs_link_up)(struct dsa_switch *ds, int port,
702 /* struct mt7530_priv - This is the main data structure for holding the state
705 * @ds: The pointer to the dsa core structure
706 * @bus: The bus used for the device and built-in PHY
716 * @p6_interface Holding the current port 6 interface
717 * @p5_intf_sel: Holding the current port 5 interface select
742 int port; member
748 int port, bool untagged) in mt7530_hw_vlan_entry_init() argument
750 e->port = port; in mt7530_hw_vlan_entry_init()
751 e->untagged = untagged; in mt7530_hw_vlan_entry_init()
771 p->priv = priv; in INIT_MT7530_DUMMY_POLL()
772 p->reg = reg; in INIT_MT7530_DUMMY_POLL()