| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | gadget.h | 19 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint)) 84 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_started_request() 101 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_cancelled_request() 117 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_queued_request() 123 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, 129 void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep); 135 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol); 137 void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt); 146 static inline void dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep) in dwc3_gadget_ep_get_transfer_index()
|
| H A D | ep0.c | 30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep); 32 struct dwc3_ep *dep, struct dwc3_request *req); 34 static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, in dwc3_ep0_prepare_one_trb() 63 static int dwc3_ep0_start_trans(struct dwc3_ep *dep) in dwc3_ep0_start_trans() 87 static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, in __dwc3_gadget_ep0_queue() 192 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_queue() 223 struct dwc3_ep *dep; in dwc3_ep0_stall_and_restart() 250 struct dwc3_ep *dep = to_dwc3_ep(ep); in __dwc3_gadget_ep0_set_halt() 260 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_set_halt() 274 struct dwc3_ep *dep; in dwc3_ep0_out_start() [all …]
|
| H A D | gadget.c | 161 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq() 170 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq() 175 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request() 208 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback() 272 int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, in dwc3_send_gadget_ep_cmd() 439 static int dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep) in dwc3_send_clear_stall_ep_cmd() 463 static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep, in dwc3_trb_dma_offset() 471 static int dwc3_alloc_trb_pool(struct dwc3_ep *dep) in dwc3_alloc_trb_pool() 490 static void dwc3_free_trb_pool(struct dwc3_ep *dep) in dwc3_free_trb_pool() 501 static int dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource() [all …]
|
| H A D | trace.h | 184 TP_PROTO(struct dwc3_ep *dep, unsigned int cmd, 212 TP_PROTO(struct dwc3_ep *dep, unsigned int cmd, 218 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb), 281 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb), 286 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb), 291 TP_PROTO(struct dwc3_ep *dep), 330 TP_PROTO(struct dwc3_ep *dep), 335 TP_PROTO(struct dwc3_ep *dep),
|
| H A D | debugfs.c | 642 struct dwc3_ep *dep = s->private; in dwc3_tx_fifo_size_show() 664 struct dwc3_ep *dep = s->private; in dwc3_rx_fifo_size_show() 686 struct dwc3_ep *dep = s->private; in dwc3_tx_request_queue_show() 701 struct dwc3_ep *dep = s->private; in dwc3_rx_request_queue_show() 716 struct dwc3_ep *dep = s->private; in dwc3_rx_info_queue_show() 731 struct dwc3_ep *dep = s->private; in dwc3_descriptor_fetch_queue_show() 746 struct dwc3_ep *dep = s->private; in dwc3_event_queue_show() 761 struct dwc3_ep *dep = s->private; in dwc3_transfer_type_show() 796 struct dwc3_ep *dep = s->private; in dwc3_trb_ring_show() 834 struct dwc3_ep *dep = s->private; in dwc3_ep_info_register_show() [all …]
|
| H A D | core.h | 708 struct dwc3_ep { struct 926 struct dwc3_ep *dep; 1139 struct dwc3_ep *eps[DWC3_ENDPOINTS_NUM]; 1510 u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type); 1573 int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, 1577 void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt); 1579 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status); 1593 static inline int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, in dwc3_send_gadget_ep_cmd() 1599 static inline void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, in dwc3_stop_active_transfer()
|
| H A D | debug.h | 416 extern void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep); 420 static inline void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep) in dwc3_debugfs_create_endpoint_dir()
|
| H A D | core.c | 280 u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type) in dwc3_core_fifo_space()
|
| /OK3568_Linux_fs/u-boot/drivers/usb/dwc3/ |
| H A D | ep0.c | 30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep); 32 struct dwc3_ep *dep, struct dwc3_request *req); 55 struct dwc3_ep *dep; in dwc3_ep0_start_trans() 110 static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, in __dwc3_gadget_ep0_queue() 217 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_queue() 252 struct dwc3_ep *dep; in dwc3_ep0_stall_and_restart() 277 struct dwc3_ep *dep = to_dwc3_ep(ep); in __dwc3_gadget_ep0_set_halt() 306 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 308 struct dwc3_ep *dep; in dwc3_wIndex_to_dep() 332 struct dwc3_ep *dep; in dwc3_ep0_handle_status() [all …]
|
| H A D | gadget.c | 185 struct dwc3_ep *dep = dwc->eps[(num << 1) | 1]; in dwc3_gadget_resize_tx_fifos() 225 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback() 325 static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep, in dwc3_trb_dma_offset() 333 static int dwc3_alloc_trb_pool(struct dwc3_ep *dep) in dwc3_alloc_trb_pool() 353 static void dwc3_free_trb_pool(struct dwc3_ep *dep) in dwc3_free_trb_pool() 361 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config() 384 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config() 447 static int dwc3_gadget_set_xfer_resource(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource() 466 static int __dwc3_gadget_ep_enable(struct dwc3_ep *dep, in __dwc3_gadget_ep_enable() 524 static void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_remove_requests() [all …]
|
| H A D | gadget.h | 27 #define to_dwc3_ep(ep) (container_of(ep, struct dwc3_ep, endpoint)) 73 struct dwc3_ep *dep = req->dep; in dwc3_gadget_move_request_queued() 79 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, 89 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol);
|
| H A D | core.h | 450 struct dwc3_ep { struct 616 struct dwc3_ep *dep; 747 struct dwc3_ep *eps[DWC3_ENDPOINTS_NUM];
|