Home
last modified time | relevance | path

Searched refs:cdns3_endpoint (Results 1 – 9 of 9) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/usb/cdns3/
H A Dgadget.c103 struct cdns3_endpoint *priv_ep) in cdns3_get_dma_pos()
159 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep, in cdns3_trb_virt_to_dma()
167 int cdns3_ring_size(struct cdns3_endpoint *priv_ep) in cdns3_ring_size()
185 int cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_allocate_trb_pool()
212 static void cdns3_free_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_free_trb_pool()
226 static void cdns3_ep_stall_flush(struct cdns3_endpoint *priv_ep) in cdns3_ep_stall_flush()
282 static void cdns3_ep_inc_enq(struct cdns3_endpoint *priv_ep) in cdns3_ep_inc_enq()
292 static void cdns3_ep_inc_deq(struct cdns3_endpoint *priv_ep) in cdns3_ep_inc_deq()
300 struct cdns3_endpoint *priv_ep = priv_req->priv_ep; in cdns3_move_deq_to_next_trb()
355 struct cdns3_endpoint *priv_ep) in cdns3_start_all_request()
[all …]
H A Dgadget.h962 #define ep_to_cdns3_ep(ep) (container_of(ep, struct cdns3_endpoint, endpoint))
1118 struct cdns3_endpoint { struct
1200 struct cdns3_endpoint *priv_ep;
1277 struct cdns3_endpoint *eps[CDNS3_ENDPOINTS_MAX_COUNT];
1304 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep,
1313 int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep,
1315 void cdns3_rearm_transfer(struct cdns3_endpoint *priv_ep, u8 rearm);
1316 int cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep);
1320 void __cdns3_gadget_ep_set_halt(struct cdns3_endpoint *priv_ep);
1321 int __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint *priv_ep);
[all …]
H A Dep0.c42 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_run_transfer()
116 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_complete_setup()
151 struct cdns3_endpoint *priv_ep; in cdns3_req_ep0_set_configuration()
388 struct cdns3_endpoint *priv_ep; in cdns3_ep0_feature_handle_endpoint()
562 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_setup_phase()
599 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_transfer_completed()
721 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep0_queue()
803 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep_set_wedge()
832 struct cdns3_endpoint *priv_ep; in cdns3_ep0_config()
890 struct cdns3_endpoint *priv_ep) in cdns3_init_ep0()
H A Ddebug.h111 static inline char *cdns3_dbg_ring(struct cdns3_endpoint *priv_ep, in cdns3_dbg_ring()
/OK3568_Linux_fs/kernel/drivers/usb/cdns3/
H A Dtrace.h28 TP_PROTO(struct cdns3_endpoint *ep_priv, u8 halt, u8 flush),
45 TP_PROTO(struct cdns3_endpoint *ep_priv, char *msg),
59 TP_PROTO(struct cdns3_endpoint *ep_priv, char *msg),
119 TP_PROTO(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep),
146 TP_PROTO(struct cdns3_device *priv_dev, struct cdns3_endpoint *priv_ep),
393 TP_PROTO(struct cdns3_endpoint *priv_ep, struct cdns3_trb *trb),
431 TP_PROTO(struct cdns3_endpoint *priv_ep, struct cdns3_trb *trb),
436 TP_PROTO(struct cdns3_endpoint *priv_ep, struct cdns3_trb *trb),
441 TP_PROTO(struct cdns3_endpoint *priv_ep),
445 __dynamic_array(u8, priv_ep, sizeof(struct cdns3_endpoint))
[all …]
H A Dgadget.c74 static int cdns3_ep_run_transfer(struct cdns3_endpoint *priv_ep,
77 static int cdns3_ep_run_stream_transfer(struct cdns3_endpoint *priv_ep,
114 struct cdns3_endpoint *priv_ep) in cdns3_get_dma_pos()
185 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep, in cdns3_trb_virt_to_dma()
193 static int cdns3_ring_size(struct cdns3_endpoint *priv_ep) in cdns3_ring_size()
208 static void cdns3_free_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_free_trb_pool()
226 int cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep) in cdns3_allocate_trb_pool()
276 static void cdns3_ep_stall_flush(struct cdns3_endpoint *priv_ep) in cdns3_ep_stall_flush()
339 static void cdns3_ep_inc_enq(struct cdns3_endpoint *priv_ep) in cdns3_ep_inc_enq()
349 static void cdns3_ep_inc_deq(struct cdns3_endpoint *priv_ep) in cdns3_ep_inc_deq()
[all …]
H A Dgadget.h963 #define ep_to_cdns3_ep(ep) (container_of(ep, struct cdns3_endpoint, endpoint))
1134 struct cdns3_endpoint { struct
1229 struct cdns3_endpoint *priv_ep;
1308 struct cdns3_endpoint *eps[CDNS3_ENDPOINTS_MAX_COUNT];
1336 dma_addr_t cdns3_trb_virt_to_dma(struct cdns3_endpoint *priv_ep,
1345 void cdns3_rearm_transfer(struct cdns3_endpoint *priv_ep, u8 rearm);
1346 int cdns3_allocate_trb_pool(struct cdns3_endpoint *priv_ep);
1350 void __cdns3_gadget_ep_set_halt(struct cdns3_endpoint *priv_ep);
1351 int __cdns3_gadget_ep_clear_halt(struct cdns3_endpoint *priv_ep);
1357 void cdns3_gadget_giveback(struct cdns3_endpoint *priv_ep,
[all …]
H A Dep0.c39 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_run_transfer()
107 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_complete_setup()
223 struct cdns3_endpoint *priv_ep; in cdns3_req_ep0_get_status()
360 struct cdns3_endpoint *priv_ep; in cdns3_ep0_feature_handle_endpoint()
534 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_ep0_setup_phase()
571 struct cdns3_endpoint *priv_ep = priv_dev->eps[0]; in cdns3_transfer_completed()
691 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep0_queue()
783 struct cdns3_endpoint *priv_ep = ep_to_cdns3_ep(ep); in cdns3_gadget_ep_set_wedge()
813 struct cdns3_endpoint *priv_ep; in cdns3_ep0_config()
876 struct cdns3_endpoint *priv_ep) in cdns3_init_ep0()
H A Ddebug.h110 static inline char *cdns3_dbg_ring(struct cdns3_endpoint *priv_ep, in cdns3_dbg_ring()