Home
last modified time | relevance | path

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

/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c254 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
257 priv->phy_interface = PHY_INTERFACE_MODE_NA; in bcmgenet_mii_config()
259 switch (priv->phy_interface) { in bcmgenet_mii_config()
276 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_config()
322 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
364 phy_flags, priv->phy_interface); in bcmgenet_mii_probe()
374 priv->phy_interface); in bcmgenet_mii_probe()
528 priv->phy_interface = phy_mode; in bcmgenet_mii_of_init()
541 priv->phy_interface = PHY_INTERFACE_MODE_NA; in bcmgenet_mii_of_init()
564 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init()
[all …]
Dbcmgenet.h616 phy_interface_t phy_interface; member
Dbcmgenet.c1903 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_link_intr_enable()
1951 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in init_umac()
/drivers/staging/netlogic/
Dplatform_net.c97 .phy_interface = PHY_INTERFACE_MODE_SGMII, in gmac_controller2_init()
165 ndata0.phy_interface = PHY_INTERFACE_MODE_RGMII; in xls_gmac_init()
179 ndata0.phy_interface = PHY_INTERFACE_MODE_SGMII; in xls_gmac_init()
202 .phy_interface = PHY_INTERFACE_MODE_RGMII, in xlr_gmac_init()
Dplatform_net.h43 int phy_interface; member
Dxlr_net.c322 if (priv->nd->phy_interface == PHY_INTERFACE_MODE_RGMII || in xlr_hw_set_mac_addr()
323 priv->nd->phy_interface == PHY_INTERFACE_MODE_SGMII) in xlr_hw_set_mac_addr()
842 &xlr_gmac_link_adjust, priv->nd->phy_interface); in xlr_mii_probe()
917 priv->nd->phy_interface == PHY_INTERFACE_MODE_RGMII) in xlr_port_enable()
/drivers/net/ethernet/freescale/
Ducc_geth.c1344 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1345 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1346 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1347 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1348 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1349 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1350 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1357 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1361 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1362 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
[all …]
Dfec_main.c997 if (fep->phy_interface == PHY_INTERFACE_MODE_RGMII || in fec_restart()
998 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in fec_restart()
999 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID || in fec_restart()
1000 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) in fec_restart()
1002 else if (fep->phy_interface == PHY_INTERFACE_MODE_RMII) in fec_restart()
1030 cfgr = (fep->phy_interface == PHY_INTERFACE_MODE_RMII) in fec_restart()
1929 fep->phy_interface); in fec_enet_mii_probe()
1956 fep->phy_interface); in fec_enet_mii_probe()
3389 fep->phy_interface = pdata->phy; in fec_probe()
3391 fep->phy_interface = PHY_INTERFACE_MODE_MII; in fec_probe()
[all …]
Dfec.h514 phy_interface_t phy_interface; member
Ducc_geth.h1226 phy_interface_t phy_interface; member
/drivers/net/ethernet/smsc/
Dsmsc911x.c1027 pdata->config.phy_interface); in smsc911x_mii_probe()
2367 int phy_interface; in smsc911x_probe_config() local
2371 phy_interface = device_get_phy_mode(dev); in smsc911x_probe_config()
2372 if (phy_interface < 0) in smsc911x_probe_config()
2373 phy_interface = PHY_INTERFACE_MODE_NA; in smsc911x_probe_config()
2374 config->phy_interface = phy_interface; in smsc911x_probe_config()
/drivers/net/ethernet/cadence/
Dmacb.c393 bp->phy_interface); in macb_mii_probe()
1685 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) in macb_init_hw()
2408 if (bp->phy_interface == PHY_INTERFACE_MODE_RGMII) in macb_init()
2410 else if (bp->phy_interface == PHY_INTERFACE_MODE_RMII && in macb_init()
2424 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) in macb_init()
2735 if (bp->phy_interface == PHY_INTERFACE_MODE_RMII) in at91ether_init()
2923 bp->phy_interface = PHY_INTERFACE_MODE_RMII; in macb_probe()
2925 bp->phy_interface = PHY_INTERFACE_MODE_MII; in macb_probe()
2927 bp->phy_interface = err; in macb_probe()
Dmacb.h831 phy_interface_t phy_interface; member
/drivers/net/ethernet/renesas/
Dsh_eth.h524 phy_interface_t phy_interface; member
Dsh_eth.c446 switch (mdp->phy_interface) { in sh_eth_select_mii()
1869 mdp->phy_interface); in sh_eth_phy_init()
1880 mdp->phy_interface); in sh_eth_phy_init()
3053 pdata->phy_interface = ret; in sh_eth_parse_dt()
3141 mdp->phy_interface = pd->phy_interface; in sh_eth_drv_probe()
Dravb.h810 phy_interface_t phy_interface; member
Dravb_main.c900 priv->phy_interface); in ravb_phy_init()
1790 priv->phy_interface = of_get_phy_mode(np); in ravb_probe()
/drivers/net/ethernet/allwinner/
Dsun4i-emac.c86 phy_interface_t phy_interface; member
163 db->phy_interface); in emac_mdio_probe()
/drivers/net/ethernet/broadcom/
Dbcmsysport.c1583 0, priv->phy_interface); in bcm_sysport_open()
1801 priv->phy_interface = of_get_phy_mode(dn); in bcm_sysport_probe()
1803 if ((int)priv->phy_interface < 0) in bcm_sysport_probe()
1804 priv->phy_interface = PHY_INTERFACE_MODE_GMII; in bcm_sysport_probe()
Dbcmsysport.h676 phy_interface_t phy_interface; member
/drivers/net/phy/
Dmdio_bus.c655 static DEVICE_ATTR_RO(phy_interface);
/drivers/net/ethernet/synopsys/
Ddwc_eth_qos.c600 phy_interface_t phy_interface; member
963 lp->phy_interface); in dwceqos_mii_probe()
2919 lp->phy_interface = ret; in dwceqos_probe()
/drivers/net/ethernet/marvell/
Dmvneta.c368 phy_interface_t phy_interface; member
2700 pp->phy_interface); in mvneta_mdio_probe()
3311 pp->phy_interface = phy_mode; in mvneta_probe()
Dmvpp2.c705 phy_interface_t phy_interface; member
3844 switch (port->phy_interface) { in mvpp2_port_mii_set()
3907 if (port->phy_interface == PHY_INTERFACE_MODE_SGMII) in mvpp2_port_loopback_set()
5542 port->phy_interface); in mvpp2_phy_connect()
6182 port->phy_interface = phy_mode; in mvpp2_port_probe()