/src/sys/arch/arm/xilinx/ |
zynq_cemac.c | 59 int phy_phandle; local in function:cemac_get_phyid 61 phy_phandle = fdtbus_get_phandle(phandle, "phy"); 62 if (phy_phandle == -1) 63 phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); 64 if (phy_phandle == -1) 67 if (fdtbus_get_reg(phy_phandle, 0, &addr, NULL) != 0)
|
/src/sys/arch/arm/nxp/ |
if_enet_imx.c | 262 int phy_phandle; local in function:enet_phy_id 265 phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); 266 if (phy_phandle == -1) 269 if (fdtbus_get_reg(phy_phandle, 0, &addr, NULL) != 0)
|
/src/sys/arch/arm/sunxi/ |
sunxi_gmac.c | 100 int phy_phandle; local in function:sunxi_gmac_get_phyid 102 phy_phandle = fdtbus_get_phandle(phandle, "phy"); 103 if (phy_phandle == -1) 104 phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); 105 if (phy_phandle == -1) 108 if (fdtbus_get_reg(phy_phandle, 0, &addr, NULL) != 0)
|
sunxi_emac.c | 1320 int phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); local in function:sunxi_emac_get_resources 1321 if (phy_phandle != -1) 1322 sc->clk_ephy = fdtbus_clock_get_index(phy_phandle, 0); 1326 int phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); local in function:sunxi_emac_get_resources 1327 if (phy_phandle != -1) 1328 sc->rst_ephy = fdtbus_reset_get_index(phy_phandle, 0); 1345 int phy_phandle; local in function:sunxi_emac_get_phyid 1347 phy_phandle = fdtbus_get_phandle(sc->phandle, "phy"); 1348 if (phy_phandle == -1) 1349 phy_phandle = fdtbus_get_phandle(sc->phandle, "phy-handle") [all...] |
/src/sys/arch/arm/amlogic/ |
meson_usbphy.c | 95 const int phy_phandle = fdtbus_get_phandle(phandle, "phys"); local in function:meson_usbphy_dr_mode 96 if (phy_phandle != sc->sc_phandle)
|
/src/sys/arch/arm/sociox/ |
if_scx.c | 697 int phy_phandle; local in function:scx_fdt_attach 720 phy_phandle = fdtbus_get_phandle(phandle, "phy-handle"); 721 if (phy_phandle == -1 722 || fdtbus_get_reg(phy_phandle, 0, &phy_id, NULL) != 0)
|