| /linux/arch/mips/loongson32/common/ |
| A D | platform.c | 83 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() 92 plat_dat->phy_interface); in ls1x_eth_mux_init() 97 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() 106 plat_dat->phy_interface); in ls1x_eth_mux_init() 116 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) in ls1x_eth_mux_init() 131 .phy_interface = PHY_INTERFACE_MODE_MII, 133 .phy_interface = PHY_INTERFACE_MODE_RMII, 171 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| A D | dwmac-loongson1.c | 65 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init() 78 plat->phy_interface); in ls1b_dwmac_syscon_init() 88 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init() 102 plat->phy_interface); in ls1b_dwmac_syscon_init() 122 switch (plat->phy_interface) { in ls1c_dwmac_syscon_init() 133 plat->phy_interface); in ls1c_dwmac_syscon_init()
|
| A D | dwmac-intel.c | 590 plat->phy_interface = phy_mode; in intel_mgbe_common_data() 649 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data() 667 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in ehl_rgmii_data() 697 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse0_rgmii1g_data() 708 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data() 749 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data() 785 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy0_data() 799 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy1_data() 813 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy0_data() 828 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy1_data() [all …]
|
| 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()
|
| A D | dwmac-visconti.c | 147 switch (plat_dat->phy_interface) { in visconti_eth_init_hw() 161 dev_err(&pdev->dev, "Unsupported phy-mode (%d)\n", plat_dat->phy_interface); in visconti_eth_init_hw()
|
| A D | dwmac-loongson.c | 143 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in loongson_gmac_data() 195 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in loongson_gnet_data() 491 plat->phy_interface = ret; in loongson_dwmac_dt_config()
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| A D | bcmmii.c | 202 switch (priv->phy_interface) { in bcmgenet_mii_config() 267 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 274 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 305 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() 338 switch (priv->phy_interface) { in bcmgenet_mii_probe() 440 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init() 542 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 549 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 581 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init() 610 phydev = phy_attach(priv->dev, phy_name, pd->phy_interface); in bcmgenet_mii_pd_init() [all …]
|
| /linux/drivers/phy/renesas/ |
| A D | r8a779f0-ether-serdes.c | 28 phy_interface_t phy_interface; member 95 switch (channel->phy_interface) { in r8a779f0_eth_serdes_common_setting() 113 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_setting() 170 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_speed() 312 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
|
| /linux/drivers/net/ethernet/freescale/ |
| A D | ucc_geth.c | 1326 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface() 1333 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface() 1337 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface() 1341 if (ugeth->phy_interface == PHY_INTERFACE_MODE_SGMII) in adjust_enet_interface() 1713 priv->phy_interface); in init_phy() 1719 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in init_phy() 3566 phy_interface_t phy_interface; in ucc_geth_probe() local 3635 phy_interface = enet_to_phy_interface[*prop]; in ucc_geth_probe() 3638 phy_interface = PHY_INTERFACE_MODE_MII; in ucc_geth_probe() 3645 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-rsk7269.c | 19 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| A D | devices-rsk7264.c | 17 .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,
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| A D | bcmasp_intf.c | 953 switch (intf->phy_interface) { in bcmasp_configure_port() 987 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init() 1226 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create() 1232 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmasp_interface_create() 1249 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) && in bcmasp_interface_create() 1250 intf->phy_interface != PHY_INTERFACE_MODE_MII && in bcmasp_interface_create() 1251 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) || in bcmasp_interface_create() 1254 phy_modes(intf->phy_interface), intf->port); in bcmasp_interface_create()
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| A D | mvpp2_main.c | 1717 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq() 1805 mvpp2_is_xlg(port->phy_interface)) { in mvpp2_port_enable() 1823 mvpp2_is_xlg(port->phy_interface)) { in mvpp2_port_disable() 6267 switch (port->phy_interface) { in mvpp2_gmac_pcs_get_state() 6470 if (port->phy_interface != interface || in mvpp2_mac_prepare() 6493 if (port->phy_interface != interface) { in mvpp2_mac_prepare() 6536 port->phy_interface = interface; in mvpp2_mac_finish() 6698 .interface = port->phy_interface, in mvpp2_acpi_start() 6705 port->phy_interface); in mvpp2_acpi_start() 6711 port->phy_interface); in mvpp2_acpi_start() [all …]
|
| /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() 1641 priv->phy_interface)) { in netsec_netdev_open() 1649 priv->phy_interface); in netsec_netdev_open() 1850 err = of_get_phy_mode(pdev->dev.of_node, &priv->phy_interface); in netsec_of_probe() 1862 priv->phy_interface != PHY_INTERFACE_MODE_RGMII_ID) { in netsec_of_probe() 1864 priv->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in netsec_of_probe() 1898 priv->phy_interface = PHY_INTERFACE_MODE_NA; in netsec_acpi_probe()
|
| /linux/arch/sh/boards/mach-sh7763rdp/ |
| A D | setup.c | 87 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| /linux/arch/sh/boards/mach-se/770x/ |
| A D | setup.c | 121 .phy_interface = PHY_INTERFACE_MODE_MII,
|