Home
last modified time | relevance | path

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

123

/linux-6.15/arch/mips/loongson32/common/
H A Dplatform.c83 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-6.15/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-loongson1.c65 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init()
78 plat->phy_interface); in ls1b_dwmac_syscon_init()
88 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init()
102 plat->phy_interface); in ls1b_dwmac_syscon_init()
122 switch (plat->phy_interface) { in ls1c_dwmac_syscon_init()
133 plat->phy_interface); in ls1c_dwmac_syscon_init()
H A Ddwmac-intel.c553 priv->plat->phy_interface = interface; in intel_mac_finish()
733 plat->phy_interface = phy_mode; in intel_mgbe_common_data()
799 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data()
821 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in ehl_rgmii_data()
864 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data()
913 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data()
955 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy0_data()
969 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_phy1_data()
983 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy0_data()
998 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adls_sgmii_phy1_data()
[all …]
H A Ddwmac-anarion.c83 switch (plat_dat->phy_interface) { in anarion_config_dt()
93 plat_dat->phy_interface); in anarion_config_dt()
H A Dstmmac_pci.c59 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 Ddwmac-visconti.c147 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()
H A Ddwmac-loongson.c145 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in loongson_gmac_data()
196 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in loongson_gnet_data()
492 plat->phy_interface = ret; in loongson_dwmac_dt_config()
/linux-6.15/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c202 switch (priv->phy_interface) { in bcmgenet_mii_config()
267 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
274 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
305 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe()
338 switch (priv->phy_interface) { in bcmgenet_mii_probe()
440 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init()
542 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init()
549 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init()
581 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init()
610 phydev = phy_attach(priv->dev, phy_name, pd->phy_interface); in bcmgenet_mii_pd_init()
[all …]
/linux-6.15/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c28 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()
312 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
/linux-6.15/include/linux/
H A Dsh_eth.h11 phy_interface_t phy_interface; member
H A Dsmsc911x.h21 phy_interface_t phy_interface; member
/linux-6.15/include/linux/platform_data/
H A Dbcmgenet.h11 phy_interface_t phy_interface; member
H A Dxilinx-ll-temac.h17 phy_interface_t phy_interface; /* PHY interface mode */ member
/linux-6.15/arch/sh/boards/mach-rsk/
H A Ddevices-rsk7264.c17 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Ddevices-rsk7269.c19 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Ddevices-rsk7203.c21 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-6.15/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,
H A Dboard-polaris.c53 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-apsh4a3a.c93 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-6.15/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c960 switch (intf->phy_interface) { in bcmasp_configure_port()
994 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init()
1236 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create()
1242 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmasp_interface_create()
1259 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) && in bcmasp_interface_create()
1260 intf->phy_interface != PHY_INTERFACE_MODE_MII && in bcmasp_interface_create()
1261 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) || in bcmasp_interface_create()
1264 phy_modes(intf->phy_interface), intf->port); in bcmasp_interface_create()
/linux-6.15/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1717 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq()
1805 mvpp2_is_xlg(port->phy_interface)) { in mvpp2_port_enable()
1823 mvpp2_is_xlg(port->phy_interface)) { in mvpp2_port_disable()
6291 switch (port->phy_interface) { in mvpp2_gmac_pcs_get_state()
6494 if (port->phy_interface != interface || in mvpp2_mac_prepare()
6517 if (port->phy_interface != interface) { in mvpp2_mac_prepare()
6560 port->phy_interface = interface; in mvpp2_mac_finish()
6773 .interface = port->phy_interface, in mvpp2_acpi_start()
6780 port->phy_interface); in mvpp2_acpi_start()
6786 port->phy_interface); in mvpp2_acpi_start()
[all …]
/linux-6.15/drivers/net/ethernet/socionext/
H A Dnetsec.c297 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-6.15/arch/sh/boards/mach-se/770x/
H A Dsetup.c121 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-6.15/arch/sh/boards/mach-sh7763rdp/
H A Dsetup.c87 .phy_interface = PHY_INTERFACE_MODE_MII,

123