Searched refs:phy_np (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/mdio/ |
A D | of_mdio.c | 260 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 262 return fwnode_phy_find_device(of_fwnode_handle(phy_np)); in of_phy_find_device() 279 struct device_node *phy_np, in of_phy_connect() argument 283 struct phy_device *phy = of_phy_find_device(phy_np); in of_phy_connect() 316 struct device_node *phy_np; in of_phy_get_and_connect() local 329 phy_np = of_node_get(np); in of_phy_get_and_connect() 331 phy_np = of_parse_phandle(np, "phy-handle", 0); in of_phy_get_and_connect() 332 if (!phy_np) in of_phy_get_and_connect() 336 phy = of_phy_connect(dev, phy_np, hndlr, 0, iface); in of_phy_get_and_connect() 338 of_node_put(phy_np); in of_phy_get_and_connect()
|
/linux/include/linux/ |
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, 87 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() argument 93 struct device_node *phy_np, in of_phy_connect() argument
|
/linux/drivers/net/ethernet/qualcomm/emac/ |
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()
|
/linux/drivers/usb/chipidea/ |
A D | ci_hdrc_tegra.c | 99 struct device_node *phy_np; in tegra_usb_reset_controller() local 108 phy_np = of_parse_phandle(dev->of_node, "nvidia,phy", 0); in tegra_usb_reset_controller() 109 if (!phy_np) in tegra_usb_reset_controller() 117 rst_utmi = of_reset_control_get_shared(phy_np, "utmi-pads"); in tegra_usb_reset_controller() 129 of_node_put(phy_np); in tegra_usb_reset_controller()
|
/linux/drivers/net/ethernet/cavium/octeon/ |
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() 1508 p->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in octeon_mgmt_probe() 1522 of_node_put(p->phy_np); in octeon_mgmt_probe() 1533 of_node_put(p->phy_np); in octeon_mgmt_remove()
|
/linux/drivers/net/ethernet/cavium/thunder/ |
A D | thunder_bgx.c | 1473 struct device_node *phy_np; in bgx_init_of_phy() local 1487 phy_np = of_parse_phandle(node, "phy-handle", 0); in bgx_init_of_phy() 1492 if (phy_np && in bgx_init_of_phy() 1493 !of_device_is_compatible(phy_np, "cortina,cs4223-slice")) { in bgx_init_of_phy() 1495 pd = of_phy_find_device(phy_np); in bgx_init_of_phy()
|
/linux/drivers/phy/mediatek/ |
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()
|
A D | phy-mtk-tphy.c | 1135 struct device_node *phy_np = args->np; in mtk_phy_xlate() local 1144 if (phy_np == tphy->phys[index]->phy->dev.of_node) { in mtk_phy_xlate()
|
/linux/drivers/net/ethernet/socionext/ |
A D | netsec.c | 299 struct device_node *phy_np; member 1637 if (!of_phy_connect(priv->ndev, priv->phy_np, in netsec_netdev_open() 1854 priv->phy_np = of_parse_phandle(pdev->dev.of_node, "phy-handle", 0); in netsec_of_probe() 1855 if (!priv->phy_np) { in netsec_of_probe() 1860 *phy_addr = of_mdio_parse_addr(&pdev->dev, priv->phy_np); in netsec_of_probe()
|
/linux/net/dsa/ |
A D | port.c | 1198 struct device_node *phy_np; in dsa_port_link_register_of() local 1202 phy_np = of_parse_phandle(dp->dn, "phy-handle", 0); in dsa_port_link_register_of() 1203 if (of_phy_is_fixed_link(dp->dn) || phy_np) { in dsa_port_link_register_of()
|
Completed in 42 milliseconds