/drivers/net/ethernet/broadcom/genet/ |
D | bcmmii.c | 254 (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 …]
|
D | bcmgenet.h | 616 phy_interface_t phy_interface; member
|
D | bcmgenet.c | 1903 } 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/ |
D | platform_net.c | 97 .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()
|
D | platform_net.h | 43 int phy_interface; member
|
D | xlr_net.c | 322 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/ |
D | ucc_geth.c | 1344 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 …]
|
D | fec_main.c | 997 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 …]
|
D | fec.h | 514 phy_interface_t phy_interface; member
|
D | ucc_geth.h | 1226 phy_interface_t phy_interface; member
|
/drivers/net/ethernet/smsc/ |
D | smsc911x.c | 1027 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/ |
D | macb.c | 393 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()
|
D | macb.h | 831 phy_interface_t phy_interface; member
|
/drivers/net/ethernet/renesas/ |
D | sh_eth.h | 524 phy_interface_t phy_interface; member
|
D | sh_eth.c | 446 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()
|
D | ravb.h | 810 phy_interface_t phy_interface; member
|
D | ravb_main.c | 900 priv->phy_interface); in ravb_phy_init() 1790 priv->phy_interface = of_get_phy_mode(np); in ravb_probe()
|
/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 86 phy_interface_t phy_interface; member 163 db->phy_interface); in emac_mdio_probe()
|
/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1583 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()
|
D | bcmsysport.h | 676 phy_interface_t phy_interface; member
|
/drivers/net/phy/ |
D | mdio_bus.c | 655 static DEVICE_ATTR_RO(phy_interface);
|
/drivers/net/ethernet/synopsys/ |
D | dwc_eth_qos.c | 600 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/ |
D | mvneta.c | 368 phy_interface_t phy_interface; member 2700 pp->phy_interface); in mvneta_mdio_probe() 3311 pp->phy_interface = phy_mode; in mvneta_probe()
|
D | mvpp2.c | 705 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()
|