Searched refs:phy_np (Results 1 – 9 of 9) sorted by relevance
/drivers/net/mdio/ |
D | of_mdio.c | 264 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 266 return fwnode_phy_find_device(of_fwnode_handle(phy_np)); in of_phy_find_device() 283 struct device_node *phy_np, in of_phy_connect() argument 287 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() 320 struct device_node *phy_np; in of_phy_get_and_connect() local 333 phy_np = of_node_get(np); in of_phy_get_and_connect() 335 phy_np = of_parse_phandle(np, "phy-handle", 0); in of_phy_get_and_connect() 336 if (!phy_np) in of_phy_get_and_connect() 340 phy = of_phy_connect(dev, phy_np, hndlr, 0, iface); in of_phy_get_and_connect() 342 of_node_put(phy_np); in of_phy_get_and_connect()
|
/drivers/net/ethernet/qualcomm/emac/ |
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()
|
/drivers/usb/chipidea/ |
D | ci_hdrc_tegra.c | 102 struct device_node *phy_np; in tegra_usb_reset_controller() local 111 phy_np = of_parse_phandle(dev->of_node, "nvidia,phy", 0); in tegra_usb_reset_controller() 112 if (!phy_np) in tegra_usb_reset_controller() 120 rst_utmi = of_reset_control_get_shared(phy_np, "utmi-pads"); in tegra_usb_reset_controller() 132 of_node_put(phy_np); in tegra_usb_reset_controller()
|
/drivers/net/ethernet/sunplus/ |
D | spl2sw_driver.c | 325 struct device_node *phy_np; in spl2sw_probe() local 434 phy_np = of_parse_phandle(port_np, "phy-handle", 0); in spl2sw_probe() 435 if (!phy_np) { in spl2sw_probe() 458 mac->phy_node = phy_np; in spl2sw_probe()
|
/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 148 struct device_node *phy_np; member 950 if (octeon_is_simulation() || p->phy_np == NULL) { in octeon_mgmt_init_phy() 956 phydev = of_phy_connect(netdev, p->phy_np, in octeon_mgmt_init_phy() 1505 p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in octeon_mgmt_probe() 1519 of_node_put(p->phy_np); in octeon_mgmt_probe() 1530 of_node_put(p->phy_np); in octeon_mgmt_remove()
|
/drivers/phy/mediatek/ |
D | phy-mtk-xsphy.c | 385 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 394 if (phy_np == xsphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
D | phy-mtk-tphy.c | 1094 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 1104 if (phy_np == tphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
/drivers/net/ethernet/cavium/thunder/ |
D | thunder_bgx.c | 1476 struct device_node *phy_np; in bgx_init_of_phy() local 1490 phy_np = of_parse_phandle(node, "phy-handle", 0); in bgx_init_of_phy() 1495 if (phy_np && in bgx_init_of_phy() 1496 !of_device_is_compatible(phy_np, "cortina,cs4223-slice")) { in bgx_init_of_phy() 1498 pd = of_phy_find_device(phy_np); in bgx_init_of_phy()
|
/drivers/net/ethernet/socionext/ |
D | netsec.c | 299 struct device_node *phy_np; member 1637 if (!of_phy_connect(priv->ndev, priv->phy_np, in netsec_netdev_open() 1865 priv->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in netsec_of_probe() 1866 if (!priv->phy_np) { in netsec_of_probe() 1871 *phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np); in netsec_of_probe()
|