Lines Matching refs:tag
161 i80321_pci_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp, int *fp)
165 *bp = (tag >> 16) & 0xff;
167 *dp = (tag >> 11) & 0x1f;
169 *fp = (tag >> 8) & 0x7;
179 i80321_pci_conf_setup(struct i80321_softc *sc, pcitag_t tag, int offset,
184 i80321_pci_decompose_tag(sc, tag, &ps->ps_b, &ps->ps_d, &ps->ps_f);
213 /* The tag is already in the correct format. */
214 ps->ps_addr_val = tag | offset | 1;
221 i80321_pci_conf_read(void *v, pcitag_t tag, int offset)
230 if (i80321_pci_conf_setup(sc, tag, offset, &ps))
257 i80321_pci_conf_write(void *v, pcitag_t tag, int offset, pcireg_t val)
263 if (i80321_pci_conf_setup(sc, tag, offset, &ps))