Home
last modified time | relevance | path

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

/linux-5.19.10/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.h28 struct mtu3_ep;
273 struct mtu3_ep { struct
298 struct mtu3_ep *mep; argument
332 struct mtu3_ep *ep_array;
333 struct mtu3_ep *in_eps;
334 struct mtu3_ep *out_eps;
335 struct mtu3_ep *ep0;
376 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) in to_mtu3_ep()
378 return ep ? container_of(ep, struct mtu3_ep, ep) : NULL; in to_mtu3_ep()
381 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()
286 static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_rx_gpd()
321 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_insert_gpd()
330 int mtu3_qmu_start(struct mtu3_ep *mep) in mtu3_qmu_start()
374 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()
39 static void nuke(struct mtu3_ep *mep, const int status) in nuke()
59 static int mtu3_ep_enable(struct mtu3_ep *mep) in mtu3_ep_enable()
132 static int mtu3_ep_disable(struct mtu3_ep *mep) in mtu3_ep_disable()
155 struct mtu3_ep *mep; in mtu3_gadget_ep_enable()
209 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_ep_disable()
235 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_alloc_request()
262 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_queue()
324 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_dequeue()
365 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_ep_set_halt()
[all …]
Dmtu3_debugfs.c94 struct mtu3_ep *mep; in mtu3_ep_used_show()
144 static void mtu3_debugfs_ep_regset(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_debugfs_ep_regset()
175 struct mtu3_ep *mep = sf->private; in mtu3_ep_info_show()
189 struct mtu3_ep *mep = sf->private; in mtu3_fifo_show()
203 struct mtu3_ep *mep = sf->private; in mtu3_qmu_ring_show()
221 struct mtu3_ep *mep = sf->private; in mtu3_qmu_gpd_show()
369 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()
165 static int ep0_queue(struct mtu3_ep *mep0, struct mtu3_request *mreq);
208 struct mtu3_ep *mep = NULL; in ep0_get_status()
382 struct mtu3_ep *mep; in ep0_handle_feature()
794 static int ep0_queue(struct mtu3_ep *mep, struct mtu3_request *mreq) in ep0_queue()
839 struct mtu3_ep *mep; in mtu3_ep0_queue()
866 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()
298 static void mtu3_ep_reset(struct mtu3_ep *mep) in mtu3_ep_reset()
308 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set) in mtu3_ep_stall_set()
404 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_config_ep()
506 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep) in mtu3_deconfig_ep()
600 struct mtu3_ep *ep_array; in mtu3_mem_alloc()
629 struct mtu3_ep *mep = mtu->in_eps + i; in mtu3_mem_alloc()