Lines Matching refs:UREAD2
116 #define UREAD2(sc, r) (UBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) macro
120 #define UHCISTS(sc) UREAD2(sc, UHCI_STS)
283 if (UREAD2(sc, UHCI_CMD) & UHCI_CMD_RS) { in uhci_restart()
306 if (UREAD2(sc, UHCI_STS) & UHCI_STS_HCH) { in uhci_restart()
347 if (!(UREAD2(sc, UHCI_CMD) & UHCI_CMD_HCRESET)) { in uhci_reset()
364 if (UREAD2(sc, UHCI_STS) & UHCI_STS_HCH) { in uhci_reset()
712 UREAD2(sc, UHCI_CMD), in uhci_dumpregs()
713 UREAD2(sc, UHCI_STS), in uhci_dumpregs()
714 UREAD2(sc, UHCI_INTR), in uhci_dumpregs()
715 UREAD2(sc, UHCI_FRNUM), in uhci_dumpregs()
718 UREAD2(sc, UHCI_PORTSC1), in uhci_dumpregs()
719 UREAD2(sc, UHCI_PORTSC2)); in uhci_dumpregs()
1427 status = UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS; in uhci_interrupt()
2128 nframes = UREAD2(sc, UHCI_FRNUM); in uhci_device_isoc_enter()
2338 x = URWMASK(UREAD2(sc, port)); in uhci_portreset()
2345 index, UREAD2(sc, port)); in uhci_portreset()
2347 x = URWMASK(UREAD2(sc, port)); in uhci_portreset()
2361 index, UREAD2(sc, port)); in uhci_portreset()
2363 x = URWMASK(UREAD2(sc, port)); in uhci_portreset()
2370 x = UREAD2(sc, port); in uhci_portreset()
2411 index, UREAD2(sc, port)); in uhci_portreset()
2567 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2571 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2575 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2579 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2583 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2587 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2617 ((UREAD2(sc, port) & UHCI_PORTSC_LS) >> in uhci_roothub_exec()
2641 x = UREAD2(sc, port); in uhci_roothub_exec()
2701 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2705 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2751 if (UREAD2(sc, UHCI_PORTSC1) & (UHCI_PORTSC_CSC | in uhci_root_intr()
2755 if (UREAD2(sc, UHCI_PORTSC2) & (UHCI_PORTSC_CSC | in uhci_root_intr()