Lines Matching refs:phy
232 awg_miibus_readreg(device_t dev, int phy, int reg)
242 (phy << PHY_ADDR_SHIFT) |
254 device_printf(dev, "phy read timeout, phy=%d reg=%d\n",
255 phy, reg);
261 awg_miibus_writereg(device_t dev, int phy, int reg, int val)
271 (phy << PHY_ADDR_SHIFT) |
281 device_printf(dev, "phy write timeout, phy=%d reg=%d\n",
282 phy, reg);
1200 if (OF_getencprop(node, "phy-handle", (void *)&phy_handle,
1214 if (OF_hasprop(node, "allwinner,use-internal-phy"))
1282 if (OF_getprop_alloc(node, "phy-mode", (void **)&phy_type) == 0)
1360 /* Find the desired parent clock based on phy-mode property */
1408 if (phy_node == 0 && OF_hasprop(node, "phy-handle")) {
1410 device_printf(dev, "cannot get phy handle\n");
1483 if (regulator_get_by_ofw_property(dev, 0, "phy-supply", ®) == 0) {