Lines Matching refs:vr_dev
261 device_printf(sc->vr_dev, "phy read timeout %d:%d\n", phy, reg); in vr_miibus_readreg()
285 device_printf(sc->vr_dev, "phy write timeout %d:%d\n", phy, in vr_miibus_writereg()
334 device_printf(sc->vr_dev, in vr_miibus_statchg()
375 device_printf(sc->vr_dev, in vr_miibus_statchg()
428 device_printf(sc->vr_dev, "%s: setting CAM filter timeout!\n", in vr_cam_data()
540 device_printf(sc->vr_dev, "reset never completed!\n"); in vr_reset()
543 device_printf(sc->vr_dev, in vr_reset()
604 sc->vr_dev = dev; in vr_attach()
886 bus_get_dma_tag(sc->vr_dev), /* parent */ in vr_dma_alloc()
898 device_printf(sc->vr_dev, "failed to create parent DMA tag\n"); in vr_dma_alloc()
915 device_printf(sc->vr_dev, "failed to create Tx ring DMA tag\n"); in vr_dma_alloc()
933 device_printf(sc->vr_dev, "failed to create Rx ring DMA tag\n"); in vr_dma_alloc()
955 device_printf(sc->vr_dev, "failed to create Tx DMA tag\n"); in vr_dma_alloc()
973 device_printf(sc->vr_dev, "failed to create Rx DMA tag\n"); in vr_dma_alloc()
982 device_printf(sc->vr_dev, in vr_dma_alloc()
992 device_printf(sc->vr_dev, in vr_dma_alloc()
1003 device_printf(sc->vr_dev, in vr_dma_alloc()
1013 device_printf(sc->vr_dev, in vr_dma_alloc()
1027 device_printf(sc->vr_dev, in vr_dma_alloc()
1035 device_printf(sc->vr_dev, in vr_dma_alloc()
1046 device_printf(sc->vr_dev, in vr_dma_alloc()
1345 device_printf(sc->vr_dev, "%s: receive error = 0x%b\n", in vr_rxeof()
1485 device_printf(sc->vr_dev, in vr_txeof()
1553 device_printf(sc->vr_dev, "restarting\n"); in vr_tick()
1563 vr_miibus_statchg(sc->vr_dev); in vr_tick()
1622 device_printf(sc->vr_dev, "%s: receive error : 0x%b\n", in vr_poll_locked()
1638 device_printf(sc->vr_dev, "Tx underrun -- "); in vr_tx_underrun()
1653 device_printf(sc->vr_dev, "%s: Tx shutdown error -- " in vr_tx_underrun()
1722 device_printf(sc->vr_dev, "%s: receive error = 0x%b\n", in vr_int_task()
1754 pcis = pci_read_config(sc->vr_dev, PCIR_STATUS, 2); in vr_error()
1755 device_printf(sc->vr_dev, "PCI bus error(0x%04x) -- " in vr_error()
1757 pci_write_config(sc->vr_dev, PCIR_STATUS, pcis, 2); in vr_error()
1773 device_printf(sc->vr_dev, in vr_error()
2062 device_printf(sc->vr_dev, in vr_init_locked()
2440 device_printf(sc->vr_dev, "%s: Rx shutdown error\n", __func__); in vr_stop()
2442 device_printf(sc->vr_dev, "%s: Tx shutdown error\n", __func__); in vr_stop()
2535 pci_find_cap(sc->vr_dev, PCIY_PMG, &pmc) != 0) in vr_setwol()
2574 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2578 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
2628 printf("%s statistics:\n", device_get_nameunit(sc->vr_dev)); in vr_sysctl_stats()