Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/broadcom/genet/
A Dbcmmii.c207 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()
615 phydev = phy_attach(priv->dev, phy_name, pd->phy_interface); in bcmgenet_mii_pd_init()
[all …]
/drivers/net/ethernet/stmicro/stmmac/
A Ddwmac-loongson1.c91 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()
A Ddwmac-intel.c308 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()
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()
905 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse1_rgmii1g_data()
918 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data()
1041 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in adln_sgmii_phy0_data()
[all …]
A Ddwmac-lpc18xx.c53 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()
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()
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()
A Ddwmac-visconti.c155 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()
A Ddwmac-loongson.c155 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in loongson_gmac_data()
187 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in loongson_gnet_data()
483 plat->phy_interface = ret; in loongson_dwmac_dt_config()
A Ddwmac-socfpga.c97 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()
A Ddwmac-sunxi.c119 gmac->interface = plat_dat->phy_interface; in sun7i_gmac_probe()
A Ddwmac-s32.c145 gmac->intf_mode = &plat->phy_interface; in s32_dwmac_probe()
A Ddwmac-sti.c203 dwmac->interface = plat_dat->phy_interface; in sti_dwmac_parse_data()
A Dstmmac_platform.c455 plat->phy_interface = phy_mode; in stmmac_probe_config_dt()
457 plat->mac_interface = rc < 0 ? plat->phy_interface : rc; in stmmac_probe_config_dt()
/drivers/phy/renesas/
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()
/drivers/net/ethernet/broadcom/asp2/
A Dbcmasp_intf.c959 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()
/drivers/net/ethernet/marvell/mvpp2/
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()
6298 switch (port->phy_interface) { in mvpp2_gmac_pcs_get_state()
6501 if (port->phy_interface != interface || in mvpp2_mac_prepare()
6524 if (port->phy_interface != interface) { in mvpp2_mac_prepare()
6567 port->phy_interface = interface; in mvpp2_mac_finish()
6780 .interface = port->phy_interface, in mvpp2_acpi_start()
6787 port->phy_interface); in mvpp2_acpi_start()
6793 port->phy_interface); in mvpp2_acpi_start()
[all …]
/drivers/net/ethernet/socionext/
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()
/drivers/net/ethernet/xilinx/
A Dll_temac.h349 phy_interface_t phy_interface; member
A Dll_temac_main.c1172 lp->phy_interface); in temac_open()
1602 lp->phy_interface = pdata->phy_interface; in temac_probe()
/drivers/net/ethernet/smsc/
A Dsmsc911x.c1032 pdata->config.phy_interface); in smsc911x_mii_probe()
2372 int phy_interface; in smsc911x_probe_config() local
2376 phy_interface = device_get_phy_mode(dev); in smsc911x_probe_config()
2377 if (phy_interface < 0) in smsc911x_probe_config()
2378 phy_interface = PHY_INTERFACE_MODE_NA; in smsc911x_probe_config()
2379 config->phy_interface = phy_interface; in smsc911x_probe_config()
/drivers/net/ethernet/renesas/
A Drswitch.c1138 switch (etha->phy_interface) { in rswitch_rmac_setting()
1314 err = of_get_phy_mode(rdev->np_port, &rdev->etha->phy_interface); in rswitch_etha_get_params()
1325 switch (rdev->etha->phy_interface) { in rswitch_etha_get_params()
1454 __set_bit(rdev->etha->phy_interface, phydev->host_interfaces); in rswitch_phy_device_init()
1458 rdev->etha->phy_interface); in rswitch_phy_device_init()
1489 rdev->etha->phy_interface); in rswitch_serdes_set_params()
A Dravb_main.c521 if (priv->phy_interface == PHY_INTERFACE_MODE_MII) { in ravb_emac_init_gbeth()
592 bool mii = priv->phy_interface == PHY_INTERFACE_MODE_MII; in ravb_emac_init_rcar_gen4()
1498 : priv->phy_interface; in ravb_phy_init()
1895 if (priv->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_parse_delay_mode()
1896 priv->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) { in ravb_parse_delay_mode()
1901 if (priv->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_parse_delay_mode()
1902 priv->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) { in ravb_parse_delay_mode()
2997 error = of_get_phy_mode(np, &priv->phy_interface); in ravb_probe()
A Dsh_eth.h554 phy_interface_t phy_interface; member
/drivers/net/ethernet/freescale/
A Ducc_geth.c3429 phy_interface_t phy_interface; in ucc_geth_probe() local
3481 err = of_get_phy_mode(np, &phy_interface); in ucc_geth_probe()
3487 if (phy_interface == PHY_INTERFACE_MODE_GMII || in ucc_geth_probe()
3488 phy_interface_mode_is_rgmii(phy_interface) || in ucc_geth_probe()
3489 phy_interface == PHY_INTERFACE_MODE_TBI || in ucc_geth_probe()
3490 phy_interface == PHY_INTERFACE_MODE_RTBI || in ucc_geth_probe()
3491 phy_interface == PHY_INTERFACE_MODE_SGMII) { in ucc_geth_probe()
3574 phy_interface, &ugeth_mac_ops); in ucc_geth_probe()
/drivers/net/ethernet/cadence/
A Dmacb_main.c527 if (bp->phy_interface == PHY_INTERFACE_MODE_MII) in macb_set_tx_clk()
658 bp->phy_interface == PHY_INTERFACE_MODE_MII) { in macb_mac_config()
760 if (bp->phy_interface == PHY_INTERFACE_MODE_10GBASER) in macb_mac_link_up()
859 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) { in macb_mii_probe()
894 bp->phy_interface, &macb_phylink_ops); in macb_mii_probe()
4410 if (phy_interface_mode_is_rgmii(bp->phy_interface)) in macb_init()
4412 else if (bp->phy_interface == PHY_INTERFACE_MODE_RMII && in macb_init()
4427 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) in macb_init()
4932 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) { in init_reset_optional()
5341 bp->phy_interface = PHY_INTERFACE_MODE_MII; in macb_probe()
[all …]

Completed in 108 milliseconds

12