Lines Matching refs:phandle
61 sunxi_gmac_reset(const int phandle)
68 pin_reset = fdtbus_gpio_acquire(phandle, "snps,reset-gpio", GPIO_PIN_OUTPUT);
72 reset_delay_us = fdtbus_get_prop(phandle, "snps,reset-delays-us", &len);
76 reset_active_low = of_hasprop(phandle, "snps,reset-active-low");
97 sunxi_gmac_get_phyid(int phandle)
102 phy_phandle = fdtbus_get_phandle(phandle, "phy");
104 phy_phandle = fdtbus_get_phandle(phandle, "phy-handle");
127 const int phandle = faa->faa_phandle;
136 if (fdtbus_get_reg(phandle, 0, &addr, &size) != 0) {
149 if (!fdtbus_intr_str(phandle, 0, intrstr, sizeof(intrstr))) {
154 clk_gmac = fdtbus_clock_get(phandle, "stmmaceth");
155 clk_gmac_tx = fdtbus_clock_get(phandle, "allwinner_gmac_tx");
161 rst_gmac = fdtbus_reset_get(phandle, "stmmaceth");
163 phy_mode = fdtbus_get_string(phandle, "phy-mode");
169 reg_phy = fdtbus_regulator_acquire(phandle, "phy-supply");
203 if (fdtbus_intr_establish_xname(phandle, 0, IPL_NET,
211 if (sunxi_gmac_reset(phandle) != 0)
214 dwc_gmac_attach(sc, sunxi_gmac_get_phyid(phandle),