Lines Matching refs:mii
732 dnetp->mii != NULL) { in dnet_attach()
733 mii_destroy(dnetp->mii); in dnet_attach()
734 dnetp->mii = NULL; in dnet_attach()
821 if (dnetp->mii != NULL) in dnet_detach()
822 mii_destroy(dnetp->mii); in dnet_detach()
2002 (void) mii_sync(dnetp->mii, dnetp->phyaddr); in set_gpr()
3171 (void) mii_start_portmon(dnetp->mii, dnet_mii_link_cb, in find_active_media()
3291 if (mii_linkup(dnetp->mii, dnetp->phyaddr)) { in find_active_media()
3293 (void) mii_getspeed(dnetp->mii, in find_active_media()
3794 (void) mii_create(dip, dnet_mii_write, dnet_mii_read, &dnetp->mii); in do_phy()
3800 if (mii_probe_phy(dnetp->mii, phy % 32) == MII_SUCCESS && in do_phy()
3801 mii_init_phy(dnetp->mii, phy % 32) == MII_SUCCESS) { in do_phy()
3959 (void) mii_getspeed(dnetp->mii, dnetp->phyaddr, in dnet_mii_link_cb()
4189 block->un.mii.phy_num = *vi++; in parse_media_block()
4198 block->un.mii.mediacaps = *vi++; in parse_media_block()
4199 block->un.mii.mediacaps |= *vi++ << 8; in parse_media_block()
4200 block->un.mii.nwayadvert = *vi++; in parse_media_block()
4201 block->un.mii.nwayadvert |= *vi++ << 8; in parse_media_block()
4202 block->un.mii.fdxmask = *vi++; in parse_media_block()
4203 block->un.mii.fdxmask |= *vi++ << 8; in parse_media_block()
4204 block->un.mii.ttmmask = *vi++; in parse_media_block()
4205 block->un.mii.ttmmask |= *vi++ << 8; in parse_media_block()
4262 block->un.mii.phy_num = *vi++; in parse_media_block()
4275 block->un.mii.mediacaps = *vi++; in parse_media_block()
4276 block->un.mii.mediacaps |= *vi++ << 8; in parse_media_block()
4277 block->un.mii.nwayadvert = *vi++; in parse_media_block()
4278 block->un.mii.nwayadvert |= *vi++ << 8; in parse_media_block()
4279 block->un.mii.fdxmask = *vi++; in parse_media_block()
4280 block->un.mii.fdxmask |= *vi++ << 8; in parse_media_block()
4281 block->un.mii.ttmmask = *vi++; in parse_media_block()
4282 block->un.mii.ttmmask |= *vi++ << 8; in parse_media_block()
4283 block->un.mii.miiintr |= *vi++; in parse_media_block()
4536 block->un.mii.phy_num, block->un.mii.nwayadvert, in dnet_dump_block()
4537 block->un.mii.fdxmask, block->un.mii.ttmmask, in dnet_dump_block()
4538 block->un.mii.mediacaps); in dnet_dump_block()