Home
last modified time | relevance | path

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

/third_party/FreeBSD/stand/usb/
Dusb_busdma_loader.c123 struct usb_page_search buf_res; in usbd_copy_in() local
128 usbd_get_page(cache, offset, &buf_res); in usbd_copy_in()
130 if (buf_res.length > len) { in usbd_copy_in()
131 buf_res.length = len; in usbd_copy_in()
133 ret = memcpy_s(buf_res.buffer, buf_res.length, ptr, buf_res.length); in usbd_copy_in()
138 offset += buf_res.length; in usbd_copy_in()
139 len -= buf_res.length; in usbd_copy_in()
140 ptr = USB_ADD_BYTES(ptr, buf_res.length); in usbd_copy_in()
/third_party/FreeBSD/sys/dev/usb/controller/
Dehci.c190 struct usb_page_search buf_res; in ehci_init_sub() local
206 usbd_get_page(&sc->sc_hw.pframes_pc, 0, &buf_res); in ehci_init_sub()
207 EOWRITE4(sc, EHCI_PERIODICLISTBASE, buf_res.physaddr); in ehci_init_sub()
209 usbd_get_page(&sc->sc_hw.async_start_pc, 0, &buf_res); in ehci_init_sub()
210 EOWRITE4(sc, EHCI_ASYNCLISTADDR, buf_res.physaddr | EHCI_LINK_QH); in ehci_init_sub()
243 struct usb_page_search buf_res; in ehci_init() local
305 usbd_get_page(&sc->sc_hw.terminate_pc, 0, &buf_res); in ehci_init()
306 qh_sub = (struct ehci_qh_sub *)buf_res.buffer; in ehci_init()
308 sc->sc_terminate_self = htohc32(sc, buf_res.physaddr); in ehci_init()
319 usbd_get_page(sc->sc_hw.intr_start_pc + i, 0, &buf_res); in ehci_init()
[all …]
Dxhci.c246 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()
[all …]
/third_party/mesa3d/src/mesa/main/
Dshader_query.cpp1414 struct gl_program_resource *buf_res = in get_buffer_property() local
1418 assert(buf_res); in get_buffer_property()
1419 if (res == buf_res) { in get_buffer_property()