Home
last modified time | relevance | path

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

12

/drivers/net/ethernet/broadcom/genet/
Dbcmmii.c192 if (priv->phy_interface == PHY_INTERFACE_MODE_MII) { in bcmgenet_mii_config()
217 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
219 switch (priv->phy_interface) { in bcmgenet_mii_config()
236 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_config()
285 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
328 phy_flags, priv->phy_interface); in bcmgenet_mii_probe()
338 priv->phy_interface); in bcmgenet_mii_probe()
396 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init()
506 priv->phy_interface = phy_mode; in bcmgenet_mii_of_init()
512 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_mii_of_init()
[all …]
Dbcmgenet.h646 phy_interface_t phy_interface; member
/drivers/staging/netlogic/
Dplatform_net.c69 .phy_interface = PHY_INTERFACE_MODE_SGMII, in gmac_controller2_init()
140 ndata0.phy_interface = PHY_INTERFACE_MODE_RGMII; in xls_gmac_init()
154 ndata0.phy_interface = PHY_INTERFACE_MODE_SGMII; in xls_gmac_init()
177 .phy_interface = PHY_INTERFACE_MODE_RGMII, in xlr_gmac_init()
Dplatform_net.h15 int phy_interface; member
Dxlr_net.c284 if (priv->nd->phy_interface == PHY_INTERFACE_MODE_RGMII || in xlr_hw_set_mac_addr()
285 priv->nd->phy_interface == PHY_INTERFACE_MODE_SGMII) in xlr_hw_set_mac_addr()
794 xlr_gmac_link_adjust, priv->nd->phy_interface); in xlr_mii_probe()
860 priv->nd->phy_interface == PHY_INTERFACE_MODE_RGMII) in xlr_port_enable()
/drivers/net/ethernet/freescale/
Ducc_geth.c1340 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_RMII) || in adjust_enet_interface()
1341 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII) || in adjust_enet_interface()
1342 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_ID) || in adjust_enet_interface()
1343 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) || in adjust_enet_interface()
1344 (ugeth->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) || in adjust_enet_interface()
1345 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
1346 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RMII) in adjust_enet_interface()
1353 if (ugeth->phy_interface != PHY_INTERFACE_MODE_RTBI) in adjust_enet_interface()
1357 if ((ugeth->phy_interface == PHY_INTERFACE_MODE_TBI) || in adjust_enet_interface()
1358 (ugeth->phy_interface == PHY_INTERFACE_MODE_RTBI)) { in adjust_enet_interface()
[all …]
Dfec_main.c988 if (fep->phy_interface == PHY_INTERFACE_MODE_RGMII || in fec_restart()
989 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in fec_restart()
990 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID || in fec_restart()
991 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) in fec_restart()
993 else if (fep->phy_interface == PHY_INTERFACE_MODE_RMII) in fec_restart()
1021 cfgr = (fep->phy_interface == PHY_INTERFACE_MODE_RMII) in fec_restart()
1957 fep->phy_interface); in fec_enet_mii_probe()
1982 fep->phy_interface); in fec_enet_mii_probe()
3482 fep->phy_interface = pdata->phy; in fec_probe()
3484 fep->phy_interface = PHY_INTERFACE_MODE_MII; in fec_probe()
[all …]
Dfec.h535 phy_interface_t phy_interface; member
Ducc_geth.h1215 phy_interface_t phy_interface; member
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_platform.c415 plat->phy_interface = of_get_phy_mode(np); in stmmac_probe_config_dt()
416 if (plat->phy_interface < 0) in stmmac_probe_config_dt()
417 return ERR_PTR(plat->phy_interface); in stmmac_probe_config_dt()
421 plat->interface = plat->phy_interface; in stmmac_probe_config_dt()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1189 switch (port->phy_interface) { in mvpp22_gop_init()
1237 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_unmask_irq()
1238 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_unmask_irq()
1239 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_unmask_irq()
1249 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq()
1268 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_mask_irq()
1269 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_mask_irq()
1270 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_mask_irq()
1282 phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_setup_irq()
1283 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_setup_irq()
[all …]
Dmvpp2.h937 phy_interface_t phy_interface; member
/drivers/net/ethernet/socionext/
Dnetsec.c296 phy_interface_t phy_interface; member
450 if (priv->phy_interface != PHY_INTERFACE_MODE_GMII && in netsec_mac_update_to_phy_state()
456 if (phy_interface_mode_is_rgmii(priv->phy_interface)) in netsec_mac_update_to_phy_state()
1616 priv->phy_interface)) { in netsec_netdev_open()
1624 priv->phy_interface); in netsec_netdev_open()
1993 priv->phy_interface = device_get_phy_mode(&pdev->dev); in netsec_probe()
1994 if ((int)priv->phy_interface < 0) { in netsec_probe()
/drivers/net/ethernet/xilinx/
Dll_temac.h339 phy_interface_t phy_interface; member
Dll_temac_main.c1020 lp->phy_interface); in temac_open()
1366 lp->phy_interface = pdata->phy_interface; in temac_probe()
/drivers/net/ethernet/smsc/
Dsmsc911x.c1029 pdata->config.phy_interface); in smsc911x_mii_probe()
2373 int phy_interface; in smsc911x_probe_config() local
2377 phy_interface = device_get_phy_mode(dev); in smsc911x_probe_config()
2378 if (phy_interface < 0) in smsc911x_probe_config()
2379 phy_interface = PHY_INTERFACE_MODE_NA; in smsc911x_probe_config()
2380 config->phy_interface = phy_interface; in smsc911x_probe_config()
/drivers/net/ethernet/renesas/
Dravb_main.c1036 priv->phy_interface); in ravb_phy_init()
1969 if (priv->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_set_delay_mode()
1970 priv->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) in ravb_set_delay_mode()
1973 if (priv->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_set_delay_mode()
1974 priv->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) { in ravb_set_delay_mode()
1977 phy_modes(priv->phy_interface))) in ravb_set_delay_mode()
2051 priv->phy_interface = of_get_phy_mode(np); in ravb_probe()
Dsh_eth.h538 phy_interface_t phy_interface; member
Dsh_eth.c473 switch (mdp->phy_interface) { in sh_eth_select_mii()
2041 mdp->phy_interface); in sh_eth_phy_init()
2053 mdp->phy_interface); in sh_eth_phy_init()
3200 pdata->phy_interface = ret; in sh_eth_parse_dt()
3289 mdp->phy_interface = pd->phy_interface; in sh_eth_drv_probe()
Dravb.h1028 phy_interface_t phy_interface; member
/drivers/net/ethernet/allwinner/
Dsun4i-emac.c90 phy_interface_t phy_interface; member
168 db->phy_interface); in emac_mdio_probe()
/drivers/net/ethernet/cadence/
Dmacb_main.c540 bp->phy_interface); in macb_mii_probe()
552 bp->phy_interface); in macb_mii_probe()
2233 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) in macb_init_hw()
3598 if (bp->phy_interface == PHY_INTERFACE_MODE_RGMII) in macb_init()
3600 else if (bp->phy_interface == PHY_INTERFACE_MODE_RMII && in macb_init()
3615 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) in macb_init()
3949 if (bp->phy_interface == PHY_INTERFACE_MODE_RMII) in at91ether_init()
4314 bp->phy_interface = PHY_INTERFACE_MODE_MII; in macb_probe()
4316 bp->phy_interface = err; in macb_probe()
/drivers/net/ethernet/broadcom/
Dbcmsysport.h760 phy_interface_t phy_interface; member
Dbcmsysport.c1942 0, priv->phy_interface); in bcm_sysport_open()
2483 priv->phy_interface = of_get_phy_mode(dn); in bcm_sysport_probe()
2485 if ((int)priv->phy_interface < 0) in bcm_sysport_probe()
2486 priv->phy_interface = PHY_INTERFACE_MODE_GMII; in bcm_sysport_probe()
/drivers/net/ethernet/marvell/
Dmvneta.c436 phy_interface_t phy_interface; member
3161 pp->phy_interface); in mvneta_comphy_init()
3550 if (pp->comphy && pp->phy_interface != state->interface && in mvneta_mac_config()
3554 pp->phy_interface = state->interface; in mvneta_mac_config()
4531 pp->phy_interface = phy_mode; in mvneta_probe()
4807 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_resume()

12