/linux-6.6.21/arch/mips/loongson32/common/ |
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,
|
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/ |
D | bcmmii.c | 199 switch (priv->phy_interface) { in bcmgenet_mii_config() 264 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 271 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 300 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe() 333 switch (priv->phy_interface) { in bcmgenet_mii_probe() 435 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init() 533 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 540 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 572 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init() 594 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init() [all …]
|
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
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 …]
|
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()
|
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()
|
/linux-6.6.21/drivers/phy/renesas/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/freescale/ |
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 …]
|
/linux-6.6.21/include/linux/ |
D | sh_eth.h | 11 phy_interface_t phy_interface; member
|
D | smsc911x.h | 21 phy_interface_t phy_interface; member
|
/linux-6.6.21/include/linux/platform_data/ |
D | bcmgenet.h | 11 phy_interface_t phy_interface; member
|
D | xilinx-ll-temac.h | 17 phy_interface_t phy_interface; /* PHY interface mode */ member
|
/linux-6.6.21/arch/sh/boards/mach-rsk/ |
D | devices-rsk7264.c | 17 .phy_interface = PHY_INTERFACE_MODE_MII,
|
D | devices-rsk7269.c | 19 .phy_interface = PHY_INTERFACE_MODE_MII,
|
D | devices-rsk7203.c | 21 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux-6.6.21/arch/sh/boards/ |
D | board-espt.c | 79 .phy_interface = PHY_INTERFACE_MODE_MII,
|
D | board-apsh4ad0a.c | 45 .phy_interface = PHY_INTERFACE_MODE_MII,
|
D | board-polaris.c | 53 .phy_interface = PHY_INTERFACE_MODE_MII,
|
D | board-apsh4a3a.c | 93 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/ |
D | bcmasp_intf.c | 955 switch (intf->phy_interface) { in bcmasp_configure_port() 989 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-6.6.21/drivers/net/ethernet/marvell/mvpp2/ |
D | mvpp2_main.c | 1693 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_unmask_irq() 1694 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_unmask_irq() 1695 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_unmask_irq() 1705 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq() 1724 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_mask_irq() 1725 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_mask_irq() 1726 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_mask_irq() 1742 phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_setup_irq() 1743 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_setup_irq() 1744 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_setup_irq() [all …]
|
/linux-6.6.21/drivers/net/ethernet/socionext/ |
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() 1860 priv->phy_interface != PHY_INTERFACE_MODE_RGMII_ID) { in netsec_of_probe() 1862 priv->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in netsec_of_probe() 1896 priv->phy_interface = PHY_INTERFACE_MODE_NA; in netsec_acpi_probe()
|
/linux-6.6.21/arch/sh/boards/mach-sh7763rdp/ |
D | setup.c | 87 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux-6.6.21/arch/sh/boards/mach-se/770x/ |
D | setup.c | 121 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux-6.6.21/arch/sh/boards/mach-sdk7786/ |
D | setup.c | 65 .phy_interface = PHY_INTERFACE_MODE_MII,
|
/linux-6.6.21/arch/sh/kernel/cpu/sh2/ |
D | setup-sh7619.c | 123 .phy_interface = PHY_INTERFACE_MODE_MII,
|