Home
last modified time | relevance | path

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

/dragonfly/sys/bus/u4b/
H A Dusb_busdma.c138 struct usb_page_search buf_res; in usbd_copy_in() local
144 if (buf_res.length > len) { in usbd_copy_in()
145 buf_res.length = len; in usbd_copy_in()
147 memcpy(buf_res.buffer, ptr, buf_res.length); in usbd_copy_in()
149 offset += buf_res.length; in usbd_copy_in()
150 len -= buf_res.length; in usbd_copy_in()
174 if (buf_res.length > len) { in usbd_copy_in_user()
175 buf_res.length = len; in usbd_copy_in_user()
177 error = copyin(ptr, buf_res.buffer, buf_res.length); in usbd_copy_in_user()
181 offset += buf_res.length; in usbd_copy_in_user()
[all …]
/dragonfly/sys/bus/u4b/controller/
H A Dehci.c241 struct usb_page_search buf_res; in ehci_init_sub() local
294 struct usb_page_search buf_res; in ehci_init() local
360 qh = buf_res.buffer; in ehci_init()
378 qh = buf_res.buffer; in ehci_init()
449 sitd = buf_res.buffer; in ehci_init()
477 itd = buf_res.buffer; in ehci_init()
505 pframes = buf_res.buffer; in ehci_init()
530 qh = buf_res.buffer; in ehci_init()
1588 struct usb_page_search buf_res; in ehci_setup_standard_chain_sub() local
2493 struct usb_page_search buf_res; in ehci_device_isoc_fs_enter() local
[all …]
H A Dohci.c166 struct usb_page_search buf_res; in ohci_controller_init() local
300 struct usb_page_search buf_res; in ohci_init_ed() local
303 usbd_get_page(pc, 0, &buf_res); in ohci_init_ed()
305 ed = buf_res.buffer; in ohci_init_ed()
307 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed()
317 struct usb_page_search buf_res; in ohci_init() local
386 sc->sc_hcca_p = buf_res.buffer; in ohci_init()
1244 struct usb_page_search buf_res; in ohci_setup_standard_chain_sub() local
1834 struct usb_page_search buf_res; in ohci_device_isoc_enter() local
1940 buf_res.physaddr = in ohci_device_isoc_enter()
[all …]
H A Dxhci.c326 addr = buf_res.physaddr; in xhci_reset_command_queue_locked()
327 phwr = buf_res.buffer; in xhci_reset_command_queue_locked()
434 pdctxa = buf_res.buffer; in xhci_start_controller()
437 addr = buf_res.physaddr; in xhci_start_controller()
449 addr = buf_res.physaddr; in xhci_start_controller()
483 phwr = buf_res.buffer; in xhci_start_controller()
484 addr = buf_res.physaddr; in xhci_start_controller()
498 addr = buf_res.physaddr; in xhci_start_controller()
1064 phwr = buf_res.buffer; in xhci_interrupt_poll()
1155 phwr = buf_res.buffer; in xhci_do_command()
[all …]
H A Duhci.c121 struct usb_page_search buf_res; member
276 struct usb_page_search buf_res; in uhci_restart() local
412 struct usb_page_search buf_res; in uhci_init_qh() local
415 usbd_get_page(pc, 0, &buf_res); in uhci_init_qh()
417 qh = buf_res.buffer; in uhci_init_qh()
420 htole32(buf_res.physaddr) | in uhci_init_qh()
431 struct usb_page_search buf_res; in uhci_init_td() local
434 usbd_get_page(pc, 0, &buf_res); in uhci_init_td()
436 td = buf_res.buffer; in uhci_init_td()
439 htole32(buf_res.physaddr) | in uhci_init_td()
[all …]