Searched refs:XOREAD4 (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/sys/dev/usb/ |
| D | xhci.c | 336 hcr = XOREAD4(sc, XHCI_PAGESIZE); in xhci_init() 424 hcr = XOREAD4(sc, XHCI_CONFIG) & ~XHCI_CONFIG_SLOTS_MASK; in xhci_config() 433 XOREAD4(sc, XHCI_DCBAAP_HI), XOREAD4(sc, XHCI_DCBAAP_LO))); in xhci_config() 441 XOREAD4(sc, XHCI_CRCR_HI), XOREAD4(sc, XHCI_CRCR_LO), paddr)); in xhci_config() 469 hcr = XOREAD4(sc, XHCI_USBSTS); in xhci_config() 472 hcr = XOREAD4(sc, XHCI_USBSTS) & XHCI_STS_RSS; in xhci_config() 493 DPRINTF(("%s: USBCMD=%#x\n", DEVNAME(sc), XOREAD4(sc, XHCI_USBCMD))); in xhci_config() 579 hcr = XOREAD4(sc, XHCI_USBSTS) & XHCI_STS_HCH; in xhci_reset() 590 hcr = (XOREAD4(sc, XHCI_USBCMD) & XHCI_CMD_HCRST) | in xhci_reset() 591 (XOREAD4(sc, XHCI_USBSTS) & XHCI_STS_CNR); in xhci_reset() [all …]
|
| D | xhcivar.h | 159 #define XOREAD4(sc, a) \ macro
|