Home
last modified time | relevance | path

Searched refs:mep (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/usb/mtu3/
A Dmtu3_gadget.c27 if (mep->epnum) in mtu3_req_complete()
47 if (mep->epnum) in nuke()
68 desc = mep->desc; in mtu3_ep_enable()
103 mep->ep.maxpacket = mep->maxp; in mtu3_ep_enable()
137 mep->type = 0; in mtu3_ep_disable()
138 mep->flags = 0; in mtu3_ep_disable()
161 mtu = mep->mtu; in mtu3_gadget_ep_enable()
232 mreq->mep = mep; in mtu3_alloc_request()
256 if (mreq->mep != mep) in mtu3_gadget_queue()
313 if (mreq->mep != mep) in mtu3_gadget_dequeue()
[all …]
A Dmtu3_qmu.h22 void mtu3_qmu_stop(struct mtu3_ep *mep);
23 int mtu3_qmu_start(struct mtu3_ep *mep);
24 void mtu3_qmu_resume(struct mtu3_ep *mep);
25 void mtu3_qmu_flush(struct mtu3_ep *mep);
27 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq);
28 int mtu3_prepare_transfer(struct mtu3_ep *mep);
30 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep);
31 void mtu3_gpd_ring_free(struct mtu3_ep *mep);
A Dmtu3_qmu.c129 struct mtu3 *mtu = mep->mtu; in mtu3_qmu_resume()
131 int epnum = mep->epnum; in mtu3_qmu_resume()
197 mep->epnum, gpd, enq); in mtu3_prepare_tx_gpd()
234 mep->epnum, gpd, enq); in mtu3_prepare_rx_gpd()
252 if (mep->is_in) in mtu3_insert_gpd()
263 u8 epnum = mep->epnum; in mtu3_qmu_start()
265 if (mep->is_in) { in mtu3_qmu_start()
306 int epnum = mep->epnum; in mtu3_qmu_stop()
335 mtu3_qmu_stop(mep); in mtu3_qmu_flush()
336 reset_gpd_list(mep); in mtu3_qmu_flush()
[all …]
A Dmtu3_core.c29 mep->fifo_size = mep->fifo_seg_size * (mep->slot + 1); in ep_fifo_alloc()
30 mep->fifo_addr = fifo->base + mep->fifo_size * fz_bit; in ep_fifo_alloc()
34 __func__, mep->fifo_seg_size, mep->fifo_size, fz_bit); in ep_fifo_alloc()
50 mep->fifo_size = 0; in ep_fifo_free()
54 __func__, mep->fifo_seg_size, mep->fifo_size, bit); in ep_fifo_free()
223 u32 rst_bit = EP_RST(mep->is_in, mep->epnum); in mtu3_ep_reset()
313 fifo_addr = ep_fifo_alloc(mep, mep->maxp); in mtu3_config_ep()
320 mep->fifo_seg_size, mep->fifo_size); in mtu3_config_ep()
322 if (mep->is_in) { in mtu3_config_ep()
398 __func__, mep->name, mep->fifo_addr, mep->fifo_size, in mtu3_config_ep()
[all …]
A Dmtu3_gadget_ep0.c218 mtu->ep0_req.mep = mtu->ep0; in ep0_set_sel()
230 struct mtu3_ep *mep = NULL; in ep0_get_status() local
265 if (!mep->desc) { in ep0_get_status()
404 struct mtu3_ep *mep; in ep0_handle_feature() local
437 if (!mep->desc) in ep0_handle_feature()
856 struct mtu3_ep *mep; in mtu3_ep0_queue() local
865 mep = to_mtu3_ep(ep); in mtu3_ep0_queue()
866 mtu = mep->mtu; in mtu3_ep0_queue()
883 struct mtu3_ep *mep; in mtu3_ep0_halt() local
891 mep = to_mtu3_ep(ep); in mtu3_ep0_halt()
[all …]
A Dmtu3.h276 struct mtu3_ep *mep; member
364 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) in next_request() argument
366 if (list_empty(&mep->req_list)) in next_request()
369 return list_first_entry(&mep->req_list, struct mtu3_request, list); in next_request()
401 void mtu3_req_complete(struct mtu3_ep *mep,
404 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep,
406 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep);
407 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set);

Completed in 13 milliseconds