Searched refs:priv_ep (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/usb/cdns3/ |
H A D | cdns3-gadget.c | 328 cdns3_ep_inc_trb(&priv_ep->enqueue, &priv_ep->pcs, priv_ep->num_trbs); in cdns3_ep_inc_enq() 338 cdns3_ep_inc_trb(&priv_ep->dequeue, &priv_ep->ccs, priv_ep->num_trbs); in cdns3_ep_inc_deq() 970 priv_ep->wa1_trb_index = priv_ep->enqueue; in cdns3_wa1_update_guard() 1016 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_stream_transfer() 1155 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer() 1316 trb = priv_ep->trb_pool + priv_ep->enqueue; in cdns3_ep_run_transfer() 1514 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_trb_handled() 1528 if (priv_ep->enqueue == priv_ep->dequeue && in cdns3_trb_handled() 2319 priv_req->priv_ep = priv_ep; in cdns3_gadget_ep_alloc_request() 2475 priv_ep->free_trbs = priv_ep->num_trbs - 1; in cdns3_gadget_ep_enable() [all …]
|
H A D | cdns3-ep0.c | 53 priv_ep->trb_pool[1].control = 0; in cdns3_ep0_run_transfer() 56 trace_cdns3_prepare_trb(priv_ep, priv_ep->trb_pool); in cdns3_ep0_run_transfer() 223 struct cdns3_endpoint *priv_ep; in cdns3_req_ep0_get_status() local 360 struct cdns3_endpoint *priv_ep; in cdns3_ep0_feature_handle_endpoint() local 371 priv_ep = priv_dev->eps[index]; in cdns3_ep0_feature_handle_endpoint() 576 trace_cdns3_complete_trb(priv_ep, priv_ep->trb_pool); in cdns3_transfer_completed() 717 priv_ep = priv_dev->eps[i]; in cdns3_gadget_ep0_queue() 718 if (priv_ep && priv_ep->flags & EP_CLAIMED && in cdns3_gadget_ep0_queue() 788 priv_ep->flags |= EP_WEDGE; in cdns3_gadget_ep_set_wedge() 822 priv_ep = priv_dev->eps[0]; in cdns3_ep0_config() [all …]
|
H A D | cdns3-trace.h | 119 TP_ARGS(priv_dev, priv_ep), 145 TP_ARGS(priv_dev, priv_ep) 387 TP_ARGS(priv_ep, trb), 425 TP_ARGS(priv_ep, trb) 430 TP_ARGS(priv_ep, trb) 435 TP_ARGS(priv_ep), 451 TP_ARGS(priv_ep) 456 TP_ARGS(priv_ep), 477 __entry->dir = priv_ep->dir; 502 TP_ARGS(priv_ep) [all …]
|
H A D | cdns3-debug.h | 112 dma_addr_t addr = priv_ep->trb_pool_dma; in cdns3_dbg_ring() 118 trb_per_sector = GET_TRBS_PER_SEGMENT(priv_ep->type); in cdns3_dbg_ring() 120 trb = &priv_ep->trb_pool[priv_ep->dequeue]; in cdns3_dbg_ring() 121 ret += sprintf(str + ret, "\n\t\tRing contents for %s:", priv_ep->name); in cdns3_dbg_ring() 125 priv_ep->dequeue, trb, in cdns3_dbg_ring() 126 (unsigned long long)cdns3_trb_virt_to_dma(priv_ep, trb)); in cdns3_dbg_ring() 128 trb = &priv_ep->trb_pool[priv_ep->enqueue]; in cdns3_dbg_ring() 131 priv_ep->enqueue, trb, in cdns3_dbg_ring() 132 (unsigned long long)cdns3_trb_virt_to_dma(priv_ep, trb)); in cdns3_dbg_ring() 136 priv_ep->free_trbs, priv_ep->ccs, priv_ep->pcs); in cdns3_dbg_ring() [all …]
|
H A D | cdns3-gadget.h | 1234 struct cdns3_endpoint *priv_ep; member 1345 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep, 1354 void cdns3_rearm_transfer(struct cdns3_endpoint *priv_ep, u8 rearm); 1355 int cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep); 1359 void __cdns3_gadget_ep_set_halt(struct cdns3_endpoint *priv_ep); 1360 int __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint *priv_ep); 1366 void cdns3_gadget_giveback(struct cdns3_endpoint *priv_ep, 1371 struct cdns3_endpoint *priv_ep); 1373 int cdns3_ep_config(struct cdns3_endpoint *priv_ep, bool enable);
|