Home
last modified time | relevance | path

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

123

/linux/arch/mips/loongson32/common/
H A Dplatform.c83 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init()
92 plat_dat->phy_interface); in ls1x_eth_mux_init()
97 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init()
106 plat_dat->phy_interface); in ls1x_eth_mux_init()
116 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) in ls1x_eth_mux_init()
131 .phy_interface = PHY_INTERFACE_MODE_MII,
133 .phy_interface = PHY_INTERFACE_MODE_RMII,
171 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-loongson1.c65 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init()
78 plat->phy_interface); in ls1b_dwmac_syscon_init()
88 switch (plat->phy_interface) { in ls1b_dwmac_syscon_init()
102 plat->phy_interface); in ls1b_dwmac_syscon_init()
122 switch (plat->phy_interface) { in ls1c_dwmac_syscon_init()
133 plat->phy_interface); in ls1c_dwmac_syscon_init()
H 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()
H A Ddwmac-loongson.c143 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in loongson_gmac_data()
195 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in loongson_gnet_data()
491 plat->phy_interface = ret; in loongson_dwmac_dt_config()
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c202 switch (priv->phy_interface) { in bcmgenet_mii_config()
267 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
274 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
305 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe()
338 switch (priv->phy_interface) { in bcmgenet_mii_probe()
440 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init()
542 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init()
549 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init()
581 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init()
603 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init()
[all …]
/linux/include/linux/
H A Dsh_eth.h11 phy_interface_t phy_interface; member
H A Dsmsc911x.h21 phy_interface_t phy_interface; member
/linux/include/linux/platform_data/
H A Dbcmgenet.h11 phy_interface_t phy_interface; member
H A Dxilinx-ll-temac.h17 phy_interface_t phy_interface; /* PHY interface mode */ member
/linux/arch/sh/boards/mach-rsk/
H A Ddevices-rsk7269.c19 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Ddevices-rsk7264.c17 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Ddevices-rsk7203.c21 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c956 switch (intf->phy_interface) { in bcmasp_configure_port()
990 phy_interface_t phy_iface = intf->phy_interface; in bcmasp_netif_init()
1229 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface); in bcmasp_interface_create()
1235 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmasp_interface_create()
1252 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) && in bcmasp_interface_create()
1253 intf->phy_interface != PHY_INTERFACE_MODE_MII && in bcmasp_interface_create()
1254 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) || in bcmasp_interface_create()
1257 phy_modes(intf->phy_interface), intf->port); in bcmasp_interface_create()
/linux/arch/sh/boards/
H A Dboard-espt.c79 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-apsh4ad0a.c45 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-polaris.c53 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-apsh4a3a.c93 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-magicpanelr2.c262 .phy_interface = PHY_INTERFACE_MODE_MII,
H A Dboard-sh7757lcr.c147 .phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
180 .phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1551 if (port->phy_interface == PHY_INTERFACE_MODE_MII) in mvpp22_gop_init_rgmii()
1705 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_unmask_irq()
1706 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_unmask_irq()
1707 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_unmask_irq()
1717 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq()
1736 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_mask_irq()
1737 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_mask_irq()
1738 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_mask_irq()
1754 phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_setup_irq()
1755 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_setup_irq()
[all …]
/linux/arch/sh/boards/mach-sh7763rdp/
H A Dsetup.c87 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/arch/sh/boards/mach-se/770x/
H A Dsetup.c121 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/arch/sh/boards/mach-sdk7786/
H A Dsetup.c65 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/arch/sh/kernel/cpu/sh2/
H A Dsetup-sh7619.c123 .phy_interface = PHY_INTERFACE_MODE_MII,
/linux/drivers/net/ethernet/xilinx/
H A Dll_temac.h349 phy_interface_t phy_interface; member

123