/linux-master/drivers/net/ethernet/apm/xgene-v2/ |
H A D | mdio.c | 66 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 D | emac-phy.c | 124 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 D | emac.h | 328 struct phy_device *phydev; member in struct:emac_adapter
|
/linux-master/arch/arm/mach-imx/ |
H A D | mach-imx6q.c | 24 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 D | mpc85xx_mds.c | 56 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 D | b53_common.c | 983 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 D | b53_priv.h | 364 struct phy_device *phydev,
|
/linux-master/drivers/net/dsa/ |
H A D | bcm_sf2.c | 611 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 D | lan9303-core.c | 1299 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 D | lantiq_gswip.c | 693 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 D | mt7530.c | 2807 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 D | rzn1_a5psw.c | 269 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 D | vitesse-vsc73xx-core.c | 717 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 D | ksz8.h | 61 struct phy_device *phydev, int speed, int duplex,
|
H A D | ksz8795.c | 1706 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 D | ksz9477.c | 492 if (p->phydev.speed == SPEED_1000)
|
H A D | ksz_common.c | 292 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 D | ksz_common.h | 115 struct phy_device phydev; member in struct:ksz_port 358 struct phy_device *phydev, int speed,
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | chip.c | 957 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 D | felix.c | 1094 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 D | ar9331.c | 561 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 D | qca8k-8xxx.c | 1439 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 D | rtl8365mb.c | 1107 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 D | rtl8366rb.c | 1081 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 D | sja1105_main.c | 1382 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
|