Lines Matching defs:tag
208 pcitag_t tag; /* tag for configuration registers */
1448 oldsb = pci_conf_read(sc->tag, PCI_PCIBAR0WINDOW_REG);
1449 pci_conf_write(sc->tag, PCI_PCIBAR0WINDOW_REG, SB4401_PCI_BASE);
1450 (void)pci_conf_read(sc->tag, PCI_PCIBAR0WINDOW_REG); /* push */
1461 mask = pci_conf_read(sc->tag, PCI_PCIINTMASK_REG);
1463 pci_conf_write(sc->tag, PCI_PCIINTMASK_REG, mask);
1472 pci_conf_write(sc->tag, PCI_PCIBAR0WINDOW_REG, oldsb);
1473 (void)pci_conf_read(sc->tag, PCI_PCIBAR0WINDOW_REG); /* push */
1477 bcm4401_ether_attach(cfe_driver_t *drv, pcitag_t tag)
1486 device = pci_conf_read(tag, PCI_ID_REG);
1487 class = pci_conf_read(tag, PCI_CLASS_REG);
1490 pci_map_mem(tag, PCI_MAPREG(0), PCI_MATCH_BITS, &pa);
1504 sc->irq = pci_conf_read(tag, PCI_BPARAM_INTERRUPT_REG) & 0xFF;
1505 sc->tag = tag;
1548 pcitag_t tag;
1551 if (pci_find_class(PCI_CLASS_NETWORK, index, &tag) != 0)
1556 device = pci_conf_read(tag, PCI_ID_REG);
1562 bcm4401_ether_attach(drv, tag);
1617 sc->tag = 0;