Lines Matching refs:bfe_dev
197 error = bus_dma_tag_create(bus_get_dma_tag(sc->bfe_dev), /* parent */ in bfe_dma_alloc()
209 device_printf(sc->bfe_dev, "cannot create parent DMA tag.\n"); in bfe_dma_alloc()
226 device_printf(sc->bfe_dev, "cannot create Tx ring DMA tag.\n"); in bfe_dma_alloc()
243 device_printf(sc->bfe_dev, "cannot create Rx ring DMA tag.\n"); in bfe_dma_alloc()
260 device_printf(sc->bfe_dev, in bfe_dma_alloc()
278 device_printf(sc->bfe_dev, in bfe_dma_alloc()
287 device_printf(sc->bfe_dev, in bfe_dma_alloc()
296 device_printf(sc->bfe_dev, in bfe_dma_alloc()
305 device_printf(sc->bfe_dev, in bfe_dma_alloc()
314 device_printf(sc->bfe_dev, in bfe_dma_alloc()
327 device_printf(sc->bfe_dev, in bfe_dma_alloc()
336 device_printf(sc->bfe_dev, "cannot create spare DMA map for Rx.\n"); in bfe_dma_alloc()
347 device_printf(sc->bfe_dev, in bfe_dma_alloc()
441 sc->bfe_dev = dev; in bfe_attach()
859 bar_orig = pci_read_config(sc->bfe_dev, BFE_BAR0_WIN, 4); in bfe_pci_setup()
860 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, BFE_REG_PCI, 4); in bfe_pci_setup()
870 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, bar_orig, 4); in bfe_pci_setup()
896 device_printf(sc->bfe_dev, "PHY Reset would not complete.\n"); in bfe_resetphy()
1136 bus_teardown_intr(sc->bfe_dev, sc->bfe_irq, sc->bfe_intrhand); in bfe_release_resources()
1139 bus_release_resource(sc->bfe_dev, SYS_RES_IRQ, 0, sc->bfe_irq); in bfe_release_resources()
1142 bus_release_resource(sc->bfe_dev, SYS_RES_MEMORY, PCIR_BAR(0), in bfe_release_resources()
1175 device_printf(sc->bfe_dev, in bfe_wait_bit()
1474 device_printf(sc->bfe_dev, "Descriptor Error\n"); in bfe_intr()
1481 device_printf(sc->bfe_dev, in bfe_intr()
1698 device_printf(sc->bfe_dev, in bfe_init_locked()
1814 device_printf(sc->bfe_dev, "watchdog timeout -- resetting\n"); in bfe_watchdog()
1880 printf("%s statistics:\n", device_get_nameunit(sc->bfe_dev)); in sysctl_bfe_stats()