Lines Matching refs:bge_dev
561 dev = sc->bge_dev; in bge_readmem_ind()
578 dev = sc->bge_dev; in bge_writemem_ind()
591 dev = sc->bge_dev; in bge_readreg_ind()
603 dev = sc->bge_dev; in bge_writereg_ind()
673 device_printf(sc->bge_dev, in bge_ape_lock_init()
697 device_printf(sc->bge_dev, "APE signature found " in bge_ape_read_fw_ver()
717 device_printf(sc->bge_dev, "APE FW version: %s v%d.%d.%d.%d\n", in bge_ape_read_fw_ver()
793 device_printf(sc->bge_dev, "APE lock %d request failed! " in bge_ape_lock()
884 device_printf(sc->bge_dev, "APE event 0x%08x send timed out\n", in bge_ape_send_event()
1062 device_printf(sc->bge_dev, "EEPROM read timed out\n"); in bge_eeprom_getbyte()
1127 device_printf(sc->bge_dev, in bge_miibus_readreg()
1190 device_printf(sc->bge_dev, in bge_miibus_writereg()
1742 pci_write_config(sc->bge_dev, BGE_PCI_MISC_CTL, misc_ctl, 4); in bge_chipinit()
1762 val = pci_read_config(sc->bge_dev, BGE_PCI_MSI_DATA + 2, 2); in bge_chipinit()
1764 pci_write_config(sc->bge_dev, BGE_PCI_MSI_DATA + 2, val, 2); in bge_chipinit()
1861 pci_write_config(sc->bge_dev, BGE_PCI_DMA_RW_CTL, dma_rw_ctl, 4); in bge_chipinit()
1900 PCI_CLRBIT(sc->bge_dev, BGE_PCI_CMD, PCIM_CMD_MWIEN, 4); in bge_chipinit()
2000 device_printf(sc->bge_dev, "buffer manager failed to start\n"); in bge_blockinit()
2016 device_printf(sc->bge_dev, "flow-through queue init failed\n"); in bge_blockinit()
2313 device_printf(sc->bge_dev, in bge_blockinit()
2712 sc->bge_dev = dev; in bge_probe()
2879 device_printf(sc->bge_dev, in bge_dma_ring_alloc()
2887 device_printf(sc->bge_dev, in bge_dma_ring_alloc()
2896 device_printf(sc->bge_dev, in bge_dma_ring_alloc()
2912 device_printf(sc->bge_dev, "4GB boundary crossed, " in bge_dma_ring_alloc()
2936 error = bus_dma_tag_create(bus_get_dma_tag(sc->bge_dev), in bge_dma_alloc()
2941 device_printf(sc->bge_dev, in bge_dma_alloc()
3027 error = bus_dma_tag_create(bus_get_dma_tag(sc->bge_dev), in bge_dma_alloc()
3032 device_printf(sc->bge_dev, in bge_dma_alloc()
3050 device_printf(sc->bge_dev, "could not allocate TX dma tag\n"); in bge_dma_alloc()
3064 device_printf(sc->bge_dev, "could not allocate RX dma tag\n"); in bge_dma_alloc()
3072 device_printf(sc->bge_dev, in bge_dma_alloc()
3080 device_printf(sc->bge_dev, in bge_dma_alloc()
3091 device_printf(sc->bge_dev, in bge_dma_alloc()
3104 device_printf(sc->bge_dev, in bge_dma_alloc()
3112 device_printf(sc->bge_dev, in bge_dma_alloc()
3120 device_printf(sc->bge_dev, in bge_dma_alloc()
3136 device_t dev = sc->bge_dev; in bge_has_multiple_ports()
3211 dev = sc->bge_dev; in bge_mbox_reorder()
3225 device_printf(sc->bge_dev, in bge_mbox_reorder()
3240 device_printf(sc->bge_dev, in bge_devinfo()
3276 cfg = pci_read_config(sc->bge_dev, BGE_PCI_PCISTATE, 4); in bge_devinfo()
3298 sc->bge_dev = dev; in bge_attach()
3314 device_printf (sc->bge_dev, "couldn't map BAR0 memory\n"); in bge_attach()
3444 device_printf (sc->bge_dev, in bge_attach()
3616 if (pci_find_cap(sc->bge_dev, PCIY_MSI, ®) == 0) { in bge_attach()
3639 device_printf(sc->bge_dev, "couldn't map interrupt\n"); in bge_attach()
3664 device_printf(sc->bge_dev, "chip reset failed\n"); in bge_attach()
3673 device_printf(sc->bge_dev, "chip initialization failed\n"); in bge_attach()
3680 device_printf(sc->bge_dev, in bge_attach()
3695 device_printf(sc->bge_dev, in bge_attach()
3776 device_printf(sc->bge_dev, "failed to read EEPROM\n"); in bge_attach()
3860 device_printf(sc->bge_dev, "Try again\n"); in bge_attach()
3861 bge_miibus_writereg(sc->bge_dev, in bge_attach()
3865 device_printf(sc->bge_dev, "attaching PHYs failed\n"); in bge_attach()
3906 "%s taskq", device_get_nameunit(sc->bge_dev)); in bge_attach()
3922 device_printf(sc->bge_dev, "couldn't set up irq\n"); in bge_attach()
3976 dev = sc->bge_dev; in bge_release_resources()
4016 dev = sc->bge_dev; in bge_reset()
5439 device_printf(sc->bge_dev, "initialization failure\n"); in bge_init_locked()
5477 device_printf(sc->bge_dev, "no memory for std Rx buffers.\n"); in bge_init_locked()
5496 device_printf (sc->bge_dev, in bge_init_locked()
5505 device_printf(sc->bge_dev, in bge_init_locked()
6156 bge_miibus_readreg(sc->bge_dev, sc->bge_phy_addr, in bge_link_upd()
6158 bge_miibus_writereg(sc->bge_dev, sc->bge_phy_addr, in bge_link_upd()
6219 bge_miibus_statchg(sc->bge_dev); in bge_link_upd()
6234 ctx = device_get_sysctl_ctx(sc->bge_dev); in bge_add_sysctls()
6235 children = SYSCTL_CHILDREN(device_get_sysctl_tree(sc->bge_dev)); in bge_add_sysctls()