| /OK3568_Linux_fs/kernel/drivers/net/mdio/ |
| H A D | of_mdio.c | 371 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 375 mdiodev = of_mdio_find_device(phy_np); in of_phy_find_device() 401 struct device_node *phy_np, in of_phy_connect() argument 405 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() 438 struct device_node *phy_np; in of_phy_get_and_connect() local 451 phy_np = of_node_get(np); in of_phy_get_and_connect() 453 phy_np = of_parse_phandle(np, "phy-handle", 0); in of_phy_get_and_connect() 454 if (!phy_np) in of_phy_get_and_connect() 458 phy = of_phy_connect(dev, phy_np, hndlr, 0, iface); in of_phy_get_and_connect() 460 of_node_put(phy_np); in of_phy_get_and_connect() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | of_mdio.h | 21 struct phy_device *of_phy_find_device(struct device_node *phy_np); 23 of_phy_connect(struct net_device *dev, struct device_node *phy_np, 30 of_phy_attach(struct net_device *dev, struct device_node *phy_np, 90 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 96 struct device_node *phy_np, in of_phy_connect() argument 111 struct device_node *phy_np, in of_phy_attach() argument
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/qualcomm/emac/ |
| H A D | emac-phy.c | 136 struct device_node *phy_np; in emac_phy_config() local 144 phy_np = of_parse_phandle(np, "phy-handle", 0); in emac_phy_config() 145 adpt->phydev = of_phy_find_device(phy_np); in emac_phy_config() 146 of_node_put(phy_np); in emac_phy_config()
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | ehci-tegra.c | 53 struct device_node *phy_np; in tegra_reset_usb_controller() local 60 phy_np = of_parse_phandle(pdev->dev.of_node, "nvidia,phy", 0); in tegra_reset_usb_controller() 61 if (!phy_np) in tegra_reset_usb_controller() 69 rst = of_reset_control_get_shared(phy_np, "utmi-pads"); in tegra_reset_usb_controller() 83 of_node_put(phy_np); in tegra_reset_usb_controller()
|
| /OK3568_Linux_fs/kernel/net/dsa/ |
| H A D | port.c | 715 struct device_node *phy_np; in dsa_port_link_register_of() local 719 phy_np = of_parse_phandle(dp->dn, "phy-handle", 0); in dsa_port_link_register_of() 720 if (of_phy_is_fixed_link(dp->dn) || phy_np) { in dsa_port_link_register_of() 724 of_node_put(phy_np); in dsa_port_link_register_of() 727 of_node_put(phy_np); in dsa_port_link_register_of()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/octeon/ |
| H A D | octeon_mgmt.c | 148 struct device_node *phy_np; member 953 if (octeon_is_simulation() || p->phy_np == NULL) { in octeon_mgmt_init_phy() 959 phydev = of_phy_connect(netdev, p->phy_np, in octeon_mgmt_init_phy() 1512 p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in octeon_mgmt_probe() 1526 of_node_put(p->phy_np); in octeon_mgmt_probe() 1537 of_node_put(p->phy_np); in octeon_mgmt_remove()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/ |
| H A D | thunder_bgx.c | 1478 struct device_node *phy_np; in bgx_init_of_phy() local 1495 phy_np = of_parse_phandle(node, "phy-handle", 0); in bgx_init_of_phy() 1500 if (phy_np && in bgx_init_of_phy() 1501 !of_device_is_compatible(phy_np, "cortina,cs4223-slice")) { in bgx_init_of_phy() 1503 pd = of_phy_find_device(phy_np); in bgx_init_of_phy()
|
| /OK3568_Linux_fs/kernel/drivers/phy/mediatek/ |
| H A D | phy-mtk-xsphy.c | 445 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 454 if (phy_np == xsphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
| H A D | phy-mtk-tphy.c | 1017 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 1026 if (phy_np == tphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/socionext/ |
| H A D | netsec.c | 299 struct device_node *phy_np; member 1629 if (!of_phy_connect(priv->ndev, priv->phy_np, in netsec_netdev_open() 1848 priv->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in netsec_of_probe() 1849 if (!priv->phy_np) { in netsec_of_probe() 1854 *phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np); in netsec_of_probe()
|
| /OK3568_Linux_fs/kernel/drivers/phy/rockchip/ |
| H A D | phy-rockchip-inno-usb3.c | 498 struct device_node *phy_np = args->np; in rockchip_u3phy_xlate() local 507 if (phy_np == u3phy->ports[index].phy->dev.of_node) { in rockchip_u3phy_xlate()
|