Lines Matching defs:tag

162 #define VLAN_TAG_LEN    4                             /* VLAN type plus tag */
328 uint32_t tag;
393 pcitag_t tag; /* tag for configuration registers */
1437 cmd = pci_conf_read(sc->tag, PCI_COMMAND_STATUS_REG);
1439 pci_conf_write(sc->tag, PCI_COMMAND_STATUS_REG, cmd);
1447 bhlc = pci_conf_read(sc->tag, PCI_BHLC_REG);
1448 subsysid = pci_conf_read(sc->tag, PCI_SUBSYS_ID_REG);
1450 bar0 = pci_conf_read(sc->tag, PCI_MAPREG(0));
1451 bar1 = pci_conf_read(sc->tag, PCI_MAPREG(1));
1463 pci_conf_write(sc->tag, PCI_MAPREG(0), bar0);
1464 pci_conf_write(sc->tag, PCI_MAPREG(1), bar1);
1465 (void)pci_conf_read(sc->tag, PCI_MAPREG(1)); /* push */
1466 pci_conf_write(sc->tag, PCI_COMMAND_STATUS_REG, cmd);
1467 (void)pci_conf_read(sc->tag, PCI_COMMAND_STATUS_REG); /* push */
1482 cmdx = pci_conf_read(sc->tag, PCI_PCIX_CMD_REG);
1484 pci_conf_write(sc->tag, PCI_PCIX_CMD_REG, cmdx);
1567 pci_conf_write(sc->tag, PCI_BHLC_REG, bhlc);
1568 pci_conf_write(sc->tag, PCI_SUBSYS_ID_REG, subsysid);
2511 t3_ether_attach(cfe_driver_t *drv, pcitag_t tag, uint8_t hwaddr[])
2530 pci_map_mem(tag, PCI_MAPREG(0), CSR_MATCH_MODE, &pa);
2544 device = pci_conf_read(tag, PCI_ID_REG);
2545 class = pci_conf_read(tag, PCI_CLASS_REG);
2546 sc->tag = tag;
2551 sc->asic_revision = G_MHC_ASICREV(pci_conf_read(tag, R_MISC_HOST_CTRL));
2596 pcictrl = pci_conf_read(tag, R_PCI_STATE);
2599 sc->irq = pci_conf_read(tag, PCI_BPARAM_INTERRUPT_REG) & 0xFF;
2663 pcitag_t tag;
2666 if (pci_find_class(PCI_CLASS_NETWORK, index, &tag) != 0)
2671 device = pci_conf_read(tag, PCI_ID_REG);
2683 t3_ether_attach(drv, tag, hwaddr);