Lines Matching refs:bfe_dev

201 	error = bus_dma_tag_create(bus_get_dma_tag(sc->bfe_dev), /* parent */  in bfe_dma_alloc()
213 device_printf(sc->bfe_dev, "cannot create parent DMA tag.\n"); in bfe_dma_alloc()
230 device_printf(sc->bfe_dev, "cannot create Tx ring DMA tag.\n"); in bfe_dma_alloc()
247 device_printf(sc->bfe_dev, "cannot create Rx ring DMA tag.\n"); in bfe_dma_alloc()
264 device_printf(sc->bfe_dev, in bfe_dma_alloc()
282 device_printf(sc->bfe_dev, in bfe_dma_alloc()
291 device_printf(sc->bfe_dev, in bfe_dma_alloc()
300 device_printf(sc->bfe_dev, in bfe_dma_alloc()
309 device_printf(sc->bfe_dev, in bfe_dma_alloc()
318 device_printf(sc->bfe_dev, in bfe_dma_alloc()
331 device_printf(sc->bfe_dev, in bfe_dma_alloc()
340 device_printf(sc->bfe_dev, "cannot create spare DMA map for Rx.\n"); in bfe_dma_alloc()
351 device_printf(sc->bfe_dev, in bfe_dma_alloc()
445 sc->bfe_dev = dev; in bfe_attach()
867 bar_orig = pci_read_config(sc->bfe_dev, BFE_BAR0_WIN, 4); in bfe_pci_setup()
868 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, BFE_REG_PCI, 4); in bfe_pci_setup()
879 pci_write_config(sc->bfe_dev, BFE_BAR0_WIN, bar_orig, 4); in bfe_pci_setup()
905 device_printf(sc->bfe_dev, "PHY Reset would not complete.\n"); in bfe_resetphy()
1145 bus_teardown_intr(sc->bfe_dev, sc->bfe_irq, sc->bfe_intrhand); in bfe_release_resources()
1148 bus_release_resource(sc->bfe_dev, SYS_RES_IRQ, 0, sc->bfe_irq); in bfe_release_resources()
1151 bus_release_resource(sc->bfe_dev, SYS_RES_MEMORY, PCIR_BAR(0), in bfe_release_resources()
1184 device_printf(sc->bfe_dev, in bfe_wait_bit()
1483 device_printf(sc->bfe_dev, "Descriptor Error\n"); in bfe_intr()
1490 device_printf(sc->bfe_dev, in bfe_intr()
1707 device_printf(sc->bfe_dev, in bfe_init_locked()
1823 device_printf(sc->bfe_dev, "watchdog timeout -- resetting\n"); in bfe_watchdog()
1889 printf("%s statistics:\n", device_get_nameunit(sc->bfe_dev)); in sysctl_bfe_stats()