Lines Matching full:ed

308 	struct ohci_ed *ed;  in ohci_init_ed()  local
312 ed = buf_res.buffer; in ohci_init_ed()
314 ed->ed_self = htole32(buf_res.physaddr); in ohci_init_ed()
315 ed->ed_flags = htole32(OHCI_ED_SKIP); in ohci_init_ed()
316 ed->page_cache = pc; in ohci_init_ed()
318 return (ed); in ohci_init_ed()
335 * Setup all ED's in ohci_init()
414 printf("ed#%d ", i); in ohci_init()
619 printf("ED(%p) at 0x%08x: addr=%d endpt=%d maxp=%d flags=%s%s%s%s%s\n" in ohci_dump_ed()
663 DPRINTFN(0, "ED already linked!\n"); in _ohci_append_qh()
942 ohci_ed_t *ed; in ohci_check_transfer_sub() local
987 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_check_transfer_sub()
989 ed->ed_headp = td->td_self; in ohci_check_transfer_sub()
990 usb_pc_cpu_flush(ed->page_cache); in ohci_check_transfer_sub()
1023 ohci_ed_t *ed; in ohci_check_transfer() local
1029 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_check_transfer()
1031 usb_pc_cpu_invalidate(ed->page_cache); in ohci_check_transfer()
1032 ed_headp = le32toh(ed->ed_headp); in ohci_check_transfer()
1033 ed_tailp = le32toh(ed->ed_tailp); in ohci_check_transfer()
1383 ohci_ed_t *ed; in ohci_setup_standard_chain() local
1541 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_setup_standard_chain()
1552 ed->ed_flags = htole32(ed_flags); in ohci_setup_standard_chain()
1556 ed->ed_headp = td->td_self; in ohci_setup_standard_chain()
1560 OHCI_APPEND_QH(ed, *ed_last); in ohci_setup_standard_chain()
1573 usb_pc_cpu_flush(ed->page_cache); in ohci_setup_standard_chain()
1618 ohci_ed_t *ed; in ohci_device_done() local
1625 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_device_done()
1626 if (ed) { in ohci_device_done()
1627 usb_pc_cpu_invalidate(ed->page_cache); in ohci_device_done()
1630 OHCI_REMOVE_QH(ed, sc->sc_bulk_p_last); in ohci_device_done()
1633 OHCI_REMOVE_QH(ed, sc->sc_ctrl_p_last); in ohci_device_done()
1636 OHCI_REMOVE_QH(ed, sc->sc_intr_p_last[xfer->qh_pos]); in ohci_device_done()
1639 OHCI_REMOVE_QH(ed, sc->sc_isoc_p_last); in ohci_device_done()
1834 ohci_ed_t *ed; in ohci_device_isoc_enter() local
1947 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_device_isoc_enter()
1961 ed->ed_flags = htole32(ed_flags); in ohci_device_isoc_enter()
1965 ed->ed_headp = td->itd_self; in ohci_device_isoc_enter()
1970 OHCI_APPEND_QH(ed, sc->sc_isoc_p_last); in ohci_device_isoc_enter()
2477 ohci_ed_t *ed; in ohci_xfer_setup() local
2481 ed = page_info.buffer; in ohci_xfer_setup()
2484 ed->ed_self = htole32(page_info.physaddr); in ohci_xfer_setup()
2485 ed->obj_next = last_obj; in ohci_xfer_setup()
2486 ed->page_cache = pc + n; in ohci_xfer_setup()
2488 last_obj = ed; in ohci_xfer_setup()
2557 ohci_ed_t *ed; in ohci_device_resume() local
2566 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_device_resume()
2569 OHCI_APPEND_QH(ed, sc->sc_bulk_p_last); in ohci_device_resume()
2573 OHCI_APPEND_QH(ed, sc->sc_ctrl_p_last); in ohci_device_resume()
2577 OHCI_APPEND_QH(ed, sc->sc_intr_p_last[xfer->qh_pos]); in ohci_device_resume()
2593 ohci_ed_t *ed; in ohci_device_suspend() local
2602 ed = xfer->qh_start[xfer->flags_int.curr_dma_set]; in ohci_device_suspend()
2605 OHCI_REMOVE_QH(ed, sc->sc_bulk_p_last); in ohci_device_suspend()
2608 OHCI_REMOVE_QH(ed, sc->sc_ctrl_p_last); in ohci_device_suspend()
2611 OHCI_REMOVE_QH(ed, sc->sc_intr_p_last[xfer->qh_pos]); in ohci_device_suspend()