Home
last modified time | relevance | path

Searched refs:phy_interface (Results 1 – 25 of 81) sorted by relevance

1234

/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-stm32.c169 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 Ddwmac-thead.c59 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 Ddwmac-loongson1.c89 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 Ddwmac-sophgo.c60 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 Ddwmac-intel.c150 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 Ddwmac-anarion.c82 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 Ddwmac-sun55i.c80 switch (plat->phy_interface) { in sun55i_gmac200_set_syscon()
95 phy_modes(plat->phy_interface)); in sun55i_gmac200_set_syscon()
H A Ddwmac-starfive.c39 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 Ddwmac-imx.c173 (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 Dstmmac_pci.c41 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 Ddwmac-visconti.c151 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 Ddwmac-socfpga.c108 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 Ddwmac-loongson.c137 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 Dbcmmii.c203 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 Dr8a779f0-ether-serdes.c28 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 Dsh_eth.h11 phy_interface_t phy_interface; member
H A Dsmsc911x.h21 phy_interface_t phy_interface; member
/linux/include/linux/platform_data/
H A Dxilinx-ll-temac.h17 phy_interface_t phy_interface; /* PHY interface mode */ member
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c925 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 Ddevices-rsk7269.c19 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Ddevices-rsk7264.c17 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Ddevices-rsk7203.c21 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/arch/sh/boards/
H A Dboard-espt.c79 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-apsh4ad0a.c45 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1551 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 …]

1234