Searched refs:priv_ep (Results 1 - 5 of 5) sorted by relevance
/linux-master/drivers/usb/cdns3/ |
H A D | cdns3-gadget.c | 76 static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep, 79 static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep, 116 struct cdns3_endpoint *priv_ep) 120 dma_index = readl(&priv_dev->regs->ep_traddr) - priv_ep->trb_pool_dma; 187 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep, argument 190 u32 offset = (char *)trb - (char *)priv_ep->trb_pool; 192 return priv_ep->trb_pool_dma + offset; 195 static void cdns3_free_trb_pool(struct cdns3_endpoint *priv_ep) argument 197 struct cdns3_device *priv_dev = priv_ep->cdns3_dev; 199 if (priv_ep 115 cdns3_get_dma_pos(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) argument 212 cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep) argument 262 cdns3_ep_stall_flush(struct cdns3_endpoint *priv_ep) argument 325 cdns3_ep_inc_enq(struct cdns3_endpoint *priv_ep) argument 335 cdns3_ep_inc_deq(struct cdns3_endpoint *priv_ep) argument 384 cdns3_start_all_request(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) argument 478 cdns3_wa2_descmiss_copy_data(struct cdns3_endpoint *priv_ep, struct usb_request *request) argument 508 cdns3_wa2_gadget_giveback(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) argument 548 cdns3_wa2_gadget_ep_queue(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) argument 616 cdns3_wa2_remove_old_request(struct cdns3_endpoint *priv_ep) argument 646 cdns3_wa2_descmissing_packet(struct cdns3_endpoint *priv_ep) argument 792 cdns3_gadget_giveback(struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req, int status) argument 846 cdns3_wa1_restore_cycle_bit(struct cdns3_endpoint *priv_ep) argument 895 struct cdns3_endpoint *priv_ep = priv_req->priv_ep; local 956 cdns3_wa1_update_guard(struct cdns3_endpoint *priv_ep, struct cdns3_trb *trb) argument 978 cdns3_wa1_tray_restore_cycle_bit(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) argument 991 cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep, struct usb_request *request) argument 1096 cdns3_rearm_drdy_if_needed(struct cdns3_endpoint *priv_ep) argument 1116 cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep, struct usb_request *request) argument 1423 struct cdns3_endpoint *priv_ep; local 1485 cdns3_trb_handled(struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) argument 1548 cdns3_transfer_completed(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) argument 1652 cdns3_rearm_transfer(struct cdns3_endpoint *priv_ep, u8 rearm) argument 1672 cdns3_reprogram_tdl(struct cdns3_endpoint *priv_ep) argument 1693 cdns3_check_ep_interrupt_proceed(struct cdns3_endpoint *priv_ep) argument 2058 cdns3_configure_dmult(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) argument 2097 cdns3_ep_config(struct cdns3_endpoint *priv_ep, bool enable) argument 2216 cdns3_ep_dir_is_correct(struct usb_endpoint_descriptor *desc, struct cdns3_endpoint *priv_ep) argument 2228 struct cdns3_endpoint *priv_ep; local 2274 struct cdns3_endpoint *priv_ep; local 2313 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); local 2353 struct cdns3_endpoint *priv_ep; local 2491 struct cdns3_endpoint *priv_ep; local 2585 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); local 2640 struct cdns3_endpoint *priv_ep; local 2685 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); local 2761 __cdns3_gadget_ep_set_halt(struct cdns3_endpoint *priv_ep) argument 2782 __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint *priv_ep) argument 2834 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); local 3035 struct cdns3_endpoint *priv_ep; local 3078 struct cdns3_endpoint *priv_ep; local 3153 struct cdns3_endpoint *priv_ep; local [all...] |
H A D | cdns3-ep0.c | 39 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; local 41 priv_ep->trb_pool[0].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); 42 priv_ep->trb_pool[0].length = cpu_to_le32(TRB_LEN(length)); 45 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_TYPE(TRB_NORMAL)); 46 priv_ep->trb_pool[1].buffer = cpu_to_le32(TRB_BUFFER(dma_addr)); 47 priv_ep->trb_pool[1].length = cpu_to_le32(TRB_LEN(0)); 48 priv_ep->trb_pool[1].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | 51 priv_ep->trb_pool[0].control = cpu_to_le32(TRB_CYCLE | TRB_IOC | 53 priv_ep->trb_pool[1].control = 0; 56 trace_cdns3_prepare_trb(priv_ep, priv_e 107 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; local 223 struct cdns3_endpoint *priv_ep; local 360 struct cdns3_endpoint *priv_ep; local 534 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; local 571 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; local 691 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); local 783 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); local 813 struct cdns3_endpoint *priv_ep; local 875 cdns3_init_ep0(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep) argument [all...] |
H A D | cdns3-debug.h | 110 static inline char *cdns3_dbg_ring(struct cdns3_endpoint *priv_ep, char *str) argument 112 dma_addr_t addr = priv_ep->trb_pool_dma; 118 trb_per_sector = GET_TRBS_PER_SEGMENT(priv_ep->type); 120 trb = &priv_ep->trb_pool[priv_ep->dequeue]; 121 ret += sprintf(str + ret, "\n\t\tRing contents for %s:", priv_ep->name); 125 priv_ep->dequeue, trb, 126 (unsigned long long)cdns3_trb_virt_to_dma(priv_ep, trb)); 128 trb = &priv_ep->trb_pool[priv_ep [all...] |
H A D | cdns3-trace.h | 118 TP_PROTO(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep), 119 TP_ARGS(priv_dev, priv_ep), 121 __string(ep_name, priv_ep->name) 128 __assign_str(ep_name, priv_ep->name); 131 __entry->ep_last_sid = priv_ep->last_stream_id; 132 __entry->use_streams = priv_ep->use_streams; 144 TP_PROTO(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep), 145 TP_ARGS(priv_dev, priv_ep) 202 __string(name, req->priv_ep->name) 217 __assign_str(name, req->priv_ep [all...] |
H A D | cdns3-gadget.h | 1221 * @priv_ep: extended representation of usb_ep object 1234 struct cdns3_endpoint *priv_ep; member in struct:cdns3_request 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, boo [all...] |
Completed in 159 milliseconds