| /linux/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-stm32.c | 169 switch (plat_dat->phy_interface) { in stm32mp1_select_ethck_external() 191 phy_modes(plat_dat->phy_interface)); in stm32mp1_select_ethck_external() 204 switch (plat_dat->phy_interface) { in stm32mp1_validate_ethck_rate() 226 phy_modes(plat_dat->phy_interface), clk_rate); in stm32mp1_validate_ethck_rate() 239 switch (plat_dat->phy_interface) { in stm32mp1_configure_pmcr() 267 phy_modes(plat_dat->phy_interface)); in stm32mp1_configure_pmcr() 272 dev_dbg(dwmac->dev, "Mode %s", phy_modes(plat_dat->phy_interface)); in stm32mp1_configure_pmcr() 295 switch (plat_dat->phy_interface) { in stm32mp2_configure_syscfg() 317 phy_modes(plat_dat->phy_interface)); in stm32mp2_configure_syscfg() 322 dev_dbg(dwmac->dev, "Mode %s", phy_modes(plat_dat->phy_interface)); in stm32mp2_configure_syscfg() [all …]
|
| H A D | dwmac-thead.c | 59 switch (plat->phy_interface) { in thead_dwmac_set_phy_if() 71 phy_modes(plat->phy_interface)); in thead_dwmac_set_phy_if() 84 switch (plat->phy_interface) { in thead_dwmac_set_txclk_dir() 96 phy_modes(plat->phy_interface)); in thead_dwmac_set_txclk_dir() 115 switch (plat->phy_interface) { in thead_set_clk_tx_rate() 147 phy_modes(plat->phy_interface)); in thead_set_clk_tx_rate() 157 switch (plat->phy_interface) { in thead_dwmac_enable_clk() 181 phy_modes(plat->phy_interface)); in thead_dwmac_enable_clk()
|
| H A D | dwmac-loongson1.c | 89 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init() 102 plat->phy_interface); in ls1b_dwmac_syscon_init() 112 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init() 126 plat->phy_interface); in ls1b_dwmac_syscon_init() 143 phy_intf_sel = stmmac_get_phy_intf_sel(plat->phy_interface); in ls1c_dwmac_syscon_init() 147 plat->phy_interface); in ls1c_dwmac_syscon_init()
|
| H A D | dwmac-sophgo.c | 60 plat_dat->phy_interface = phy_fix_phy_mode_for_mac_delays(plat_dat->phy_interface, in sophgo_dwmac_probe() 62 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_NA) in sophgo_dwmac_probe()
|
| H A D | dwmac-intel.c | 150 if (priv->plat->phy_interface == PHY_INTERFACE_MODE_2500BASEX) in intel_serdes_powerup() 308 priv->plat->phy_interface = interface; in tgl_get_interfaces() 556 priv->plat->phy_interface = interface; in intel_mac_finish() 695 plat->phy_interface = phy_mode; in intel_mgbe_common_data() 702 if (plat->phy_interface == PHY_INTERFACE_MODE_SGMII || in intel_mgbe_common_data() 703 plat->phy_interface == PHY_INTERFACE_MODE_1000BASEX) { in intel_mgbe_common_data() 762 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data() 784 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in ehl_rgmii_data() 814 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse0_rgmii1g_data() 827 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data() [all …]
|
| H A D | dwmac-anarion.c | 82 if (phy_interface_mode_is_rgmii(plat_dat->phy_interface)) { in anarion_config_dt() 86 phy_modes(plat_dat->phy_interface)); in anarion_config_dt()
|
| H A D | dwmac-sun55i.c | 80 switch (plat->phy_interface) { in sun55i_gmac200_set_syscon() 95 phy_modes(plat->phy_interface)); in sun55i_gmac200_set_syscon()
|
| H A D | dwmac-starfive.c | 39 phy_intf_sel = stmmac_get_phy_intf_sel(plat_dat->phy_interface); in starfive_dwmac_set_mode() 43 phy_modes(plat_dat->phy_interface)); in starfive_dwmac_set_mode()
|
| H A D | dwmac-imx.c | 173 (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) || in imx_dwmac_fix_speed() 174 (plat_dat->phy_interface == PHY_INTERFACE_MODE_MII)) in imx_dwmac_fix_speed() 237 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) { in imx_dwmac_mx93_reset()
|
| H A D | stmmac_pci.c | 41 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in stmmac_default_data() 82 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in snps_gmac5_default_data()
|
| H A D | dwmac-visconti.c | 151 phy_intf_sel = stmmac_get_phy_intf_sel(plat_dat->phy_interface); in visconti_eth_init_hw() 155 dev_err(&pdev->dev, "Unsupported phy-mode (%d)\n", plat_dat->phy_interface); in visconti_eth_init_hw()
|
| H A D | dwmac-socfpga.c | 108 if ((priv->plat->phy_interface == PHY_INTERFACE_MODE_SGMII || in socfpga_dwmac_fix_mac_speed() 109 priv->plat->phy_interface == PHY_INTERFACE_MODE_1000BASEX) && in socfpga_dwmac_fix_mac_speed() 248 return dwmac->plat_dat->phy_interface; in socfpga_get_plat_phymode()
|
| H A D | dwmac-loongson.c | 137 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in loongson_gmac_data() 169 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in loongson_gnet_data() 452 plat->phy_interface = ret; in loongson_dwmac_dt_config()
|
| /linux/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmmii.c | 203 switch (priv->phy_interface) { in bcmgenet_mii_config() 268 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 275 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 306 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() 339 switch (priv->phy_interface) { in bcmgenet_mii_probe() 526 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 533 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 565 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init()
|
| /linux/drivers/phy/renesas/ |
| H A D | r8a779f0-ether-serdes.c | 28 phy_interface_t phy_interface; member 121 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_setting() 214 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_speed() 385 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
|
| /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
|
| /linux/include/linux/platform_data/ |
| H A D | xilinx-ll-temac.h | 17 phy_interface_t phy_interface; /* PHY interface mode */ member
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp_intf.c | 925 switch (intf->phy_interface) { in bcmasp_configure_port() 959 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init() 1200 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create() 1206 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmasp_interface_create() 1223 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) && in bcmasp_interface_create() 1224 intf->phy_interface != PHY_INTERFACE_MODE_MII && in bcmasp_interface_create() 1225 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) || in bcmasp_interface_create() 1228 phy_modes(intf->phy_interface), intf->port); in bcmasp_interface_create()
|
| /linux/arch/sh/boards/mach-rsk/ |
| H A D | devices-rsk7269.c | 19 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| H A D | devices-rsk7264.c | 17 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| H A D | devices-rsk7203.c | 21 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| /linux/arch/sh/boards/ |
| H A D | board-espt.c | 79 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| H A D | board-apsh4ad0a.c | 45 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| /linux/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 1551 if (port->phy_interface == PHY_INTERFACE_MODE_MII) in mvpp22_gop_init_rgmii() 1705 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_unmask_irq() 1706 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_unmask_irq() 1707 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_unmask_irq() 1717 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq() 1736 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_mask_irq() 1737 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_mask_irq() 1738 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_mask_irq() 1754 phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_setup_irq() 1755 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_setup_irq() [all …]
|