Lines Matching refs:vr_dev
257 device_printf(sc->vr_dev, "phy read timeout %d:%d\n", phy, reg); in vr_miibus_readreg()
281 device_printf(sc->vr_dev, "phy write timeout %d:%d\n", phy, in vr_miibus_writereg()
330 device_printf(sc->vr_dev, in vr_miibus_statchg()
371 device_printf(sc->vr_dev, in vr_miibus_statchg()
423 device_printf(sc->vr_dev, "%s: setting CAM filter timeout!\n", in vr_cam_data()
549 device_printf(sc->vr_dev, "reset never completed!\n"); in vr_reset()
552 device_printf(sc->vr_dev, in vr_reset()
613 sc->vr_dev = dev; in vr_attach()
889 bus_get_dma_tag(sc->vr_dev), /* parent */ in vr_dma_alloc()
901 device_printf(sc->vr_dev, "failed to create parent DMA tag\n"); in vr_dma_alloc()
918 device_printf(sc->vr_dev, "failed to create Tx ring DMA tag\n"); in vr_dma_alloc()
936 device_printf(sc->vr_dev, "failed to create Rx ring DMA tag\n"); in vr_dma_alloc()
958 device_printf(sc->vr_dev, "failed to create Tx DMA tag\n"); in vr_dma_alloc()
976 device_printf(sc->vr_dev, "failed to create Rx DMA tag\n"); in vr_dma_alloc()
985 device_printf(sc->vr_dev, in vr_dma_alloc()
995 device_printf(sc->vr_dev, in vr_dma_alloc()
1006 device_printf(sc->vr_dev, in vr_dma_alloc()
1016 device_printf(sc->vr_dev, in vr_dma_alloc()
1030 device_printf(sc->vr_dev, in vr_dma_alloc()
1038 device_printf(sc->vr_dev, in vr_dma_alloc()
1049 device_printf(sc->vr_dev, in vr_dma_alloc()
1348 device_printf(sc->vr_dev, "%s: receive error = 0x%b\n", in vr_rxeof()
1488 device_printf(sc->vr_dev, in vr_txeof()
1556 device_printf(sc->vr_dev, "restarting\n"); in vr_tick()
1566 vr_miibus_statchg(sc->vr_dev); in vr_tick()
1625 device_printf(sc->vr_dev, "%s: receive error : 0x%b\n", in vr_poll_locked()
1641 device_printf(sc->vr_dev, "Tx underrun -- "); in vr_tx_underrun()
1656 device_printf(sc->vr_dev, "%s: Tx shutdown error -- " in vr_tx_underrun()
1725 device_printf(sc->vr_dev, "%s: receive error = 0x%b\n", in vr_int_task()
1757 pcis = pci_read_config(sc->vr_dev, PCIR_STATUS, 2); in vr_error()
1758 device_printf(sc->vr_dev, "PCI bus error(0x%04x) -- " in vr_error()
1760 pci_write_config(sc->vr_dev, PCIR_STATUS, pcis, 2); in vr_error()
1776 device_printf(sc->vr_dev, in vr_error()
2065 device_printf(sc->vr_dev, in vr_init_locked()
2443 device_printf(sc->vr_dev, "%s: Rx shutdown error\n", __func__); in vr_stop()
2445 device_printf(sc->vr_dev, "%s: Tx shutdown error\n", __func__); in vr_stop()
2538 pci_find_cap(sc->vr_dev, PCIY_PMG, &pmc) != 0) in vr_setwol()
2577 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2581 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
2631 printf("%s statistics:\n", device_get_nameunit(sc->vr_dev)); in vr_sysctl_stats()