Lines Matching refs:bfe_dev
202 error = bus_dma_tag_create(bus_get_dma_tag(sc->bfe_dev), /* parent */ in bfe_dma_alloc()
214 device_printf(sc->bfe_dev, "cannot create parent DMA tag.\n"); in bfe_dma_alloc()
231 device_printf(sc->bfe_dev, "cannot create Tx ring DMA tag.\n"); in bfe_dma_alloc()
248 device_printf(sc->bfe_dev, "cannot create Rx ring DMA tag.\n"); in bfe_dma_alloc()
265 device_printf(sc->bfe_dev, in bfe_dma_alloc()
283 device_printf(sc->bfe_dev, in bfe_dma_alloc()
292 device_printf(sc->bfe_dev, in bfe_dma_alloc()
301 device_printf(sc->bfe_dev, in bfe_dma_alloc()
310 device_printf(sc->bfe_dev, in bfe_dma_alloc()
319 device_printf(sc->bfe_dev, in bfe_dma_alloc()
332 device_printf(sc->bfe_dev, in bfe_dma_alloc()
341 device_printf(sc->bfe_dev, "cannot create spare DMA map for Rx.\n"); in bfe_dma_alloc()
352 device_printf(sc->bfe_dev, in bfe_dma_alloc()
446 sc->bfe_dev = dev; in bfe_attach()
868 bar_orig = pci_read_config(sc->bfe_dev, BFE_BAR0_WIN, 4); in bfe_pci_setup()
869 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, BFE_REG_PCI, 4); in bfe_pci_setup()
880 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, bar_orig, 4); in bfe_pci_setup()
906 device_printf(sc->bfe_dev, "PHY Reset would not complete.\n"); in bfe_resetphy()
1146 bus_teardown_intr(sc->bfe_dev, sc->bfe_irq, sc->bfe_intrhand); in bfe_release_resources()
1149 bus_release_resource(sc->bfe_dev, SYS_RES_IRQ, 0, sc->bfe_irq); in bfe_release_resources()
1152 bus_release_resource(sc->bfe_dev, SYS_RES_MEMORY, PCIR_BAR(0), in bfe_release_resources()
1185 device_printf(sc->bfe_dev, in bfe_wait_bit()
1485 device_printf(sc->bfe_dev, "Descriptor Error\n"); in bfe_intr()
1492 device_printf(sc->bfe_dev, in bfe_intr()
1709 device_printf(sc->bfe_dev, in bfe_init_locked()
1825 device_printf(sc->bfe_dev, "watchdog timeout -- resetting\n"); in bfe_watchdog()
1891 printf("%s statistics:\n", device_get_nameunit(sc->bfe_dev)); in sysctl_bfe_stats()