Searched refs:phy_interface (Results 1 - 25 of 64) sorted by last modified time

123

/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c1218 int mode = priv->plat->phy_interface;
3948 int mode = priv->plat->phy_interface;
H A Dstmmac_mdio.c506 mode = priv->plat->phy_interface;
H A Dstmmac_platform.c458 plat->phy_interface = phy_mode;
460 plat->mac_interface = rc < 0 ? plat->phy_interface : rc;
/linux-master/include/linux/
H A Dstmmac.h216 * mac_interface phy_interface
219 * as phy_interface if there is no intervening PCS. If there is a
221 * MAC and PCS, and phy_interface describes the interface mode
225 /* phy_interface is the PHY-side interface - the interface used by
228 phy_interface_t phy_interface; member in struct:plat_stmmacenet_data
/linux-master/drivers/net/ethernet/renesas/
H A Dsh_eth.c418 switch (mdp->phy_interface) {
2006 mdp->phy_interface);
2018 mdp->phy_interface);
3216 pdata->phy_interface = interface;
3300 mdp->phy_interface = pd->phy_interface;
H A Dravb_main.c497 if (priv->phy_interface == PHY_INTERFACE_MODE_MII) {
1454 : priv->phy_interface;
1852 if (priv->phy_interface == PHY_INTERFACE_MODE_RGMII_ID ||
1853 priv->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) {
1858 if (priv->phy_interface == PHY_INTERFACE_MODE_RGMII_ID ||
1859 priv->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) {
2906 error = of_get_phy_mode(np, &priv->phy_interface);
H A Dravb.h1116 phy_interface_t phy_interface; member in struct:ravb_private
/linux-master/drivers/net/ethernet/microchip/
H A Dlan743x_main.c1498 adapter->phy_interface = PHY_INTERFACE_MODE_SGMII;
1500 adapter->phy_interface = PHY_INTERFACE_MODE_GMII;
1502 adapter->phy_interface = PHY_INTERFACE_MODE_MII;
1504 adapter->phy_interface = PHY_INTERFACE_MODE_RGMII;
1544 adapter->phy_interface);
H A Dlan743x_main.h1057 phy_interface_t phy_interface; member in struct:lan743x_adapter
/linux-master/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1551 if (port->phy_interface == PHY_INTERFACE_MODE_MII)
1705 if (phy_interface_mode_is_rgmii(port->phy_interface) ||
1706 phy_interface_mode_is_8023z(port->phy_interface) ||
1707 port->phy_interface == PHY_INTERFACE_MODE_SGMII) {
1717 if (mvpp2_is_xlg(port->phy_interface))
1736 if (phy_interface_mode_is_rgmii(port->phy_interface) ||
1737 phy_interface_mode_is_8023z(port->phy_interface) ||
1738 port->phy_interface == PHY_INTERFACE_MODE_SGMII) {
1754 phy_interface_mode_is_rgmii(port->phy_interface) ||
1755 phy_interface_mode_is_8023z(port->phy_interface) ||
[all...]
/linux-master/drivers/net/ethernet/marvell/
H A Dmvneta.c531 phy_interface_t phy_interface; member in struct:mvneta_port
3741 pp->phy_interface = interface;
3750 WARN_ON(mvneta_config_interface(pp, pp->phy_interface));
4096 if (pp->phy_interface != interface ||
4109 if (pp->phy_interface != interface)
4193 if (pp->phy_interface != interface)
5493 pp->phy_interface = phy_mode;
5668 err = mvneta_port_power_up(pp, pp->phy_interface);
5829 err = mvneta_port_power_up(pp, pp->phy_interface);
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_common.c5046 cmd->phy_interface != I40E_AQ_PHY_REG_ACCESS_EXTERNAL)
5089 cmd->phy_interface = phy_select;
5134 cmd->phy_interface = phy_select;
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c1147 if (fep->phy_interface == PHY_INTERFACE_MODE_RGMII ||
1148 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_ID ||
1149 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID ||
1150 fep->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID)
1152 else if (fep->phy_interface == PHY_INTERFACE_MODE_RMII)
1180 cfgr = (fep->phy_interface == PHY_INTERFACE_MODE_RMII)
2406 fep->phy_interface);
2431 fep->phy_interface);
4373 fep->phy_interface = pdata->phy;
4375 fep->phy_interface
[all...]
H A Dfec.h631 phy_interface_t phy_interface; member in struct:fec_enet_private
/linux-master/drivers/net/ethernet/cadence/
H A Dmacb_main.c530 if (bp->phy_interface == PHY_INTERFACE_MODE_MII)
670 bp->phy_interface == PHY_INTERFACE_MODE_MII) {
772 if (bp->phy_interface == PHY_INTERFACE_MODE_10GBASER)
873 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) {
908 bp->phy_interface, &macb_phylink_ops);
4206 if (phy_interface_mode_is_rgmii(bp->phy_interface))
4208 else if (bp->phy_interface == PHY_INTERFACE_MODE_RMII &&
4223 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII)
4728 if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) {
5132 bp->phy_interface
[all...]
/linux-master/arch/sh/boards/
H A Dboard-sh7757lcr.c147 .phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
180 .phy_interface = PHY_INTERFACE_MODE_RGMII_ID,
/linux-master/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c202 switch (priv->phy_interface) {
267 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface);
274 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA);
305 phy_interface_t phy_iface = priv->phy_interface;
317 * the phy_interface values and we have done that across different
338 switch (priv->phy_interface) {
440 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) {
542 priv->phy_interface = phy_mode;
549 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL)
581 if (priv->phy_interface
[all...]
H A Dbcmgenet.h615 phy_interface_t phy_interface; member in struct:bcmgenet_priv
H A Dbcmgenet.c2525 } else if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) {
2578 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) {
3705 priv->phy_interface != PHY_INTERFACE_MODE_MOCA)
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c952 switch (intf->phy_interface) {
986 phy_interface_t phy_iface = intf->phy_interface;
1004 * interpreting the phy_interface values and we have done that
1225 ret = of_get_phy_mode(ndev_dn, &intf->phy_interface);
1231 if (intf->phy_interface == PHY_INTERFACE_MODE_INTERNAL)
1248 if ((!phy_interface_mode_is_rgmii(intf->phy_interface) &&
1249 intf->phy_interface != PHY_INTERFACE_MODE_MII &&
1250 intf->phy_interface != PHY_INTERFACE_MODE_INTERNAL) ||
1253 phy_modes(intf->phy_interface), intf->port);
H A Dbcmasp.h334 phy_interface_t phy_interface; member in struct:bcmasp_intf
/linux-master/drivers/net/ethernet/xilinx/
H A Dll_temac_main.c1172 lp->phy_interface);
1602 lp->phy_interface = pdata->phy_interface;
/linux-master/drivers/net/phy/
H A Dphy_device.c587 static DEVICE_ATTR_RO(phy_interface);
/linux-master/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c28 phy_interface_t phy_interface; member in struct:r8a779f0_eth_serdes_channel
95 switch (channel->phy_interface) {
113 switch (channel->phy_interface) {
170 switch (channel->phy_interface) {
312 channel->phy_interface = submode;
/linux-master/drivers/net/ethernet/smsc/
H A Dsmsc911x.c1033 pdata->config.phy_interface);
2373 int phy_interface; local
2377 phy_interface = device_get_phy_mode(dev);
2378 if (phy_interface < 0)
2379 phy_interface = PHY_INTERFACE_MODE_NA;
2380 config->phy_interface = phy_interface;

Completed in 461 milliseconds

123