Home
last modified time | relevance | path

Searched refs:phy_node (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/arm64/rockchip/
H A Dif_dwc_rk.c126 phandle_t phy_node; member
448 if ((sc->phy_node != 0) && sc->integrated_phy) { in if_dwc_rk_init_clocks()
449 if (clk_get_by_ofw_index(dev, sc->phy_node, 0, &sc->clk_phy) != 0) { in if_dwc_rk_init_clocks()
521 sc->phy_node = OF_node_from_xref(phy_handle); in if_dwc_rk_init()
523 if (sc->phy_node) in if_dwc_rk_init()
524 sc->integrated_phy = OF_hasprop(sc->phy_node, "phy-is-integrated"); in if_dwc_rk_init()
568 if (hwreset_get_by_ofw_idx(dev, sc->phy_node, 0, &phy_reset) == 0) { in if_dwc_rk_init()
/f-stack/freebsd/arm/allwinner/
H A Dif_awg.c1430 phandle_t node, phy_node; in awg_has_internal_phy() local
1437 phy_node = awg_get_phy_node(dev); in awg_has_internal_phy()
1438 return (phy_node != 0 && ofw_bus_node_is_compatible(OF_parent(phy_node), in awg_has_internal_phy()
1614 phandle_t node, phy_node; in awg_setup_extres() local
1626 phy_node = awg_get_phy_node(dev); in awg_setup_extres()
1628 if (phy_node == 0 && OF_hasprop(node, "phy-handle")) { in awg_setup_extres()
1643 if (phy_node == 0 || hwreset_get_by_ofw_idx(dev, phy_node, 0, in awg_setup_extres()
1654 if (phy_node == 0 || clk_get_by_ofw_index(dev, phy_node, 0, in awg_setup_extres()