Lines Matching defs:dep
174 static void xhci_dbc_flush_endpoint_requests(struct dbc_ep *dep)
178 list_for_each_entry_safe(req, tmp, &dep->list_pending, list_pending)
245 static int xhci_dbc_queue_bulk_tx(struct dbc_ep *dep,
252 struct xhci_ring *ring = dep->ring;
289 writel(DBC_DOOR_BELL_TARGET(dep->direction), &dbc->regs->doorbell);
300 struct dbc_ep *dep = &dbc->eps[req->direction];
311 dbc_ep_dma_direction(dep));
317 ret = xhci_dbc_queue_bulk_tx(dep, req);
323 dbc_ep_dma_direction(dep));
327 list_add_tail(&req->list_pending, &dep->list_pending);
359 struct dbc_ep *dep;
361 dep = &dbc->eps[direction];
362 dep->dbc = dbc;
363 dep->direction = direction;
364 dep->ring = direction ? dbc->ring_in : dbc->ring_out;
366 INIT_LIST_HEAD(&dep->list_pending);
684 struct dbc_ep *dep;
695 dep = (ep_id == EPID_OUT) ?
697 ring = dep->ring;
720 list_for_each_entry(r, &dep->list_pending, list_pending) {
753 struct dbc_ep *dep;
813 dep = get_in_ep(dbc);
814 xhci_dbc_flush_endpoint_requests(dep);
818 dep = get_out_ep(dbc);
819 xhci_dbc_flush_endpoint_requests(dep);