Lines Matching defs:phy
240 device_t *children, phy;
267 phy = device_add_child(dev, name, unit);
268 if (phy == NULL) {
278 device_set_ivars(phy, ma);
290 miibus_readreg(device_t dev, int phy, int reg)
295 return (MIIBUS_READREG(parent, phy, reg));
299 miibus_writereg(device_t dev, int phy, int reg, int data)
304 return (MIIBUS_WRITEREG(parent, phy, reg, data));
373 device_t *children, phy;
497 phy = device_add_child(*miibus, NULL, -1);
498 if (phy == NULL) {
502 device_set_ivars(phy, args);