Home
last modified time | relevance | path

Searched refs:dwc3_ep (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/usb/dwc3/
Dgadget.h19 #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()
107 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req,
113 void dwc3_ep0_end_control_data(struct dwc3 *dwc, struct dwc3_ep *dep);
119 int __dwc3_gadget_ep_set_halt(struct dwc3_ep *dep, int value, int protocol);
121 void dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool interrupt);
130 static inline void dwc3_gadget_ep_get_transfer_index(struct dwc3_ep *dep) in dwc3_gadget_ep_get_transfer_index()
Dep0.c30 static void __dwc3_ep0_do_control_status(struct dwc3 *dwc, struct dwc3_ep *dep);
32 struct dwc3_ep *dep, struct dwc3_request *req);
36 static void dwc3_ep0_prepare_one_trb(struct dwc3_ep *dep, in dwc3_ep0_prepare_one_trb()
65 static int dwc3_ep0_start_trans(struct dwc3_ep *dep) in dwc3_ep0_start_trans()
89 static int __dwc3_gadget_ep0_queue(struct dwc3_ep *dep, in __dwc3_gadget_ep0_queue()
194 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_queue()
225 struct dwc3_ep *dep; in dwc3_ep0_stall_and_restart()
255 struct dwc3_ep *dep = to_dwc3_ep(ep); in __dwc3_gadget_ep0_set_halt()
265 struct dwc3_ep *dep = to_dwc3_ep(ep); in dwc3_gadget_ep0_set_halt()
279 struct dwc3_ep *dep; in dwc3_ep0_out_start()
[all …]
Dgadget.c179 static void dwc3_ep_inc_enq(struct dwc3_ep *dep) in dwc3_ep_inc_enq()
188 static void dwc3_ep_inc_deq(struct dwc3_ep *dep) in dwc3_ep_inc_deq()
193 static void dwc3_gadget_del_and_unmap_request(struct dwc3_ep *dep, in dwc3_gadget_del_and_unmap_request()
227 void dwc3_gadget_giveback(struct dwc3_ep *dep, struct dwc3_request *req, in dwc3_gadget_giveback()
291 int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, in dwc3_send_gadget_ep_cmd()
457 static int dwc3_send_clear_stall_ep_cmd(struct dwc3_ep *dep) in dwc3_send_clear_stall_ep_cmd()
481 static dma_addr_t dwc3_trb_dma_offset(struct dwc3_ep *dep, in dwc3_trb_dma_offset()
489 static int dwc3_alloc_trb_pool(struct dwc3_ep *dep) in dwc3_alloc_trb_pool()
508 static void dwc3_free_trb_pool(struct dwc3_ep *dep) in dwc3_free_trb_pool()
519 static int dwc3_gadget_set_xfer_resource(struct dwc3_ep *dep) in dwc3_gadget_set_xfer_resource()
[all …]
Dtrace.h184 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),
280 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
285 TP_PROTO(struct dwc3_ep *dep, struct dwc3_trb *trb),
290 TP_PROTO(struct dwc3_ep *dep),
329 TP_PROTO(struct dwc3_ep *dep),
334 TP_PROTO(struct dwc3_ep *dep),
Ddebug.h418 extern void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep);
419 extern void dwc3_debugfs_remove_endpoint_dir(struct dwc3_ep *dep);
423 static inline void dwc3_debugfs_create_endpoint_dir(struct dwc3_ep *dep) in dwc3_debugfs_create_endpoint_dir()
425 static inline void dwc3_debugfs_remove_endpoint_dir(struct dwc3_ep *dep) in dwc3_debugfs_remove_endpoint_dir()
Ddebugfs.c688 struct dwc3_ep *dep = s->private; in dwc3_tx_fifo_size_show()
717 struct dwc3_ep *dep = s->private; in dwc3_rx_fifo_size_show()
746 struct dwc3_ep *dep = s->private; in dwc3_tx_request_queue_show()
768 struct dwc3_ep *dep = s->private; in dwc3_rx_request_queue_show()
790 struct dwc3_ep *dep = s->private; in dwc3_rx_info_queue_show()
812 struct dwc3_ep *dep = s->private; in dwc3_descriptor_fetch_queue_show()
834 struct dwc3_ep *dep = s->private; in dwc3_event_queue_show()
856 struct dwc3_ep *dep = s->private; in dwc3_transfer_type_show()
891 struct dwc3_ep *dep = s->private; in dwc3_trb_ring_show()
936 struct dwc3_ep *dep = s->private; in dwc3_ep_info_register_show()
[all …]
Dcore.h725 struct dwc3_ep { struct
940 struct dwc3_ep *dep;
1160 struct dwc3_ep *eps[DWC3_ENDPOINTS_NUM];
1522 u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type);
1585 int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd,
1590 void dwc3_remove_requests(struct dwc3 *dwc, struct dwc3_ep *dep, int status);
1604 static inline int dwc3_send_gadget_ep_cmd(struct dwc3_ep *dep, unsigned int cmd, in dwc3_send_gadget_ep_cmd()
Dcore.c254 u32 dwc3_core_fifo_space(struct dwc3_ep *dep, u8 type) in dwc3_core_fifo_space()