Lines Matching refs:mt7530_priv
71 core_read_mmd_indirect(struct mt7530_priv *priv, int prtad, int devad)
102 core_write_mmd_indirect(struct mt7530_priv *priv, int prtad,
133 core_write(struct mt7530_priv *priv, u32 reg, u32 val)
145 core_rmw(struct mt7530_priv *priv, u32 reg, u32 mask, u32 set)
161 core_set(struct mt7530_priv *priv, u32 reg, u32 val)
167 core_clear(struct mt7530_priv *priv, u32 reg, u32 val)
173 mt7530_mii_write(struct mt7530_priv *priv, u32 reg, u32 val)
202 mt7530_mii_read(struct mt7530_priv *priv, u32 reg)
226 mt7530_write(struct mt7530_priv *priv, u32 reg, u32 val)
259 mt7530_read(struct mt7530_priv *priv, u32 reg)
268 mt7530_rmw(struct mt7530_priv *priv, u32 reg,
285 mt7530_set(struct mt7530_priv *priv, u32 reg, u32 val)
291 mt7530_clear(struct mt7530_priv *priv, u32 reg, u32 val)
297 mt7530_fdb_cmd(struct mt7530_priv *priv, enum mt7530_fdb_cmd cmd, u32 *rsp)
329 mt7530_fdb_read(struct mt7530_priv *priv, struct mt7530_fdb *fdb)
355 mt7530_fdb_write(struct mt7530_priv *priv, u16 vid,
386 struct mt7530_priv *priv = ds->priv;
493 static bool mt7531_dual_sgmii_supported(struct mt7530_priv *priv)
509 mt7531_pll_setup(struct mt7530_priv *priv)
601 struct mt7530_priv *priv = ds->priv;
609 struct mt7530_priv *priv = ds->priv;
617 struct mt7530_priv *priv = ds->priv;
623 mt7531_ind_c45_phy_read(struct mt7530_priv *priv, int port, int devad,
672 mt7531_ind_c45_phy_write(struct mt7530_priv *priv, int port, int devad,
720 mt7531_ind_c22_phy_read(struct mt7530_priv *priv, int port, int regnum)
758 mt7531_ind_c22_phy_write(struct mt7530_priv *priv, int port, int regnum,
798 struct mt7530_priv *priv = ds->priv;
817 struct mt7530_priv *priv = ds->priv;
851 struct mt7530_priv *priv = ds->priv;
879 struct mt7530_priv *priv = ds->priv;
951 struct mt7530_priv *priv = ds->priv;
985 struct mt7530_priv *priv = ds->priv;
1007 struct mt7530_priv *priv = ds->priv;
1025 struct mt7530_priv *priv = ds->priv;
1054 struct mt7530_priv *priv = ds->priv;
1091 struct mt7530_priv *priv = ds->priv;
1127 struct mt7530_priv *priv = ds->priv;
1152 struct mt7530_priv *priv = ds->priv;
1187 struct mt7530_priv *priv = ds->priv;
1203 struct mt7530_priv *priv = ds->priv;
1219 struct mt7530_priv *priv = ds->priv;
1251 mt7530_vlan_cmd(struct mt7530_priv *priv, enum mt7530_vlan_cmd cmd, u16 vid)
1310 mt7530_hw_vlan_add(struct mt7530_priv *priv,
1346 mt7530_hw_vlan_del(struct mt7530_priv *priv,
1376 mt7530_hw_vlan_update(struct mt7530_priv *priv, u16 vid,
1403 struct mt7530_priv *priv = ds->priv;
1428 struct mt7530_priv *priv = ds->priv;
1470 struct mt7530_priv *priv = ds->priv;
1507 struct mt7530_priv *priv = ds->priv;
1531 struct mt7530_priv *priv = ds->priv;
1545 struct mt7530_priv *priv = ds->priv;
1697 struct mt7530_priv *priv = ds->priv;
1814 struct mt7530_priv *priv = ds->priv;
1841 static bool mt7531_is_rgmii_port(struct mt7530_priv *priv, u32 port)
1850 struct mt7530_priv *priv = ds->priv;
1879 struct mt7530_priv *priv = ds->priv;
1887 struct mt7530_priv *priv = ds->priv;
1896 struct mt7530_priv *priv = ds->priv;
1907 static int mt7531_rgmii_setup(struct mt7530_priv *priv, u32 port,
1954 static void mt7531_sgmii_validate(struct mt7530_priv *priv, int port,
1971 struct mt7530_priv *priv = ds->priv;
2010 static int mt7531_sgmii_setup_mode_force(struct mt7530_priv *priv, u32 port,
2044 static int mt7531_sgmii_setup_mode_an(struct mt7530_priv *priv, int port,
2074 struct mt7530_priv *priv = ds->priv;
2089 struct mt7530_priv *priv = ds->priv;
2126 struct mt7530_priv *priv = ds->priv;
2135 struct mt7530_priv *priv = ds->priv;
2198 struct mt7530_priv *priv = ds->priv;
2210 struct mt7530_priv *priv = ds->priv;
2219 struct mt7530_priv *priv = ds->priv;
2234 struct mt7530_priv *priv = ds->priv;
2272 struct mt7530_priv *priv = ds->priv;
2320 struct mt7530_priv *priv = ds->priv;
2331 struct mt7530_priv *priv = ds->priv;
2374 struct mt7530_priv *priv = ds->priv;
2411 mt7531_sgmii_pcs_get_state_an(struct mt7530_priv *priv, int port,
2453 struct mt7530_priv *priv = ds->priv;
2465 struct mt7530_priv *priv = ds->priv;
2473 struct mt7530_priv *priv = ds->priv;
2481 struct mt7530_priv *priv = ds->priv;
2489 struct mt7530_priv *priv = ds->priv;
2574 struct mt7530_priv *priv;
2660 struct mt7530_priv *priv = dev_get_drvdata(&mdiodev->dev);