Lines Matching refs:tag
76 pcitag_t tag);
78 pcitag_t tag);
118 pcitag_t tag = pa->pa_tag;
151 sc->sc_tag = tag;
166 csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
167 pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG,
190 switch(pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
245 ehci_get_ownership(&sc->sc, pc, tag);
311 ehci_dump_caps(ehci_softc_t *sc, pci_chipset_tag_t pc, pcitag_t tag)
319 cap = pci_conf_read(pc, tag, addr);
323 legctlsts = pci_conf_read(pc, tag,
340 ehci_release_ownership(ehci_softc_t *sc, pci_chipset_tag_t pc, pcitag_t tag)
350 cap = pci_conf_read(pc, tag, addr);
353 legsup = pci_conf_read(pc, tag, addr + PCI_EHCI_USBLEGSUP);
354 pci_conf_write(pc, tag, addr + PCI_EHCI_USBLEGSUP,
368 ehci_get_ownership(ehci_softc_t *sc, pci_chipset_tag_t pc, pcitag_t tag)
378 ehci_dump_caps(sc, pc, tag);
383 cap = pci_conf_read(pc, tag, addr);
386 legsup = pci_conf_read(pc, tag, addr + PCI_EHCI_USBLEGSUP);
389 pci_conf_write(pc, tag, addr + PCI_EHCI_USBLEGSUP,
392 legsup = pci_conf_read(pc, tag,
401 pci_conf_write(pc, tag,
409 pci_conf_write(pc, tag, addr + PCI_EHCI_USBLEGCTLSTS, 0);