Lines Matching refs:tag
161 pcitag_t tag;
205 tag = necpb_make_tag(pc, 0, dev, 0);
206 id = necpb_conf_read(pc, tag, PCI_ID_REG);
211 class = necpb_conf_read(pc, tag, PCI_CLASS_REG);
212 csr = necpb_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
216 necpb_conf_write(pc, tag, PCI_MAPREG_ROM, 0);
219 necpb_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr);
288 pcitag_t tag;
293 tag = 0x80000000 | (bus << 16) | (device << 11) | (function << 8);
294 return tag;
298 necpb_decompose_tag(pci_chipset_tag_t pc, pcitag_t tag, int *bp, int *dp,
303 *bp = (tag >> 16) & 0xff;
305 *dp = (tag >> 11) & 0x1f;
307 *fp = (tag >> 8) & 0x07;
311 necpb_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)
317 out32(RD94_SYS_PCI_CONFADDR, tag | reg);
326 necpb_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t data)
331 out32(RD94_SYS_PCI_CONFADDR, tag | reg);