Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c237 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
240 priv->phy_interface = PHY_INTERFACE_MODE_NA; in bcmgenet_mii_config()
242 switch (priv->phy_interface) { in bcmgenet_mii_config()
260 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_config()
306 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
360 phy_flags, priv->phy_interface); in bcmgenet_mii_probe()
370 priv->phy_interface); in bcmgenet_mii_probe()
466 priv->phy_interface = of_get_phy_mode(dn); in bcmgenet_mii_of_init()
488 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init()
541 priv->phy_interface = pd->phy_interface; in bcmgenet_mii_pd_init()
Dbcmgenet.h607 phy_interface_t phy_interface; member
Dbcmgenet.c1736 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in init_umac()
2698 priv->phy_interface); in bcmgenet_open()
/linux-4.1.27/drivers/staging/netlogic/
Dplatform_net.c98 .phy_interface = PHY_INTERFACE_MODE_SGMII, in gmac_controller2_init()
166 ndata0.phy_interface = PHY_INTERFACE_MODE_RGMII, in xls_gmac_init()
180 ndata0.phy_interface = PHY_INTERFACE_MODE_SGMII; in xls_gmac_init()
203 .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()
/linux-4.1.27/include/linux/platform_data/
Dbcmgenet.h10 phy_interface_t phy_interface; member
/linux-4.1.27/include/linux/
Dsh_eth.h13 phy_interface_t phy_interface; member
Dsmsc911x.h34 phy_interface_t phy_interface; member
/linux-4.1.27/arch/sh/boards/mach-rsk/
Ddevices-rsk7264.c20 .phy_interface = PHY_INTERFACE_MODE_MII,
Ddevices-rsk7269.c22 .phy_interface = PHY_INTERFACE_MODE_MII,
Ddevices-rsk7203.c24 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/drivers/net/ethernet/freescale/
Ducc_geth.c1343 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1344 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1345 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1346 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1347 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1348 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1349 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1356 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1360 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1361 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
[all …]
Dfec_main.c991 if (fep->phy_interface == PHY_INTERFACE_MODE_RGMII || in fec_restart()
992 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in fec_restart()
993 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID || in fec_restart()
994 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) in fec_restart()
996 else if (fep->phy_interface == PHY_INTERFACE_MODE_RMII) in fec_restart()
1024 cfgr = (fep->phy_interface == PHY_INTERFACE_MODE_RMII) in fec_restart()
1895 fep->phy_interface); in fec_enet_mii_probe()
1922 fep->phy_interface); in fec_enet_mii_probe()
3263 fep->phy_interface = pdata->phy; in fec_probe()
3265 fep->phy_interface = PHY_INTERFACE_MODE_MII; in fec_probe()
[all …]
Dfec.h509 phy_interface_t phy_interface; member
Ducc_geth.h1219 phy_interface_t phy_interface; member
/linux-4.1.27/net/dsa/
Ddsa_priv.h44 phy_interface_t phy_interface; member
Dslave.c735 if (p->phy_interface == PHY_INTERFACE_MODE_NA) in dsa_slave_phy_connect()
736 p->phy_interface = p->phy->interface; in dsa_slave_phy_connect()
738 p->phy_interface); in dsa_slave_phy_connect()
757 p->phy_interface = mode; in dsa_slave_phy_setup()
792 p->phy_interface); in dsa_slave_phy_setup()
/linux-4.1.27/arch/sh/boards/
Dboard-espt.c83 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-apsh4ad0a.c48 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-polaris.c52 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-apsh4a3a.c96 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-magicpanelr2.c264 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-sh7757lcr.c154 .phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
188 .phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
/linux-4.1.27/arch/arm/mach-omap2/
Dgpmc-smsc911x.c36 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-bus-mdio11 What: /sys/bus/mdio_bus/devices/.../phy_interface
/linux-4.1.27/arch/sh/boards/mach-sh7763rdp/
Dsetup.c91 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/sh/boards/mach-sdk7786/
Dsetup.c68 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/mips/mti-sead3/
Dsead3-platform.c48 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/arm/mach-shmobile/
Dboard-bockw.c127 .phy_interface = PHY_INTERFACE_MODE_MII,
226 .phy_interface = PHY_INTERFACE_MODE_RMII,
Dboard-marzen.c97 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-kzm9g.c94 .phy_interface = PHY_INTERFACE_MODE_MII,
Dboard-armadillo800eva.c360 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/arm/mach-pxa/
Dcsb726.c235 .phy_interface = PHY_INTERFACE_MODE_MII,
Draumfeld.c304 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/arm/mach-imx/
Dmach-kzm_arm11_01.c146 .phy_interface = PHY_INTERFACE_MODE_MII,
Dmach-mx31lilly.c74 .phy_interface = PHY_INTERFACE_MODE_MII,
Dmach-pcm037.c239 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/sh/kernel/cpu/sh2/
Dsetup-sh7619.c129 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/arm/mach-realview/
Dcore.c95 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/blackfin/mach-bf561/boards/
Dacvilon.c184 .phy_interface = PHY_INTERFACE_MODE_MII,
Dcm_bf561.c198 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/drivers/net/ethernet/cadence/
Dmacb.c341 bp->phy_interface); in macb_mii_probe()
2340 if (bp->phy_interface == PHY_INTERFACE_MODE_RGMII) in macb_init()
2342 else if (bp->phy_interface == PHY_INTERFACE_MODE_RMII && in macb_init()
2665 if (bp->phy_interface == PHY_INTERFACE_MODE_RMII) in at91ether_init()
2815 bp->phy_interface = PHY_INTERFACE_MODE_RMII; in macb_probe()
2817 bp->phy_interface = PHY_INTERFACE_MODE_MII; in macb_probe()
2819 bp->phy_interface = err; in macb_probe()
Dmacb.h821 phy_interface_t phy_interface; member
/linux-4.1.27/arch/blackfin/mach-bf533/boards/
Dcm_bf533.c201 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/arm/mach-s3c64xx/
Dmach-smdk6410.c197 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/drivers/net/ethernet/renesas/
Dsh_eth.h525 phy_interface_t phy_interface; member
Dsh_eth.c422 switch (mdp->phy_interface) { in sh_eth_select_mii()
1851 mdp->phy_interface); in sh_eth_phy_init()
1862 mdp->phy_interface); in sh_eth_phy_init()
3034 pdata->phy_interface = of_get_phy_mode(np); in sh_eth_parse_dt()
3124 mdp->phy_interface = pd->phy_interface; in sh_eth_drv_probe()
/linux-4.1.27/drivers/net/ethernet/allwinner/
Dsun4i-emac.c85 phy_interface_t phy_interface; member
162 db->phy_interface); in emac_mdio_probe()
/linux-4.1.27/drivers/net/phy/
Dmdio_bus.c567 static DEVICE_ATTR_RO(phy_interface);
/linux-4.1.27/drivers/net/ethernet/broadcom/
Dbcmsysport.c1490 0, priv->phy_interface); in bcm_sysport_open()
1702 priv->phy_interface = of_get_phy_mode(dn); in bcm_sysport_probe()
1704 if (priv->phy_interface < 0) in bcm_sysport_probe()
1705 priv->phy_interface = PHY_INTERFACE_MODE_GMII; in bcm_sysport_probe()
Dbcmsysport.h676 phy_interface_t phy_interface; member
/linux-4.1.27/arch/sh/boards/mach-ap325rxa/
Dsetup.c47 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/mips/alchemy/devboards/
Ddb1300.c238 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/sh/boards/mach-se/7724/
Dsetup.c379 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c480 .phy_interface = PHY_INTERFACE_MODE_MII,
Dezkit.c623 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c308 phy_interface_t phy_interface; member
2671 pp->phy_interface); in mvneta_mdio_probe()
3089 pp->phy_interface = phy_mode; in mvneta_probe()
Dmvpp2.c690 phy_interface_t phy_interface; member
3821 switch (port->phy_interface) { in mvpp2_port_mii_set()
3884 if (port->phy_interface == PHY_INTERFACE_MODE_SGMII) in mvpp2_port_loopback_set()
5468 port->phy_interface); in mvpp2_phy_connect()
6094 port->phy_interface = phy_mode; in mvpp2_port_probe()
/linux-4.1.27/arch/sh/boards/mach-ecovec24/
Dsetup.c164 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux-4.1.27/drivers/net/ethernet/smsc/
Dsmsc911x.c1030 pdata->config.phy_interface); in smsc911x_mii_probe()
2375 config->phy_interface = of_get_phy_mode(np); in smsc911x_probe_config_dt()