Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/usb/mtu3/
Dmtu3_qmu.h20 void mtu3_qmu_stop(struct mtu3_ep *mep);
21 int mtu3_qmu_start(struct mtu3_ep *mep);
22 void mtu3_qmu_resume(struct mtu3_ep *mep);
23 void mtu3_qmu_flush(struct mtu3_ep *mep);
25 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq);
26 int mtu3_prepare_transfer(struct mtu3_ep *mep);
28 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep);
29 void mtu3_gpd_ring_free(struct mtu3_ep *mep);
Dmtu3.h26 struct mtu3_ep;
276 struct mtu3_ep { struct
303 struct mtu3_ep *mep; argument
337 struct mtu3_ep *ep_array;
338 struct mtu3_ep *in_eps;
339 struct mtu3_ep *out_eps;
340 struct mtu3_ep *ep0;
385 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) in to_mtu3_ep()
387 return ep ? container_of(ep, struct mtu3_ep, ep) : NULL; in to_mtu3_ep()
390 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) in next_request()
[all …]
Dmtu3_trace.h176 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
202 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
207 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
212 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
217 TP_PROTO(struct mtu3_ep *mep),
255 TP_PROTO(struct mtu3_ep *mep),
260 TP_PROTO(struct mtu3_ep *mep),
265 TP_PROTO(struct mtu3_ep *mep),
Dmtu3_qmu.c154 static void reset_gpd_list(struct mtu3_ep *mep) in reset_gpd_list()
165 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep) in mtu3_gpd_ring_alloc()
180 void mtu3_gpd_ring_free(struct mtu3_ep *mep) in mtu3_gpd_ring_free()
189 void mtu3_qmu_resume(struct mtu3_ep *mep) in mtu3_qmu_resume()
238 int mtu3_prepare_transfer(struct mtu3_ep *mep) in mtu3_prepare_transfer()
243 static int mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_tx_gpd()
284 static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_rx_gpd()
317 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_insert_gpd()
326 int mtu3_qmu_start(struct mtu3_ep *mep) in mtu3_qmu_start()
370 void mtu3_qmu_stop(struct mtu3_ep *mep) in mtu3_qmu_stop()
[all …]
Dmtu3_gadget.c13 void mtu3_req_complete(struct mtu3_ep *mep, in mtu3_req_complete()
46 static void nuke(struct mtu3_ep *mep, const int status) in nuke()
67 static int mtu3_ep_enable(struct mtu3_ep *mep) in mtu3_ep_enable()
135 static int mtu3_ep_disable(struct mtu3_ep *mep) in mtu3_ep_disable()
158 struct mtu3_ep *mep; in mtu3_gadget_ep_enable()
214 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_ep_disable()
240 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_alloc_request()
266 struct mtu3_ep *mep; in mtu3_gadget_queue()
335 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_dequeue()
376 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_ep_set_halt()
[all …]
Dmtu3_debugfs.c93 struct mtu3_ep *mep; in mtu3_ep_used_show()
143 static void mtu3_debugfs_ep_regset(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_debugfs_ep_regset()
174 struct mtu3_ep *mep = sf->private; in mtu3_ep_info_show()
188 struct mtu3_ep *mep = sf->private; in mtu3_fifo_show()
202 struct mtu3_ep *mep = sf->private; in mtu3_qmu_ring_show()
220 struct mtu3_ep *mep = sf->private; in mtu3_qmu_gpd_show()
368 static void mtu3_debugfs_create_ep_dir(struct mtu3_ep *mep, in mtu3_debugfs_create_ep_dir()
Dmtu3_gadget_ep0.c80 static void ep0_write_fifo(struct mtu3_ep *mep, const u8 *src, u16 len) in ep0_write_fifo()
100 static void ep0_read_fifo(struct mtu3_ep *mep, u8 *dst, u16 len) in ep0_read_fifo()
135 static void ep0_stall_set(struct mtu3_ep *mep0, bool set, u32 pktrdy) in ep0_stall_set()
156 static int ep0_queue(struct mtu3_ep *mep0, struct mtu3_request *mreq);
199 struct mtu3_ep *mep = NULL; in ep0_get_status()
374 struct mtu3_ep *mep; in ep0_handle_feature()
782 static int ep0_queue(struct mtu3_ep *mep, struct mtu3_request *mreq) in ep0_queue()
830 struct mtu3_ep *mep; in mtu3_ep0_queue()
857 struct mtu3_ep *mep; in mtu3_ep0_halt()
Dmtu3_core.c23 static int ep_fifo_alloc(struct mtu3_ep *mep, u32 seg_size) in ep_fifo_alloc()
51 static void ep_fifo_free(struct mtu3_ep *mep) in ep_fifo_free()
206 static void mtu3_ep_reset(struct mtu3_ep *mep) in mtu3_ep_reset()
216 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set) in mtu3_ep_stall_set()
301 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_config_ep()
403 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep) in mtu3_deconfig_ep()
497 struct mtu3_ep *ep_array; in mtu3_mem_alloc()
526 struct mtu3_ep *mep = mtu->in_eps + i; in mtu3_mem_alloc()