Home
last modified time | relevance | path

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

/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.h29 struct mtu3_ep;
274 struct mtu3_ep { struct
299 struct mtu3_ep *mep; argument
334 struct mtu3_ep *ep_array;
335 struct mtu3_ep *in_eps;
336 struct mtu3_ep *out_eps;
337 struct mtu3_ep *ep0;
380 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) in to_mtu3_ep()
382 return ep ? container_of(ep, struct mtu3_ep, ep) : NULL; in to_mtu3_ep()
385 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) in next_request()
[all …]
Dmtu3_trace.h174 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
200 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
205 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
210 TP_PROTO(struct mtu3_ep *mep, struct qmu_gpd *gpd),
215 TP_PROTO(struct mtu3_ep *mep),
253 TP_PROTO(struct mtu3_ep *mep),
258 TP_PROTO(struct mtu3_ep *mep),
263 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()
239 int mtu3_prepare_transfer(struct mtu3_ep *mep) in mtu3_prepare_transfer()
244 static int mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_tx_gpd()
287 static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_rx_gpd()
322 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_insert_gpd()
331 int mtu3_qmu_start(struct mtu3_ep *mep) in mtu3_qmu_start()
375 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()
154 struct mtu3_ep *mep; in mtu3_gadget_ep_enable()
208 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_ep_disable()
234 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_alloc_request()
261 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_queue()
323 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_dequeue()
364 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()
384 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()