Searched refs:phydev (Results 1 - 25 of 260) sorted by path

1234567891011

/linux-master/drivers/net/ethernet/apm/xgene-v2/
H A Dmdio.c66 struct phy_device *phydev = ndev->phydev; local
68 if (phydev->link) {
69 if (pdata->phy_speed != phydev->speed) {
70 pdata->phy_speed = phydev->speed;
73 phy_print_status(phydev);
79 phy_print_status(phydev);
89 if (ndev->phydev)
90 phy_disconnect(ndev->phydev);
104 struct phy_device *phydev; local
[all...]
/linux-master/drivers/net/ethernet/qualcomm/emac/
H A Demac-phy.c124 adpt->phydev = phy_find_first(mii_bus);
126 adpt->phydev = mdiobus_get_phy(mii_bus, phy_addr);
128 /* of_phy_find_device() claims a reference to the phydev,
133 if (adpt->phydev)
134 get_device(&adpt->phydev->mdio.dev);
145 adpt->phydev = of_phy_find_device(phy_np);
149 if (!adpt->phydev) {
H A Demac.h328 struct phy_device *phydev; member in struct:emac_adapter
/linux-master/arch/arm/mach-imx/
H A Dmach-imx6q.c24 static int ksz9021rn_phy_fixup(struct phy_device *phydev) argument
28 phy_write(phydev, MICREL_KSZ9021_EXTREG_CTRL,
30 phy_write(phydev, MICREL_KSZ9021_EXTREG_DATA_WRITE, 0x0000);
33 phy_write(phydev, MICREL_KSZ9021_EXTREG_CTRL,
35 phy_write(phydev, MICREL_KSZ9021_EXTREG_DATA_WRITE, 0xf0f0);
36 phy_write(phydev, MICREL_KSZ9021_EXTREG_CTRL,
/linux-master/arch/powerpc/platforms/85xx/
H A Dmpc85xx_mds.c56 static int mpc8568_fixup_125_clock(struct phy_device *phydev) argument
62 scr = phy_read(phydev, MV88E1111_SCR);
67 err = phy_write(phydev, MV88E1111_SCR, scr & ~(MV88E1111_SCR_125CLK));
72 err = phy_write(phydev, MII_BMCR, BMCR_RESET);
77 scr = phy_read(phydev, MV88E1111_SCR);
82 err = phy_write(phydev, MV88E1111_SCR, scr | 0x0008);
87 static int mpc8568_mds_phy_fixups(struct phy_device *phydev) argument
93 err = phy_write(phydev,29, 0x0006);
98 temp = phy_read(phydev, 30);
104 err = phy_write(phydev,3
[all...]
/linux-master/drivers/net/dsa/b53/
H A Db53_common.c983 struct phy_device *phydev; local
991 phydev = b53_get_phy_device(ds, port);
992 if (!phydev)
995 phy_ethtool_get_strings(phydev, data);
1035 struct phy_device *phydev; local
1037 phydev = b53_get_phy_device(ds, port);
1038 if (!phydev)
1041 phy_ethtool_get_stats(phydev, NULL, data);
1048 struct phy_device *phydev; local
1053 phydev
1269 b53_adjust_link(struct dsa_switch *ds, int port, struct phy_device *phydev) argument
1450 b53_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
[all...]
H A Db53_priv.h364 struct phy_device *phydev,
/linux-master/drivers/net/dsa/
H A Dbcm_sf2.c611 struct phy_device *phydev; local
677 phydev = of_phy_find_device(child);
678 if (phydev)
679 phy_device_remove(phydev);
833 struct phy_device *phydev,
889 if (mode == MLO_AN_PHY && phydev)
890 p->eee_enabled = b53_eee_init(ds, port, phydev);
830 bcm_sf2_sw_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dlan9303-core.c1299 struct phy_device *phydev, int speed,
1296 lan9303_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dlantiq_gswip.c693 struct phy_device *phydev)
720 if (phydev)
721 mdio_phy = phydev->mdio.addr & GSWIP_MDIO_PHY_ADDR_MASK;
1744 struct phy_device *phydev,
692 gswip_port_enable(struct dsa_switch *ds, int port, struct phy_device *phydev) argument
1741 gswip_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dmt7530.c2807 struct phy_device *phydev)
2822 if (!phydev || phy_driver_is_genphy(phydev)) {
2850 struct phy_device *phydev; local
2855 phydev = dp->user->phydev;
2856 mt7531_rgmii_setup(priv, port, interface, phydev);
2904 struct phy_device *phydev,
2931 if (mode == MLO_AN_PHY && phydev && phy_init_eee(phydev, fals
2805 mt7531_rgmii_setup(struct mt7530_priv *priv, u32 port, phy_interface_t interface, struct phy_device *phydev) argument
2901 mt753x_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
[all...]
H A Drzn1_a5psw.c269 struct phy_device *phydev, int speed,
266 a5psw_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dvitesse-vsc73xx-core.c717 int port, struct phy_device *phydev,
757 struct phy_device *phydev)
781 if (!phydev->link) {
831 if (phydev->speed == SPEED_1000) {
836 if (phydev->interface == PHY_INTERFACE_MODE_RGMII)
840 vsc73xx_adjust_enable_port(vsc, port, phydev, val);
841 } else if (phydev->speed == SPEED_100) {
842 if (phydev->duplex == DUPLEX_FULL) {
853 vsc73xx_adjust_enable_port(vsc, port, phydev, val);
854 } else if (phydev
716 vsc73xx_adjust_enable_port(struct vsc73xx *vsc, int port, struct phy_device *phydev, u32 initval) argument
756 vsc73xx_adjust_link(struct dsa_switch *ds, int port, struct phy_device *phydev) argument
[all...]
/linux-master/drivers/net/dsa/microchip/
H A Dksz8.h61 struct phy_device *phydev, int speed, int duplex,
H A Dksz8795.c1706 struct phy_device *phydev, int speed, int duplex,
1704 ksz8_phylink_mac_link_up(struct ksz_device *dev, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dksz9477.c492 if (p->phydev.speed == SPEED_1000)
H A Dksz_common.c292 struct phy_device *phydev, int speed,
3193 struct phy_device *phydev, int speed,
3205 p->phydev.speed = speed;
3215 struct phy_device *phydev, int speed,
3220 dev->dev_ops->phylink_mac_link_up(dev, port, mode, interface, phydev,
3190 ksz9477_phylink_mac_link_up(struct ksz_device *dev, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
3212 ksz_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dksz_common.h115 struct phy_device phydev; member in struct:ksz_port
358 struct phy_device *phydev, int speed,
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c957 struct phy_device *phydev,
955 mv88e6xxx_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
/linux-master/drivers/net/dsa/ocelot/
H A Dfelix.c1094 struct phy_device *phydev,
1101 ocelot_phylink_mac_link_up(ocelot, port, phydev, link_an_mode,
1110 struct phy_device *phydev)
1091 felix_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int link_an_mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
1109 felix_port_enable(struct dsa_switch *ds, int port, struct phy_device *phydev) argument
/linux-master/drivers/net/dsa/qca/
H A Dar9331.c561 struct phy_device *phydev,
558 ar9331_sw_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Dqca8k-8xxx.c1439 phy_interface_t interface, struct phy_device *phydev,
1438 qca8k_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
/linux-master/drivers/net/dsa/realtek/
H A Drtl8365mb.c1107 struct phy_device *phydev, int speed,
1104 rtl8365mb_phylink_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
H A Drtl8366rb.c1081 phy_interface_t interface, struct phy_device *phydev,
1080 rtl8366rb_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_main.c1382 struct phy_device *phydev,
1379 sja1105_mac_link_up(struct dsa_switch *ds, int port, unsigned int mode, phy_interface_t interface, struct phy_device *phydev, int speed, int duplex, bool tx_pause, bool rx_pause) argument

Completed in 636 milliseconds

1234567891011