/linux/arch/mips/loongson32/common/ |
H 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/broadcom/genet/ |
H A D | bcmmii.c | 207 switch (priv->phy_interface) { in bcmgenet_mii_config() 272 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 279 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 310 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() 343 switch (priv->phy_interface) { in bcmgenet_mii_probe() 445 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init() 547 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 554 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 586 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init() 608 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | dwmac-loongson1.c | 91 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init() 104 plat->phy_interface); in ls1b_dwmac_syscon_init() 114 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init() 128 plat->phy_interface); in ls1b_dwmac_syscon_init() 144 switch (plat->phy_interface) { in ls1c_dwmac_syscon_init() 155 plat->phy_interface); in ls1c_dwmac_syscon_init()
|
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() 559 priv->plat->phy_interface = interface; in intel_mac_finish() 738 plat->phy_interface = phy_mode; in intel_mgbe_common_data() 745 if (plat->phy_interface == PHY_INTERFACE_MODE_SGMII || in intel_mgbe_common_data() 746 plat->phy_interface == PHY_INTERFACE_MODE_1000BASEX) { in intel_mgbe_common_data() 804 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data() 826 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in ehl_rgmii_data() 856 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse0_rgmii1g_data() 869 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data() [all …]
|
H A D | dwmac-lpc18xx.c | 53 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_MII) { in lpc18xx_dwmac_probe() 55 } else if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) { in lpc18xx_dwmac_probe()
|
H 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()
|
H A D | dwmac-visconti.c | 155 switch (plat_dat->phy_interface) { in visconti_eth_init_hw() 169 dev_err(&pdev->dev, "Unsupported phy-mode (%d)\n", plat_dat->phy_interface); in visconti_eth_init_hw()
|
H A D | dwmac-socfpga.c | 97 if ((priv->plat->phy_interface == PHY_INTERFACE_MODE_SGMII || in socfpga_dwmac_fix_mac_speed() 98 priv->plat->phy_interface == PHY_INTERFACE_MODE_1000BASEX) && in socfpga_dwmac_fix_mac_speed()
|
/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 | 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
|
/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/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp_intf.c | 959 switch (intf->phy_interface) { in bcmasp_configure_port() 993 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init() 1234 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create() 1240 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmasp_interface_create() 1257 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) && in bcmasp_interface_create() 1258 intf->phy_interface != PHY_INTERFACE_MODE_MII && in bcmasp_interface_create() 1259 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) || in bcmasp_interface_create() 1262 phy_modes(intf->phy_interface), intf->port); in bcmasp_interface_create()
|
/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,
|
H A D | board-polaris.c | 53 .phy_interface = PHY_INTERFACE_MODE_MII,
|
H A D | board-apsh4a3a.c | 93 .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 …]
|
/linux/drivers/net/ethernet/socionext/ |
H 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() 1644 priv->phy_interface)) { in netsec_netdev_open() 1652 priv->phy_interface); in netsec_netdev_open() 1853 err = of_get_phy_mode(pdev->dev.of_node, &priv->phy_interface); in netsec_of_probe() 1865 priv->phy_interface != PHY_INTERFACE_MODE_RGMII_ID) { in netsec_of_probe() 1867 priv->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in netsec_of_probe() 1901 priv->phy_interface = PHY_INTERFACE_MODE_NA; in netsec_acpi_probe()
|
/linux/arch/sh/boards/mach-sh7763rdp/ |
H A D | setup.c | 87 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/arch/sh/boards/mach-se/770x/ |
H A D | setup.c | 121 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux/arch/sh/boards/mach-sdk7786/ |
H A D | setup.c | 65 .phy_interface = PHY_INTERFACE_MODE_MII,
|