Lines Matching refs:tag
106 pcitag_t tag;
112 tag = 0x80000000 | (bus << 16) | (device << 11) | (function << 8);
114 return tag;
118 ibm4xx_pci_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp, int *fp)
122 *bp = (tag >> 16) & 0xff;
124 *dp = (tag >> 11) & 0x1f;
126 *fp = (tag >> 8) & 0x07;
130 ibm4xx_pci_conf_read(void *v, pcitag_t tag, int reg)
135 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg);
143 ibm4xx_pci_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data)
146 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg);