Lines Matching refs:phwr
243 struct xhci_hw_root *phwr; in xhci_reset_command_queue_locked() local
286 phwr = buf_res.buffer; in xhci_reset_command_queue_locked()
291 memset(phwr->hwr_commands, 0, sizeof(phwr->hwr_commands)); in xhci_reset_command_queue_locked()
292 phwr->hwr_commands[XHCI_MAX_COMMANDS - 1].qwTrb0 = htole64(addr); in xhci_reset_command_queue_locked()
306 struct xhci_hw_root *phwr; in xhci_start_controller() local
372 phwr = buf_res.buffer; in xhci_start_controller()
377 memset(phwr, 0, sizeof(*phwr)); in xhci_start_controller()
379 phwr->hwr_ring_seg[0].qwEvrsTablePtr = htole64(addr); in xhci_start_controller()
380 phwr->hwr_ring_seg[0].dwEvrsTableSize = htole32(XHCI_MAX_EVENTS); in xhci_start_controller()
421 phwr->hwr_commands[XHCI_MAX_COMMANDS - 1].qwTrb0 = htole64(addr); in xhci_start_controller()
1033 struct xhci_hw_root *phwr; in xhci_interrupt_poll() local
1045 phwr = buf_res.buffer; in xhci_interrupt_poll()
1056 temp = le32toh(phwr->hwr_events[i].dwTrb3); in xhci_interrupt_poll()
1066 i, event, (long long)le64toh(phwr->hwr_events[i].qwTrb0), in xhci_interrupt_poll()
1067 (long)le32toh(phwr->hwr_events[i].dwTrb2), in xhci_interrupt_poll()
1068 (long)le32toh(phwr->hwr_events[i].dwTrb3)); in xhci_interrupt_poll()
1072 xhci_check_transfer(sc, &phwr->hwr_events[i]); in xhci_interrupt_poll()
1075 retval |= xhci_check_command(sc, &phwr->hwr_events[i]); in xhci_interrupt_poll()
1121 struct xhci_hw_root *phwr; in xhci_do_command() local
1135 phwr = buf_res.buffer; in xhci_do_command()
1150 phwr->hwr_commands[i].qwTrb0 = trb->qwTrb0; in xhci_do_command()
1151 phwr->hwr_commands[i].dwTrb2 = trb->dwTrb2; in xhci_do_command()
1164 phwr->hwr_commands[i].dwTrb3 = temp; in xhci_do_command()
1185 phwr->hwr_commands[i].dwTrb3 = temp; in xhci_do_command()