Home
last modified time | relevance | path

Searched refs:phy_interface (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c192 if (priv->phy_interface == PHY_INTERFACE_MODE_MII) { in bcmgenet_mii_config()
217 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
219 switch (priv->phy_interface) { in bcmgenet_mii_config()
236 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_config()
285 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
328 phy_flags, priv->phy_interface); in bcmgenet_mii_probe()
338 priv->phy_interface); in bcmgenet_mii_probe()
396 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init()
506 priv->phy_interface = phy_mode; in bcmgenet_mii_of_init()
512 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_mii_of_init()
[all …]
/Linux-v5.4/drivers/staging/netlogic/
Dplatform_net.c69 .phy_interface = PHY_INTERFACE_MODE_SGMII, in gmac_controller2_init()
140 ndata0.phy_interface = PHY_INTERFACE_MODE_RGMII; in xls_gmac_init()
154 ndata0.phy_interface = PHY_INTERFACE_MODE_SGMII; in xls_gmac_init()
177 .phy_interface = PHY_INTERFACE_MODE_RGMII, in xlr_gmac_init()
Dplatform_net.h15 int phy_interface; member
Dxlr_net.c284 if (priv->nd->phy_interface == PHY_INTERFACE_MODE_RGMII || in xlr_hw_set_mac_addr()
285 priv->nd->phy_interface == PHY_INTERFACE_MODE_SGMII) in xlr_hw_set_mac_addr()
794 xlr_gmac_link_adjust, priv->nd->phy_interface); in xlr_mii_probe()
860 priv->nd->phy_interface == PHY_INTERFACE_MODE_RGMII) in xlr_port_enable()
/Linux-v5.4/include/linux/
Dsh_eth.h11 phy_interface_t phy_interface; member
Dsmsc911x.h21 phy_interface_t phy_interface; member
Dstmmac.h134 int phy_interface; member
/Linux-v5.4/include/linux/platform_data/
Dbcmgenet.h11 phy_interface_t phy_interface; member
Dxilinx-ll-temac.h17 phy_interface_t phy_interface; /* PHY interface mode */ member
/Linux-v5.4/drivers/net/ethernet/freescale/
Ducc_geth.c1340 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1341 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1342 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1343 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1344 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1345 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1346 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1353 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1357 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1358 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
[all …]
/Linux-v5.4/arch/sh/boards/mach-rsk/
Ddevices-rsk7264.c17 .phy_interface = PHY_INTERFACE_MODE_MII,
Ddevices-rsk7269.c19 .phy_interface = PHY_INTERFACE_MODE_MII,
Ddevices-rsk7203.c21 .phy_interface = PHY_INTERFACE_MODE_MII,
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c415 plat->phy_interface = of_get_phy_mode(np); in stmmac_probe_config_dt()
416 if (plat->phy_interface < 0) in stmmac_probe_config_dt()
417 return ERR_PTR(plat->phy_interface); in stmmac_probe_config_dt()
421 plat->interface = plat->phy_interface; in stmmac_probe_config_dt()
/Linux-v5.4/arch/sh/boards/
Dboard-espt.c79 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-apsh4ad0a.c45 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-polaris.c53 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-apsh4a3a.c93 .phy_interface = PHY_INTERFACE_MODE_MII,
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1189 switch (port->phy_interface) { in mvpp22_gop_init()
1237 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_unmask_irq()
1238 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_unmask_irq()
1239 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_unmask_irq()
1249 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq()
1268 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_mask_irq()
1269 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_mask_irq()
1270 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_mask_irq()
1282 phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_setup_irq()
1283 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_setup_irq()
[all …]
/Linux-v5.4/arch/sh/boards/mach-sh7763rdp/
Dsetup.c87 .phy_interface = PHY_INTERFACE_MODE_MII,
/Linux-v5.4/arch/sh/boards/mach-se/770x/
Dsetup.c121 .phy_interface = PHY_INTERFACE_MODE_MII,
/Linux-v5.4/arch/sh/boards/mach-sdk7786/
Dsetup.c65 .phy_interface = PHY_INTERFACE_MODE_MII,
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-class-net-phydev29 What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
/Linux-v5.4/Documentation/networking/
Dsfp-phylink.rst156 phy_dev = of_phy_connect(dev, node, link_func, flags, phy_interface);
179 Note that the driver no longer needs to store the ``phy_interface``,
180 and also note that ``phy_interface`` becomes a dynamic property,
/Linux-v5.4/arch/sh/kernel/cpu/sh2/
Dsetup-sh7619.c122 .phy_interface = PHY_INTERFACE_MODE_MII,

123