Home
last modified time | relevance | path

Searched refs:phwr (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/dev/usb/controller/
H A Dxhci.c222 struct xhci_hw_root *phwr; in xhci_reset_command_queue_locked() local
265 phwr = buf_res.buffer; in xhci_reset_command_queue_locked()
270 memset(phwr->hwr_commands, 0, sizeof(phwr->hwr_commands)); in xhci_reset_command_queue_locked()
271 phwr->hwr_commands[XHCI_MAX_COMMANDS - 1].qwTrb0 = htole64(addr); in xhci_reset_command_queue_locked()
285 struct xhci_hw_root *phwr; in xhci_start_controller() local
351 phwr = buf_res.buffer; in xhci_start_controller()
356 memset(phwr, 0, sizeof(*phwr)); in xhci_start_controller()
358 phwr->hwr_ring_seg[0].qwEvrsTablePtr = htole64(addr); in xhci_start_controller()
359 phwr->hwr_ring_seg[0].dwEvrsTableSize = htole32(XHCI_MAX_EVENTS); in xhci_start_controller()
400 phwr->hwr_commands[XHCI_MAX_COMMANDS - 1].qwTrb0 = htole64(addr); in xhci_start_controller()
[all …]