Lines Matching refs:buf_res
246 struct usb_page_search buf_res; in xhci_reset_command_queue_locked() local
286 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_reset_command_queue_locked()
289 addr = buf_res.physaddr; in xhci_reset_command_queue_locked()
290 phwr = buf_res.buffer; in xhci_reset_command_queue_locked()
309 struct usb_page_search buf_res; in xhci_start_controller() local
355 usbd_get_page(&sc->sc_hw.ctx_pc, 0, &buf_res); in xhci_start_controller()
356 pdctxa = buf_res.buffer; in xhci_start_controller()
363 addr = buf_res.physaddr; in xhci_start_controller()
375 addr = buf_res.physaddr; in xhci_start_controller()
391 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_start_controller()
393 phwr = buf_res.buffer; in xhci_start_controller()
394 addr = buf_res.physaddr; in xhci_start_controller()
412 addr = buf_res.physaddr; in xhci_start_controller()
425 addr = buf_res.physaddr; in xhci_start_controller()
1040 struct usb_page_search buf_res; in xhci_interrupt_poll() local
1051 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_interrupt_poll()
1053 phwr = buf_res.buffer; in xhci_interrupt_poll()
1112 addr = buf_res.physaddr; in xhci_interrupt_poll()
1128 struct usb_page_search buf_res; in xhci_do_command() local
1141 usbd_get_page(&sc->sc_hw.root_pc, 0, &buf_res); in xhci_do_command()
1143 phwr = buf_res.buffer; in xhci_do_command()
1176 addr = buf_res.physaddr; in xhci_do_command()
1667 struct usb_page_search buf_res; in xhci_setup_generic_chain_sub() local
1788 (void)memset_s(&buf_res, sizeof(buf_res), 0, sizeof(buf_res)); in xhci_setup_generic_chain_sub()
1791 buf_offset, &buf_res); in xhci_setup_generic_chain_sub()
1794 if (buf_res.length > average) in xhci_setup_generic_chain_sub()
1795 buf_res.length = average; in xhci_setup_generic_chain_sub()
1798 if (buf_res.length > XHCI_TD_PAGE_SIZE) in xhci_setup_generic_chain_sub()
1799 buf_res.length = XHCI_TD_PAGE_SIZE; in xhci_setup_generic_chain_sub()
1801 npkt_off += buf_res.length; in xhci_setup_generic_chain_sub()
1815 htole64((uint64_t)buf_res.physaddr); in xhci_setup_generic_chain_sub()
1818 XHCI_TRB_2_BYTES_SET(buf_res.length) | in xhci_setup_generic_chain_sub()
1874 average -= buf_res.length; in xhci_setup_generic_chain_sub()
1875 buf_offset += buf_res.length; in xhci_setup_generic_chain_sub()
2223 struct usb_page_search buf_res; in xhci_set_slot_pointer() local
2226 usbd_get_page(&sc->sc_hw.ctx_pc, 0, &buf_res); in xhci_set_slot_pointer()
2228 pdctxa = buf_res.buffer; in xhci_set_slot_pointer()