Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmmii.c203 switch (priv->phy_interface) { in bcmgenet_mii_config()
268 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config()
275 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config()
306 phy_interface_t phy_iface = priv->phy_interface; in bcmgenet_mii_probe()
339 switch (priv->phy_interface) { in bcmgenet_mii_probe()
526 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init()
533 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init()
565 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init()
/linux/drivers/phy/renesas/
H A Dr8a779f0-ether-serdes.c28 phy_interface_t phy_interface; member
121 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_setting()
214 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_speed()
385 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
/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 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/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/drivers/net/ethernet/socionext/
H A Dnetsec.c297 phy_interface_t phy_interface; member
451 if (priv->phy_interface != PHY_INTERFACE_MODE_GMII && in netsec_mac_update_to_phy_state()
457 if (phy_interface_mode_is_rgmii(priv->phy_interface)) in netsec_mac_update_to_phy_state()
1644 priv->phy_interface)) { in netsec_netdev_open()
1652 priv->phy_interface); in netsec_netdev_open()
1853 err = of_get_phy_mode(pdev->dev.of_node, &priv->phy_interface); in netsec_of_probe()
1865 priv->phy_interface != PHY_INTERFACE_MODE_RGMII_ID) { in netsec_of_probe()
1867 priv->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in netsec_of_probe()
1901 priv->phy_interface = PHY_INTERFACE_MODE_NA; in netsec_acpi_probe()
/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/drivers/net/ethernet/spacemit/
H A Dk1_emac.c116 phy_interface_t phy_interface; member
150 if (phy_interface_mode_is_rgmii(priv->phy_interface)) in emac_phy_interface_config()
1580 if (phy_interface_mode_is_rgmii(priv->phy_interface)) { in emac_update_delay_line()
1605 ret = of_get_phy_mode(dev->of_node, &priv->phy_interface); in emac_phy_connect()
1611 switch (priv->phy_interface) { in emac_phy_connect()
1620 phy_modes(priv->phy_interface)); in emac_phy_connect()
1638 priv->phy_interface); in emac_phy_connect()
/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
/linux/Documentation/ABI/testing/
H A Dsysfs-class-net-phydev39 What: /sys/class/mdio_bus/<bus>/<device>/phy_interface
/linux/Documentation/networking/
H A Dsfp-phylink.rst159 phy_dev = of_phy_connect(dev, node, link_func, flags, phy_interface);
182 Note that the driver no longer needs to store the ``phy_interface``,
183 and also note that ``phy_interface`` becomes a dynamic property,
/linux/drivers/net/ethernet/renesas/
H A Drswitch_main.c1163 switch (etha->phy_interface) { in rswitch_rmac_setting()
1339 err = of_get_phy_mode(rdev->np_port, &rdev->etha->phy_interface); in rswitch_etha_get_params()
1350 switch (rdev->etha->phy_interface) { in rswitch_etha_get_params()
1479 __set_bit(rdev->etha->phy_interface, phydev->host_interfaces); in rswitch_phy_device_init()
1483 rdev->etha->phy_interface); in rswitch_phy_device_init()
1514 rdev->etha->phy_interface); in rswitch_serdes_set_params()

12