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()
427 device_printf(sc->vr_dev, "%s: setting CAM filter timeout!\n", in vr_cam_data()
553 device_printf(sc->vr_dev, "reset never completed!\n"); in vr_reset()
556 device_printf(sc->vr_dev, in vr_reset()
617 sc->vr_dev = dev; in vr_attach()
899 bus_get_dma_tag(sc->vr_dev), /* parent */ in vr_dma_alloc()
911 device_printf(sc->vr_dev, "failed to create parent DMA tag\n"); in vr_dma_alloc()
928 device_printf(sc->vr_dev, "failed to create Tx ring DMA tag\n"); in vr_dma_alloc()
946 device_printf(sc->vr_dev, "failed to create Rx ring DMA tag\n"); in vr_dma_alloc()
968 device_printf(sc->vr_dev, "failed to create Tx DMA tag\n"); in vr_dma_alloc()
986 device_printf(sc->vr_dev, "failed to create Rx DMA tag\n"); in vr_dma_alloc()
995 device_printf(sc->vr_dev, in vr_dma_alloc()
1005 device_printf(sc->vr_dev, in vr_dma_alloc()
1016 device_printf(sc->vr_dev, in vr_dma_alloc()
1026 device_printf(sc->vr_dev, in vr_dma_alloc()
1040 device_printf(sc->vr_dev, in vr_dma_alloc()
1048 device_printf(sc->vr_dev, in vr_dma_alloc()
1059 device_printf(sc->vr_dev, in vr_dma_alloc()
1358 device_printf(sc->vr_dev, "%s: receive error = 0x%b\n", in vr_rxeof()
1498 device_printf(sc->vr_dev, in vr_txeof()
1566 device_printf(sc->vr_dev, "restarting\n"); in vr_tick()
1576 vr_miibus_statchg(sc->vr_dev); in vr_tick()
1635 device_printf(sc->vr_dev, "%s: receive error : 0x%b\n", in vr_poll_locked()
1651 device_printf(sc->vr_dev, "Tx underrun -- "); in vr_tx_underrun()
1666 device_printf(sc->vr_dev, "%s: Tx shutdown error -- " in vr_tx_underrun()
1735 device_printf(sc->vr_dev, "%s: receive error = 0x%b\n", in vr_int_task()
1767 pcis = pci_read_config(sc->vr_dev, PCIR_STATUS, 2); in vr_error()
1768 device_printf(sc->vr_dev, "PCI bus error(0x%04x) -- " in vr_error()
1770 pci_write_config(sc->vr_dev, PCIR_STATUS, pcis, 2); in vr_error()
1786 device_printf(sc->vr_dev, in vr_error()
2075 device_printf(sc->vr_dev, in vr_init_locked()
2453 device_printf(sc->vr_dev, "%s: Rx shutdown error\n", __func__); in vr_stop()
2455 device_printf(sc->vr_dev, "%s: Tx shutdown error\n", __func__); in vr_stop()
2548 pci_find_cap(sc->vr_dev, PCIY_PMG, &pmc) != 0) in vr_setwol()
2587 pmstat = pci_read_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, 2); in vr_setwol()
2591 pci_write_config(sc->vr_dev, pmc + PCIR_POWER_STATUS, pmstat, 2); in vr_setwol()
2641 printf("%s statistics:\n", device_get_nameunit(sc->vr_dev)); in vr_sysctl_stats()