/linux/drivers/net/ethernet/broadcom/genet/ |
A D | bcmmii.c | 196 switch (priv->phy_interface) { in bcmgenet_mii_config() 259 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 266 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 293 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() 326 switch (priv->phy_interface) { in bcmgenet_mii_probe() 425 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init() 523 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 530 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 562 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init() 591 phydev = phy_attach(priv->dev, phy_name, pd->phy_interface); in bcmgenet_mii_pd_init() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac-intel.c | 615 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data() 631 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in ehl_rgmii_data() 657 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse0_rgmii1g_data() 668 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data() 696 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse1_rgmii1g_data() 707 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data() 742 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy0_data() 757 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy1_data() 772 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy0_data() 787 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy1_data() [all …]
|
A D | dwmac-visconti.c | 132 switch (plat_dat->phy_interface) { in visconti_eth_init_hw() 146 dev_err(&pdev->dev, "Unsupported phy-mode (%d)\n", plat_dat->phy_interface); in visconti_eth_init_hw()
|
A D | stmmac_pci.c | 59 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in stmmac_default_data() 115 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in snps_gmac5_default_data()
|
/linux/drivers/net/ethernet/freescale/ |
A D | ucc_geth.c | 1325 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface() 1332 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface() 1336 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface() 1340 if (ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII) in adjust_enet_interface() 1712 priv->phy_interface); in init_phy() 1718 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy() 3565 phy_interface_t phy_interface; in ucc_geth_probe() local 3634 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe() 3637 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe() 3644 switch (phy_interface) { in ucc_geth_probe() [all …]
|
/linux/include/linux/ |
A D | sh_eth.h | 11 phy_interface_t phy_interface; member
|
A D | smsc911x.h | 21 phy_interface_t phy_interface; member
|
/linux/include/linux/platform_data/ |
A D | bcmgenet.h | 11 phy_interface_t phy_interface; member
|
A D | xilinx-ll-temac.h | 17 phy_interface_t phy_interface; /* PHY interface mode */ member
|
/linux/arch/sh/boards/mach-rsk/ |
A D | devices-rsk7264.c | 17 .phy_interface = PHY_INTERFACE_MODE_MII,
|
A D | devices-rsk7269.c | 19 .phy_interface = PHY_INTERFACE_MODE_MII,
|
A D | devices-rsk7203.c | 21 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/arch/sh/boards/ |
A D | board-espt.c | 79 .phy_interface = PHY_INTERFACE_MODE_MII,
|
A D | board-apsh4ad0a.c | 45 .phy_interface = PHY_INTERFACE_MODE_MII,
|
A D | board-polaris.c | 53 .phy_interface = PHY_INTERFACE_MODE_MII,
|
A D | board-apsh4a3a.c | 93 .phy_interface = PHY_INTERFACE_MODE_MII,
|
A D | board-magicpanelr2.c | 261 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/drivers/net/ethernet/marvell/mvpp2/ |
A D | mvpp2_main.c | 1678 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq() 1766 mvpp2_is_xlg(port->phy_interface)) { in mvpp2_port_enable() 1784 mvpp2_is_xlg(port->phy_interface)) { in mvpp2_port_disable() 6164 switch (port->phy_interface) { in mvpp2_gmac_pcs_get_state() 6418 if (port->phy_interface != interface || in mvpp2__mac_prepare() 6506 port->phy_interface = interface; in mvpp2_mac_finish() 6668 .interface = port->phy_interface, in mvpp2_acpi_start() 6671 port->phy_interface); in mvpp2_acpi_start() 6674 port->phy_interface, in mvpp2_acpi_start() 6677 port->phy_interface); in mvpp2_acpi_start() [all …]
|
/linux/arch/sh/boards/mach-se/770x/ |
A D | setup.c | 121 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/arch/sh/boards/mach-sh7763rdp/ |
A D | setup.c | 87 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/drivers/net/ethernet/socionext/ |
A D | netsec.c | 297 phy_interface_t phy_interface; member 451 if (priv->phy_interface != PHY_INTERFACE_MODE_GMII && in netsec_mac_update_to_phy_state() 457 if (phy_interface_mode_is_rgmii(priv->phy_interface)) in netsec_mac_update_to_phy_state() 1639 priv->phy_interface)) { in netsec_netdev_open() 1647 priv->phy_interface); in netsec_netdev_open() 1848 err = of_get_phy_mode(pdev->dev.of_node, &priv->phy_interface); in netsec_of_probe() 1885 priv->phy_interface = PHY_INTERFACE_MODE_NA; in netsec_acpi_probe()
|
/linux/arch/sh/boards/mach-sdk7786/ |
A D | setup.c | 65 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/Documentation/networking/ |
A D | sfp-phylink.rst | 159 phy_dev = of_phy_connect(dev, node, link_func, flags, phy_interface); 182 Note that the driver no longer needs to store the ``phy_interface``, 183 and also note that ``phy_interface`` becomes a dynamic property,
|
/linux/arch/sh/kernel/cpu/sh2/ |
A D | setup-sh7619.c | 123 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/arch/arm/mach-pxa/ |
A D | csb726.c | 241 .phy_interface = PHY_INTERFACE_MODE_MII,
|