Home
last modified time | relevance | path

Searched refs:mt7530_priv (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/dsa/
H A Dmt7530.c83 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad) in core_read_mmd_indirect()
114 core_write_mmd_indirect(struct mt7530_priv *priv, int prtad, in core_write_mmd_indirect()
145 mt7530_mutex_lock(struct mt7530_priv *priv) in mt7530_mutex_lock()
152 mt7530_mutex_unlock(struct mt7530_priv *priv) in mt7530_mutex_unlock()
159 core_write(struct mt7530_priv *priv, u32 reg, u32 val) in core_write()
169 core_rmw(struct mt7530_priv *priv, u32 reg, u32 mask, u32 set) in core_rmw()
184 core_set(struct mt7530_priv *priv, u32 reg, u32 val) in core_set()
190 core_clear(struct mt7530_priv *priv, u32 reg, u32 val) in core_clear()
196 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val) in mt7530_mii_write()
210 mt7530_mii_read(struct mt7530_priv *priv, u32 reg) in mt7530_mii_read()
[all …]
H A Dmt7530.h723 struct mt7530_priv;
727 struct mt7530_priv *priv;
753 int (*phy_read_c22)(struct mt7530_priv *priv, int port, int regnum);
754 int (*phy_write_c22)(struct mt7530_priv *priv, int port, int regnum,
756 int (*phy_read_c45)(struct mt7530_priv *priv, int port, int devad,
758 int (*phy_write_c45)(struct mt7530_priv *priv, int port, int devad,
794 struct mt7530_priv { struct
818 int (*create_sgmii)(struct mt7530_priv *priv, bool dual_sgmii); argument
834 typedef void (*mt7530_vlan_op)(struct mt7530_priv *,
844 struct mt7530_priv *priv;
[all …]
H A Dmt7530-mmio.c23 struct mt7530_priv *priv; in mt7988_probe()
69 struct mt7530_priv *priv = platform_get_drvdata(pdev); in mt7988_remove()
79 struct mt7530_priv *priv = platform_get_drvdata(pdev); in mt7988_shutdown()
H A Dmt7530-mdio.c84 mt7531_create_sgmii(struct mt7530_priv *priv, bool dual_sgmii) in mt7531_create_sgmii()
147 struct mt7530_priv *priv; in mt7530_probe()
223 struct mt7530_priv *priv = dev_get_drvdata(&mdiodev->dev); in mt7530_remove()
247 struct mt7530_priv *priv = dev_get_drvdata(&mdiodev->dev); in mt7530_shutdown()