Lines Matching refs:tag
89 /* XXX: dma tag */
275 /* XXX: review dma tag logic */
305 pcitag_t tag;
310 tag = (bus << 16) | (device << 11) | (function << 8);
312 return tag;
316 aupci_decompose_tag(void *v, pcitag_t tag, int *b, int *d, int *f)
320 *b = (tag >> 16) & 0xff;
322 *d = (tag >> 11) & 0x1f;
324 *f = (tag >> 8) & 0x07;
328 aupci_conf_access(void *v, int dir, pcitag_t tag, int reg, pcireg_t *datap)
337 aupci_decompose_tag(v, tag, &b, &d, &f);
340 addr = 0x80000000 | tag;
381 aupci_conf_read(void *v, pcitag_t tag, int reg)
385 if (aupci_conf_access(v, PCI_CFG_READ, tag, reg, &data) == false)
392 aupci_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data)
395 aupci_conf_access(v, PCI_CFG_WRITE, tag, reg, &data);