Lines Matching refs:tag
94 pci_decompose_tag(pci_chipset_tag_t pc, pcitag_t tag, int *bp, int *dp, int *fp)
98 *bp = (tag >> 16) & 0xff;
100 *dp = (tag >> 11) & 0x1f;
102 *fp = (tag >> 8) & 0x07;
106 pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)
113 pci_decompose_tag(pc, tag, &bus, &dev, &func);
127 PCICFG_ENABLE | tag | reg);
135 pci_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t data)
139 PCICFG_ENABLE | tag | reg);
280 pcitag_t tag;
285 tag = pci_make_tag(pc, bus, dev, func);
286 csr = pci_conf_read(pc, tag, APO_VIAIDECONF);
287 pci_conf_write(pc, tag, APO_VIAIDECONF,