Lines Matching refs:XREAD4
253 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked()
275 temp = XREAD4(sc, oper, XHCI_CRCR_LO); in xhci_reset_command_queue_locked()
329 temp = (XREAD4(sc, oper, XHCI_USBCMD) & XHCI_CMD_HCRST) | in xhci_start_controller()
330 (XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_CNR); in xhci_start_controller()
343 XREAD4(sc, oper, XHCI_CONFIG), sc->sc_noslot); in xhci_start_controller()
347 temp = XREAD4(sc, oper, XHCI_USBSTS); in xhci_start_controller()
384 XREAD4(sc, runt, XHCI_ERSTSZ(0)), sc->sc_erst_max); in xhci_start_controller()
420 temp = XREAD4(sc, runt, XHCI_IMAN(0)); in xhci_start_controller()
443 temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH; in xhci_start_controller()
474 sc->sc_runt_off = XREAD4(sc, capa, XHCI_RTSOFF) & ~0xF; in xhci_halt_controller()
475 sc->sc_door_off = XREAD4(sc, capa, XHCI_DBOFF) & ~0x3; in xhci_halt_controller()
482 temp = XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_HCH; in xhci_halt_controller()
507 temp = (XREAD4(sc, oper, XHCI_USBCMD) & XHCI_CMD_HCRST) | in xhci_reset_controller()
508 (XREAD4(sc, oper, XHCI_USBSTS) & XHCI_STS_CNR); in xhci_reset_controller()
548 sc->sc_runt_off = XREAD4(sc, capa, XHCI_RTSOFF) & ~0x1F; in xhci_init()
549 sc->sc_door_off = XREAD4(sc, capa, XHCI_DBOFF) & ~0x3; in xhci_init()
557 if (!(XREAD4(sc, oper, XHCI_PAGESIZE) & XHCI_PAGESIZE_4K)) { in xhci_init()
563 temp = XREAD4(sc, capa, XHCI_HCSPARAMS0); in xhci_init()
581 temp = XREAD4(sc, capa, XHCI_HCSPARAMS1); in xhci_init()
599 temp = XREAD4(sc, capa, XHCI_HCSPARAMS2); in xhci_init()
619 temp = XREAD4(sc, capa, XHCI_HCSPARAMS3); in xhci_init()
1603 status = XREAD4(sc, oper, XHCI_USBSTS); in xhci_interrupt()
1611 temp = XREAD4(sc, runt, XHCI_IMAN(0)); in xhci_interrupt()
2031 x = XREAD4(temp.sc, runt, XHCI_MFINDEX); in xhci_setup_generic_chain()
3011 if (XREAD4(sc, oper, XHCI_PORTSC(i)) & ( in xhci_root_intr()
3408 v = XREAD4(sc, oper, port); in xhci_roothub_exec()
3471 v = XREAD4(sc, capa, XHCI_HCSPARAMS0); in xhci_roothub_exec()
3494 v = XREAD4(sc, oper, XHCI_PORTSC(j)); in xhci_roothub_exec()
3517 v = XREAD4(sc, oper, XHCI_PORTSC(index)); in xhci_roothub_exec()
3594 v = XREAD4(sc, oper, port) & ~XHCI_PS_CLEAR; in xhci_roothub_exec()
3603 v = XREAD4(sc, oper, port); in xhci_roothub_exec()
3614 v = XREAD4(sc, oper, port); in xhci_roothub_exec()