• Home
  • Raw
  • Download

Lines Matching refs:buf_res

190 	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()
321 qh_t = (ehci_qh_t *)buf_res.buffer; in ehci_init()
332 htohc32(sc, buf_res.physaddr) | in ehci_init()
384 usbd_get_page(sc->sc_hw.isoc_fs_start_pc + i, 0, &buf_res); in ehci_init()
385 sitd = (ehci_sitd_t *)buf_res.buffer; in ehci_init()
398 htohc32(sc, buf_res.physaddr) | in ehci_init()
407 usbd_get_page(sc->sc_hw.isoc_hs_start_pc + i, 0, &buf_res); in ehci_init()
409 itd = (ehci_itd_t *)buf_res.buffer; in ehci_init()
422 htohc32(sc, buf_res.physaddr) | in ehci_init()
429 usbd_get_page(&sc->sc_hw.pframes_pc, 0, &buf_res); in ehci_init()
431 pframes = (uint32_t *)buf_res.buffer; in ehci_init()
443 usbd_get_page(&sc->sc_hw.async_start_pc, 0, &buf_res); in ehci_init()
445 qh_t = (ehci_qh_t *)buf_res.buffer; in ehci_init()
458 htohc32(sc, buf_res.physaddr) | in ehci_init()
1486 struct usb_page_search buf_res; in ehci_setup_standard_chain_sub() local
1596 usbd_get_page(temp->pc, buf_offset, &buf_res); in ehci_setup_standard_chain_sub()
1599 htohc32(temp->sc, buf_res.physaddr); in ehci_setup_standard_chain_sub()
1601 htohc32(temp->sc, (unsigned int)buf_res.buffer); in ehci_setup_standard_chain_sub()
1610 usbd_get_page(temp->pc, buf_offset, &buf_res); in ehci_setup_standard_chain_sub()
1614 buf_res.physaddr & (~0xFFF)); in ehci_setup_standard_chain_sub()
1616 (unsigned int)buf_res.buffer & (~0xFFF)); in ehci_setup_standard_chain_sub()
1631 usbd_get_page(temp->pc, buf_offset - 1, &buf_res); in ehci_setup_standard_chain_sub()
1635 buf_res.physaddr & (~0xFFF)); in ehci_setup_standard_chain_sub()
1637 (unsigned int)buf_res.buffer & (~0xFFF)); in ehci_setup_standard_chain_sub()
2397 struct usb_page_search buf_res; in ehci_device_isoc_fs_enter() local
2518 usbd_get_page(xfer->frbuffers, buf_offset, &buf_res); in ehci_device_isoc_fs_enter()
2520 td->sitd_bp[0] = htohc32(sc, buf_res.physaddr); in ehci_device_isoc_fs_enter()
2522 td->sitd_bp[0] = htohc32(sc, (unsigned int)buf_res.buffer); in ehci_device_isoc_fs_enter()
2530 &buf_res); in ehci_device_isoc_fs_enter()
2532 temp = buf_res.physaddr & ~0xFFF; in ehci_device_isoc_fs_enter()
2534 temp = (unsigned int)buf_res.buffer & ~0xFFF; in ehci_device_isoc_fs_enter()
2704 struct usb_page_search buf_res; local
2836 usbd_get_page(xfer->frbuffers, itd_offset[0], &buf_res);
2839 page_addr = buf_res.physaddr & ~0xFFF;
2841 page_addr = (unsigned int)buf_res.buffer & ~0xFFF;
2851 (buf_res.physaddr & 0xFFF));
2853 ((unsigned int)buf_res.buffer & 0xFFF));
2864 usbd_get_page(xfer->frbuffers, buf_offset - 1, &buf_res);
2866 usbd_get_page(xfer->frbuffers, itd_offset[x + 1], &buf_res);
2870 if ((buf_res.physaddr ^ page_addr) & ~0xFFF) {
2872 page_addr = buf_res.physaddr & ~0xFFF;
2875 if (((unsigned int)buf_res.buffer ^ page_addr) & ~0xFFF) {
2877 page_addr = (unsigned int)buf_res.buffer & ~0xFFF;