Lines Matching refs:ed

308 	struct ohci_ed *ed;
312 ed = buf_res.buffer;
314 ed->ed_self = htole32(buf_res.physaddr);
315 ed->ed_flags = htole32(OHCI_ED_SKIP);
316 ed->page_cache = pc;
318 return (ed);
415 printf("ed#%d ", i);
949 ohci_ed_t *ed;
996 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
998 ed->ed_headp = td->td_self;
999 usb_pc_cpu_flush(ed->page_cache);
1032 ohci_ed_t *ed;
1038 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
1040 usb_pc_cpu_invalidate(ed->page_cache);
1041 ed_headp = le32toh(ed->ed_headp);
1042 ed_tailp = le32toh(ed->ed_tailp);
1397 ohci_ed_t *ed;
1560 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
1571 ed->ed_flags = htole32(ed_flags);
1575 ed->ed_headp = td->td_self;
1579 OHCI_APPEND_QH(ed, *ed_last);
1592 usb_pc_cpu_flush(ed->page_cache);
1637 ohci_ed_t *ed;
1645 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
1646 if (ed) {
1647 usb_pc_cpu_invalidate(ed->page_cache);
1650 OHCI_REMOVE_QH(ed, sc->sc_bulk_p_last);
1653 OHCI_REMOVE_QH(ed, sc->sc_ctrl_p_last);
1656 OHCI_REMOVE_QH(ed, sc->sc_intr_p_last[xfer->qh_pos]);
1659 OHCI_REMOVE_QH(ed, sc->sc_isoc_p_last);
1853 ohci_ed_t *ed;
1989 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
2003 ed->ed_flags = htole32(ed_flags);
2007 ed->ed_headp = td->itd_self;
2012 OHCI_APPEND_QH(ed, sc->sc_isoc_p_last);
2522 ohci_ed_t *ed;
2526 ed = page_info.buffer;
2529 ed->ed_self = htole32(page_info.physaddr);
2530 ed->obj_next = last_obj;
2531 ed->page_cache = pc + n;
2533 last_obj = ed;
2602 ohci_ed_t *ed;
2613 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
2616 OHCI_APPEND_QH(ed, sc->sc_bulk_p_last);
2620 OHCI_APPEND_QH(ed, sc->sc_ctrl_p_last);
2624 OHCI_APPEND_QH(ed, sc->sc_intr_p_last[xfer->qh_pos]);
2640 ohci_ed_t *ed;
2651 ed = xfer->qh_start[xfer->flags_int.curr_dma_set];
2654 OHCI_REMOVE_QH(ed, sc->sc_bulk_p_last);
2657 OHCI_REMOVE_QH(ed, sc->sc_ctrl_p_last);
2660 OHCI_REMOVE_QH(ed, sc->sc_intr_p_last[xfer->qh_pos]);