| /OK3568_Linux_fs/kernel/arch/mips/loongson32/common/ |
| H A D | platform.c | 101 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() 110 plat_dat->phy_interface); in ls1x_eth_mux_init() 115 switch (plat_dat->phy_interface) { in ls1x_eth_mux_init() 124 plat_dat->phy_interface); in ls1x_eth_mux_init() 134 if (plat_dat->phy_interface == PHY_INTERFACE_MODE_RMII) in ls1x_eth_mux_init() 149 .phy_interface = PHY_INTERFACE_MODE_MII, 151 .phy_interface = PHY_INTERFACE_MODE_RMII, 189 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/genet/ |
| H A D | bcmmii.c | 192 switch (priv->phy_interface) { in bcmgenet_mii_config() 255 dev_err(kdev, "unknown phy mode: %d\n", priv->phy_interface); in bcmgenet_mii_config() 262 (priv->phy_interface != PHY_INTERFACE_MODE_MOCA); in bcmgenet_mii_config() 305 phy_flags, priv->phy_interface); in bcmgenet_mii_probe() 335 priv->phy_interface); in bcmgenet_mii_probe() 393 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pdata_init() 491 priv->phy_interface = phy_mode; in bcmgenet_phy_interface_init() 498 if (priv->phy_interface == PHY_INTERFACE_MODE_INTERNAL) in bcmgenet_phy_interface_init() 530 if (priv->phy_interface == PHY_INTERFACE_MODE_MOCA) { in bcmgenet_mii_of_init() 552 if (pd->phy_interface != PHY_INTERFACE_MODE_MOCA && pd->mdio_enabled) { in bcmgenet_mii_pd_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/netlogic/ |
| H A D | platform_net.c | 69 .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()
|
| H A D | platform_net.h | 15 int phy_interface; member
|
| /OK3568_Linux_fs/u-boot/drivers/net/ |
| H A D | gmac_rockchip.c | 53 int phy_interface; member 70 int phy_interface; member 274 clk = (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) ? in rk3228_gmac_fix_mac_speed() 279 clk = (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) ? in rk3228_gmac_fix_mac_speed() 396 clk = (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) ? in rk3328_gmac_fix_mac_speed() 401 clk = (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) ? in rk3328_gmac_fix_mac_speed() 550 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3528_set_rgmii_speed() 557 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) in rk3528_set_rgmii_speed() 564 if (pdata->phy_interface != PHY_INTERFACE_MODE_RMII) in rk3528_set_rgmii_speed() 617 if (pdata->phy_interface == PHY_INTERFACE_MODE_RMII) { in rk3562_set_gmac_speed() [all …]
|
| H A D | macb.c | 122 phy_interface_t phy_interface; member 503 macb->phy_interface); in macb_phy_init() 666 if ((macb->phy_interface == PHY_INTERFACE_MODE_RMII) || in _macb_init() 667 (macb->phy_interface == PHY_INTERFACE_MODE_RGMII)) in _macb_init() 682 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) { in _macb_init() 689 if (macb->phy_interface == PHY_INTERFACE_MODE_RMII) in _macb_init() 1040 macb->phy_interface = phy_get_interface_by_name(phy_mode); in macb_eth_probe() 1041 if (macb->phy_interface == -1) { in macb_eth_probe()
|
| H A D | mvneta.c | 278 phy_interface_t phy_interface; member 1395 err = mvneta_port_power_up(pp, pp->phy_interface); in mvneta_init() 1526 mvneta_port_power_up(pp, pp->phy_interface); in mvneta_start() 1556 pp->phy_interface); in mvneta_start() 1704 pp->phy_interface = pdata->phy_interface; in mvneta_probe() 1762 pdata->phy_interface = -1; in mvneta_ofdata_to_platdata() 1766 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in mvneta_ofdata_to_platdata() 1767 if (pdata->phy_interface == -1) { in mvneta_ofdata_to_platdata()
|
| H A D | sun8i_emac.c | 782 pdata->phy_interface = -1; in sun8i_emac_eth_ofdata_to_platdata() 795 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in sun8i_emac_eth_ofdata_to_platdata() 796 printf("phy interface%d\n", pdata->phy_interface); in sun8i_emac_eth_ofdata_to_platdata() 798 if (pdata->phy_interface == -1) { in sun8i_emac_eth_ofdata_to_platdata() 817 priv->interface = pdata->phy_interface; in sun8i_emac_eth_ofdata_to_platdata()
|
| H A D | designware.c | 692 pdata->phy_interface = PHY_INTERFACE_MODE_RMII; in designware_eth_probe() 700 priv->interface = pdata->phy_interface; in designware_eth_probe() 746 pdata->phy_interface = -1; in designware_eth_ofdata_to_platdata() 749 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in designware_eth_ofdata_to_platdata() 750 if (pdata->phy_interface == -1) { in designware_eth_ofdata_to_platdata()
|
| H A D | pic32_eth.c | 547 pdata->phy_interface = -1; in pic32_eth_probe() 551 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in pic32_eth_probe() 552 if (pdata->phy_interface == -1) { in pic32_eth_probe() 567 priv->phyif = pdata->phy_interface; in pic32_eth_probe()
|
| H A D | ravb.c | 305 phydev = phy_find_by_mask(eth->bus, mask, pdata->phy_interface); in ravb_phy_config() 618 pdata->phy_interface = -1; in ravb_ofdata_to_platdata() 622 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in ravb_ofdata_to_platdata() 623 if (pdata->phy_interface == -1) { in ravb_ofdata_to_platdata()
|
| H A D | altera_tse.c | 664 priv->interface = pdata->phy_interface; in altera_tse_probe() 678 pdata->phy_interface = -1; in altera_tse_ofdata_to_platdata() 682 pdata->phy_interface = phy_get_interface_by_name(phy_mode); in altera_tse_ofdata_to_platdata() 683 if (pdata->phy_interface == -1) { in altera_tse_ofdata_to_platdata()
|
| H A D | bcm-sf2-eth.h | 49 phy_interface_t phy_interface; member
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/stmicro/stmmac/ |
| H A D | dwmac-intel.c | 353 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_sgmii_data() 369 plat->phy_interface = PHY_INTERFACE_MODE_RGMII; in ehl_rgmii_data() 389 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse0_rgmii1g_data() 400 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse0_sgmii1g_data() 421 plat->phy_interface = PHY_INTERFACE_MODE_RGMII_ID; in ehl_pse1_rgmii1g_data() 432 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in ehl_pse1_sgmii1g_data() 456 plat->phy_interface = PHY_INTERFACE_MODE_SGMII; in tgl_sgmii_data() 555 plat->phy_interface = PHY_INTERFACE_MODE_RMII; in quark_default_data()
|
| H A D | stmmac_pci.c | 59 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in stmmac_default_data() 115 plat->phy_interface = PHY_INTERFACE_MODE_GMII; in snps_gmac5_default_data()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/ |
| H A D | ucc_geth.c | 1340 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 …]
|
| /OK3568_Linux_fs/kernel/include/linux/platform_data/ |
| H A D | bcmgenet.h | 11 phy_interface_t phy_interface; member
|
| H A D | xilinx-ll-temac.h | 17 phy_interface_t phy_interface; /* PHY interface mode */ member
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | sh_eth.h | 11 phy_interface_t phy_interface; member
|
| H A D | smsc911x.h | 21 phy_interface_t phy_interface; member
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/mach-rsk/ |
| H A D | devices-rsk7264.c | 17 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| H A D | devices-rsk7269.c | 19 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| H A D | devices-rsk7203.c | 21 .phy_interface = PHY_INTERFACE_MODE_MII,
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 1291 switch (port->phy_interface) { in mvpp22_gop_init() 1339 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_unmask_irq() 1340 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_unmask_irq() 1341 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_unmask_irq() 1351 if (mvpp2_is_xlg(port->phy_interface)) in mvpp22_gop_unmask_irq() 1370 if (phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_mask_irq() 1371 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_mask_irq() 1372 port->phy_interface == PHY_INTERFACE_MODE_SGMII) { in mvpp22_gop_mask_irq() 1388 phy_interface_mode_is_rgmii(port->phy_interface) || in mvpp22_gop_setup_irq() 1389 phy_interface_mode_is_8023z(port->phy_interface) || in mvpp22_gop_setup_irq() [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/boards/ |
| H A D | board-espt.c | 79 .phy_interface = PHY_INTERFACE_MODE_MII,
|