Home
last modified time | relevance | path

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

12

/drivers/net/mtk_eth/
A Dmtk_eth.c103 int phy_interface; member
425 priv->swpriv->phy_interface = priv->phy_interface; in mtk_switch_init()
552 priv->phy_interface == PHY_INTERFACE_MODE_XGMII) in mtk_phy_start()
571 priv->phy_interface); in mtk_phy_probe()
820 switch (priv->phy_interface) { in mtk_mac_init()
843 if (priv->phy_interface == PHY_INTERFACE_MODE_SGMII) in mtk_mac_init()
918 switch (priv->phy_interface) { in mtk_xmac_init()
1253 priv->phy_interface == PHY_INTERFACE_MODE_XGMII) in mtk_eth_probe()
1350 pdata->phy_interface = dev_read_phy_mode(dev); in mtk_eth_of_to_plat()
1351 priv->phy_interface = pdata->phy_interface; in mtk_eth_of_to_plat()
[all …]
A Dmt7988.c81 switch (priv->epriv.phy_interface) { in mt7988_setup()
109 phy_string_for_interface(priv->epriv.phy_interface)); in mt7988_setup()
/drivers/net/
A Ddwc_eth_qos_rockchip.c130 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3528_set_gmac_speed()
137 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3528_set_gmac_speed()
144 if (pdata->phy_interface != PHY_INTERFACE_MODE_RMII) in rk3528_set_gmac_speed()
355 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
361 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
367 if (pdata->phy_interface != PHY_INTERFACE_MODE_RMII) in rk3576_set_gmac_speed()
496 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
502 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3588_set_gmac_speed()
633 pdata->phy_interface = eqos->config->interface(dev); in eqos_probe_resources_rk()
636 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) { in eqos_probe_resources_rk()
[all …]
A Ddwmac_thead.c59 switch (plat->dw_eth_pdata.eth_pdata.phy_interface) { in dwmac_thead_set_phy_if()
81 switch (plat->dw_eth_pdata.eth_pdata.phy_interface) { in dwmac_thead_set_txclk_dir()
141 switch (plat->dw_eth_pdata.eth_pdata.phy_interface) { in dwmac_thead_enable_clk()
173 interface = plat->dw_eth_pdata.eth_pdata.phy_interface; in dwmac_thead_eth_start()
A Dmvgbe.c636 phy_interface_t phy_interface, in __mvgbe_phy_init() argument
648 phydev = phy_connect(bus, phyid, dev, phy_interface); in __mvgbe_phy_init()
710 dmvgbe->phy_interface, in mvgbe_start()
791 pdata->phy_interface = -1; in mvgbe_of_to_plat()
797 pdata->phy_interface = dev_read_phy_mode(dev); in mvgbe_of_to_plat()
798 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in mvgbe_of_to_plat()
799 pdata->phy_interface = PHY_INTERFACE_MODE_GMII; in mvgbe_of_to_plat()
801 dmvgbe->phy_interface = pdata->phy_interface; in mvgbe_of_to_plat()
A Dmacb.c141 phy_interface_t phy_interface; member
692 macb->phy_interface); in macb_phy_init()
932 if (macb->phy_interface == PHY_INTERFACE_MODE_RGMII || in _macb_init()
933 macb->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in _macb_init()
937 else if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init()
939 else if (macb->phy_interface == PHY_INTERFACE_MODE_MII) in _macb_init()
947 if (macb->phy_interface == PHY_INTERFACE_MODE_SGMII) { in _macb_init()
956 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init()
964 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init()
1223 macb->phy_interface = dev_read_phy_mode(dev); in macb_eth_probe()
[all …]
A Ddwmac_meson8b.c58 switch (edata->phy_interface) { in dwmac_setup_axg()
96 switch (edata->phy_interface) { in dwmac_setup_gx()
A Dravb.c333 phydev = phy_connect(eth->bus, -1, dev, pdata->phy_interface); in ravb_phy_config()
471 if (pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_dmac_init_rcar()
472 pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_RXID) in ravb_dmac_init_rcar()
475 if (pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_ID || in ravb_dmac_init_rcar()
476 pdata->phy_interface == PHY_INTERFACE_MODE_RGMII_TXID) in ravb_dmac_init_rcar()
773 pdata->phy_interface = dev_read_phy_mode(dev); in ravb_of_to_plat()
774 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in ravb_of_to_plat()
A Dbcm6348-eth.c392 pdata->phy_interface); in bcm6348_phy_init()
427 pdata->phy_interface = dev_read_phy_mode(dev); in bcm6348_eth_probe()
428 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in bcm6348_eth_probe()
490 if (pdata->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcm6348_eth_probe()
A Dxilinx_axi_emac.c845 priv->interface = pdata->phy_interface; in axi_emac_probe()
868 priv->phyaddr, phy_string_for_interface(pdata->phy_interface)); in axi_emac_probe()
931 pdata->phy_interface = dev_read_phy_mode(dev); in axi_emac_of_to_plat()
932 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in axi_emac_of_to_plat()
937 if (pdata->phy_interface == PHY_INTERFACE_MODE_SGMII || in axi_emac_of_to_plat()
938 pdata->phy_interface == PHY_INTERFACE_MODE_1000BASEX) { in axi_emac_of_to_plat()
A Dsun8i_emac.c829 pdata->phy_interface = -1; in sun8i_emac_eth_of_to_plat()
837 pdata->phy_interface = dev_read_phy_mode(dev); in sun8i_emac_eth_of_to_plat()
838 debug("phy interface %d\n", pdata->phy_interface); in sun8i_emac_eth_of_to_plat()
839 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in sun8i_emac_eth_of_to_plat()
848 priv->interface = pdata->phy_interface; in sun8i_emac_eth_of_to_plat()
A Dtsec.c702 pdata->phy_interface = dev_read_phy_mode(dev); in tsec_probe()
703 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in tsec_probe()
704 pdata->phy_interface = tsec_get_interface(priv); in tsec_probe()
706 priv->interface = pdata->phy_interface; in tsec_probe()
A Dpic32_eth.c551 pdata->phy_interface = dev_read_phy_mode(dev); in pic32_eth_probe()
552 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in pic32_eth_probe()
565 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
A Dnpcm750_eth.c664 priv->interface = pdata->phy_interface; in npcm750_eth_probe()
710 pdata->phy_interface = -1; in npcm750_eth_ofdata_to_platdata()
714 pdata->phy_interface = dev_read_phy_mode(dev); in npcm750_eth_ofdata_to_platdata()
716 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in npcm750_eth_ofdata_to_platdata()
A Ddwmac_socfpga.c100 switch (edata->phy_interface) { in dwmac_socfpga_probe()
A Daltera_tse.c660 priv->interface = pdata->phy_interface; in altera_tse_probe()
673 pdata->phy_interface = dev_read_phy_mode(dev); in altera_tse_of_to_plat()
674 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in altera_tse_of_to_plat()
A Dftgmac100.c612 pdata->phy_interface = dev_read_phy_mode(dev); in ftgmac100_of_to_plat()
613 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in ftgmac100_of_to_plat()
643 priv->phy_mode = pdata->phy_interface; in ftgmac100_probe()
A Dfec_mxc.c1251 ret = board_interface_eth_init(dev, pdata->phy_interface); in fecmxc_probe()
1304 pdata->phy_interface); in fecmxc_probe()
1386 priv->interface = pdata->phy_interface; in fecmxc_probe()
1450 pdata->phy_interface = dev_read_phy_mode(dev); in fecmxc_of_to_plat()
1451 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) in fecmxc_of_to_plat()
A Dmvneta.c275 phy_interface_t phy_interface; member
1429 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init()
1448 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start()
1601 pp->phy_interface = dev_read_phy_mode(dev); in mvneta_probe()
1602 if (pp->phy_interface == PHY_INTERFACE_MODE_NA) in mvneta_probe()
/drivers/phy/renesas/
A Dr8a779f0-ether-serdes.c35 phy_interface_t phy_interface; member
101 switch (channel->phy_interface) { in r8a779f0_eth_serdes_common_setting()
119 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_setting()
176 switch (channel->phy_interface) { in r8a779f0_eth_serdes_chan_speed()
305 channel->phy_interface = submode; in r8a779f0_eth_serdes_set_mode()
/drivers/net/ti/
A Dicssg_prueth.h60 int phy_interface; member
86 int phy_interface; member
A Dicssg_config.c113 if (prueth->phy_interface == PHY_INTERFACE_MODE_MII && slice == ICSS_MII0) in icssg_config_mii_init()
115 else if (prueth->phy_interface != PHY_INTERFACE_MODE_MII && slice == ICSS_MII1) in icssg_config_mii_init()
323 icssg_miig_set_interface_mode(prueth->miig_rt, ICSS_MII0, prueth->phy_interface); in icssg_config()
324 icssg_miig_set_interface_mode(prueth->miig_rt, ICSS_MII1, prueth->phy_interface); in icssg_config()
A Dicssg_prueth.c484 priv->phy_interface = dev_read_phy_mode(dev); in icssg_ofdata_parse_phy()
485 if (priv->phy_interface == PHY_INTERFACE_MODE_NA) { in icssg_ofdata_parse_phy()
487 phy_string_for_interface(priv->phy_interface), in icssg_ofdata_parse_phy()
A Dam65-cpsw-nuss.c659 pdata->phy_interface = dev_read_phy_mode(dev); in am65_cpsw_ofdata_parse_phy()
660 if (pdata->phy_interface == PHY_INTERFACE_MODE_NA) { in am65_cpsw_ofdata_parse_phy()
693 ret = am65_cpsw_gmii_sel_k3(priv, pdata->phy_interface); in am65_cpsw_port_probe()
/drivers/net/pfe_eth/
A Dpfe_eth.c240 priv->gemac_port = pdata->pfe_eth_pdata_mac.phy_interface; in pfe_eth_probe()
261 ret = pfe_phy_configure(priv, pdata->pfe_eth_pdata_mac.phy_interface, in pfe_eth_probe()
272 sprintf(name, "pfe_eth%u", pdata->pfe_eth_pdata_mac.phy_interface); in pfe_eth_bind()

Completed in 96 milliseconds

12