/openbmc/linux/arch/mips/loongson32/common/ |
H A D | platform.c | 85 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() 94 plat_dat->phy_interface); in ls1x_eth_mux_init() 99 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() 108 plat_dat->phy_interface); in ls1x_eth_mux_init() 118 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) in ls1x_eth_mux_init() 133 .phy_interface = PHY_INTERFACE_MODE_MII, 135 .phy_interface = PHY_INTERFACE_MODE_RMII, 173 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmmii.c | 201 switch (priv->phy_interface) { in bcmgenet_mii_config() 266 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 273 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 304 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() 337 switch (priv->phy_interface) { in bcmgenet_mii_probe() 439 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init() 537 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 544 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 576 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init() 598 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init() [all …]
|
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-intel.c | 250 priv->plat->phy_interface = PHY_INTERFACE_MODE_2500BASEX; in intel_speed_mode_2500() 579 plat->phy_interface = phy_mode; in intel_mgbe_common_data() 586 if (plat->phy_interface == PHY_INTERFACE_MODE_SGMII || in intel_mgbe_common_data() 587 plat->phy_interface == PHY_INTERFACE_MODE_1000BASEX) { 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() 738 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse1_rgmii1g_data() 749 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data() [all …]
|
/openbmc/linux/drivers/phy/renesas/ |
H 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() 299 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
|
/openbmc/u-boot/drivers/net/ |
H A D | mvgbe.c | 730 phy_interface_t phy_interface, in __mvgbe_phy_init() argument 735 phy_interface_t phy_interface, in __mvgbe_phy_init() 745 phydev = phy_connect(bus, phyid, dev, phy_interface); in __mvgbe_phy_init() 917 dmvgbe->phy_interface, in mvgbe_start() 999 pdata->phy_interface = -1; in mvgbe_ofdata_to_platdata() 1007 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvgbe_ofdata_to_platdata() 1009 pdata->phy_interface = PHY_INTERFACE_MODE_GMII; in mvgbe_ofdata_to_platdata() 1011 dmvgbe->phy_interface = pdata->phy_interface; in mvgbe_ofdata_to_platdata()
|
H A D | bcm6348-eth.c | 390 pdata->phy_interface); in bcm6348_phy_init() 426 pdata->phy_interface = PHY_INTERFACE_MODE_NONE; in bcm6348_eth_probe() 429 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in bcm6348_eth_probe() 430 if (pdata->phy_interface == PHY_INTERFACE_MODE_NONE) in bcm6348_eth_probe() 498 if (pdata->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcm6348_eth_probe()
|
H A D | macb.c | 137 phy_interface_t phy_interface; member 532 macb->phy_interface); in macb_phy_init() 712 if ((macb->phy_interface == PHY_INTERFACE_MODE_RMII) || in _macb_init() 713 (macb->phy_interface == PHY_INTERFACE_MODE_RGMII)) in _macb_init() 728 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init() 735 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() 1092 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe() 1093 if (macb->phy_interface == -1) { in macb_eth_probe()
|
H A D | mvneta.c | 270 phy_interface_t phy_interface; member 1403 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init() 1534 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start() 1564 pp->phy_interface); in mvneta_start() 1724 pp->phy_interface = pdata->phy_interface; in mvneta_probe() 1794 pdata->phy_interface = -1; in mvneta_ofdata_to_platdata() 1798 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata() 1799 if (pdata->phy_interface == -1) { in mvneta_ofdata_to_platdata()
|
H A D | pic32_eth.c | 546 pdata->phy_interface = -1; in pic32_eth_probe() 550 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 551 if (pdata->phy_interface == -1) { in pic32_eth_probe() 566 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
|
H A D | ftgmac100.c | 543 pdata->phy_interface = -1; in ftgmac100_ofdata_to_platdata() 547 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ftgmac100_ofdata_to_platdata() 548 if (pdata->phy_interface == -1) { in ftgmac100_ofdata_to_platdata() 592 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
|
H A D | designware.c | 745 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe() 753 priv->interface = pdata->phy_interface; in designware_eth_probe() 812 pdata->phy_interface = -1; in designware_eth_ofdata_to_platdata() 815 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata() 816 if (pdata->phy_interface == -1) { in designware_eth_ofdata_to_platdata()
|
H A D | bcm-sf2-eth.h | 48 phy_interface_t phy_interface; member
|
H A D | mtk_eth.c | 168 int phy_interface; member 615 mt7530_pad_clk_setup(priv, priv->phy_interface); in mt7530_setup() 739 priv->phy_interface); in mtk_phy_probe() 757 switch (priv->phy_interface) { in mtk_mac_init() 1085 pdata->phy_interface = phy_get_interface_by_name(str); in mtk_eth_ofdata_to_platdata() 1086 priv->phy_interface = pdata->phy_interface; in mtk_eth_ofdata_to_platdata()
|
/openbmc/u-boot/board/freescale/ls1012afrdm/ |
H A D | eth.c | 94 .phy_interface = 0, 106 .phy_interface = 1,
|
/openbmc/u-boot/board/freescale/ls1012ardb/ |
H A D | eth.c | 105 .phy_interface = 0, 117 .phy_interface = 1,
|
/openbmc/u-boot/drivers/net/pfe_eth/ |
H A D | pfe_eth.c | 241 priv->gemac_port = pdata->pfe_eth_pdata_mac.phy_interface; in pfe_eth_probe() 262 ret = pfe_phy_configure(priv, pdata->pfe_eth_pdata_mac.phy_interface, in pfe_eth_probe() 273 sprintf(name, "pfe_eth%u", pdata->pfe_eth_pdata_mac.phy_interface); in pfe_eth_bind()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | ucc_geth.c | 1320 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface() 1321 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface() 1322 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface() 1323 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface() 1324 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface() 1325 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface() 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() 1338 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface() [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | bcmgenet.h | 11 phy_interface_t phy_interface; member
|
H A D | xilinx-ll-temac.h | 17 phy_interface_t phy_interface; /* PHY interface mode */ member
|
/openbmc/linux/include/linux/ |
H A D | sh_eth.h | 11 phy_interface_t phy_interface; member
|
H A D | smsc911x.h | 21 phy_interface_t phy_interface; member
|
/openbmc/linux/arch/sh/boards/mach-rsk/ |
H A D | devices-rsk7264.c | 17 .phy_interface = PHY_INTERFACE_MODE_MII,
|
H A D | devices-rsk7269.c | 19 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/openbmc/u-boot/board/freescale/ls1012aqds/ |
H A D | eth.c | 279 .phy_interface = 0, 291 .phy_interface = 1,
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_intf.c | 972 switch (intf->phy_interface) { in bcmasp_configure_port() 1006 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init() 1245 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create() 1251 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmasp_interface_create() 1268 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) && in bcmasp_interface_create() 1269 intf->phy_interface != PHY_INTERFACE_MODE_MII && in bcmasp_interface_create() 1270 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) || in bcmasp_interface_create() 1273 phy_modes(intf->phy_interface), intf->port); in bcmasp_interface_create()
|