Lines Matching refs:UREAD2
115 #define UREAD2(sc, r) (UBARR(sc), bus_space_read_2((sc)->sc_io_tag, (sc)->sc_io_hdl, (r))) macro
119 #define UHCISTS(sc) UREAD2(sc, UHCI_STS)
282 if (UREAD2(sc, UHCI_CMD) & UHCI_CMD_RS) { in uhci_restart()
305 if (UREAD2(sc, UHCI_STS) & UHCI_STS_HCH) { in uhci_restart()
346 if (!(UREAD2(sc, UHCI_CMD) & UHCI_CMD_HCRESET)) { in uhci_reset()
363 if (UREAD2(sc, UHCI_STS) & UHCI_STS_HCH) { in uhci_reset()
711 UREAD2(sc, UHCI_CMD), in uhci_dumpregs()
712 UREAD2(sc, UHCI_STS), in uhci_dumpregs()
713 UREAD2(sc, UHCI_INTR), in uhci_dumpregs()
714 UREAD2(sc, UHCI_FRNUM), in uhci_dumpregs()
717 UREAD2(sc, UHCI_PORTSC1), in uhci_dumpregs()
718 UREAD2(sc, UHCI_PORTSC2)); in uhci_dumpregs()
1424 status = UREAD2(sc, UHCI_STS) & UHCI_STS_ALLINTRS; in uhci_interrupt()
2125 nframes = UREAD2(sc, UHCI_FRNUM); in uhci_device_isoc_enter()
2335 x = URWMASK(UREAD2(sc, port)); in uhci_portreset()
2342 index, UREAD2(sc, port)); in uhci_portreset()
2344 x = URWMASK(UREAD2(sc, port)); in uhci_portreset()
2358 index, UREAD2(sc, port)); in uhci_portreset()
2360 x = URWMASK(UREAD2(sc, port)); in uhci_portreset()
2367 x = UREAD2(sc, port); in uhci_portreset()
2408 index, UREAD2(sc, port)); in uhci_portreset()
2564 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2568 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2572 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2576 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2580 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2584 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2614 ((UREAD2(sc, port) & UHCI_PORTSC_LS) >> in uhci_roothub_exec()
2638 x = UREAD2(sc, port); in uhci_roothub_exec()
2698 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2702 x = URWMASK(UREAD2(sc, port)); in uhci_roothub_exec()
2748 if (UREAD2(sc, UHCI_PORTSC1) & (UHCI_PORTSC_CSC | in uhci_root_intr()
2752 if (UREAD2(sc, UHCI_PORTSC2) & (UHCI_PORTSC_CSC | in uhci_root_intr()