Searched refs:mtu3_ep (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/usb/mtu3/ |
D | mtu3_qmu.h | 19 void mtu3_qmu_stop(struct mtu3_ep *mep); 20 int mtu3_qmu_start(struct mtu3_ep *mep); 21 void mtu3_qmu_resume(struct mtu3_ep *mep); 22 void mtu3_qmu_flush(struct mtu3_ep *mep); 24 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq); 25 int mtu3_prepare_transfer(struct mtu3_ep *mep); 27 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep); 28 void mtu3_gpd_ring_free(struct mtu3_ep *mep);
|
D | mtu3.h | 26 struct mtu3_ep; 274 struct mtu3_ep { struct 301 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; 381 static inline struct mtu3_ep *to_mtu3_ep(struct usb_ep *ep) in to_mtu3_ep() 383 return ep ? container_of(ep, struct mtu3_ep, ep) : NULL; in to_mtu3_ep() 386 static inline struct mtu3_request *next_request(struct mtu3_ep *mep) in next_request() [all …]
|
D | mtu3_qmu.c | 122 static void reset_gpd_list(struct mtu3_ep *mep) in reset_gpd_list() 133 int mtu3_gpd_ring_alloc(struct mtu3_ep *mep) in mtu3_gpd_ring_alloc() 148 void mtu3_gpd_ring_free(struct mtu3_ep *mep) in mtu3_gpd_ring_free() 178 void mtu3_qmu_resume(struct mtu3_ep *mep) in mtu3_qmu_resume() 227 int mtu3_prepare_transfer(struct mtu3_ep *mep) in mtu3_prepare_transfer() 232 static int mtu3_prepare_tx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_tx_gpd() 271 static int mtu3_prepare_rx_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_prepare_rx_gpd() 306 void mtu3_insert_gpd(struct mtu3_ep *mep, struct mtu3_request *mreq) in mtu3_insert_gpd() 315 int mtu3_qmu_start(struct mtu3_ep *mep) in mtu3_qmu_start() 361 void mtu3_qmu_stop(struct mtu3_ep *mep) in mtu3_qmu_stop() [all …]
|
D | mtu3_gadget.c | 12 void mtu3_req_complete(struct mtu3_ep *mep, in mtu3_req_complete() 43 static void nuke(struct mtu3_ep *mep, const int status) in nuke() 64 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() 210 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() 257 struct mtu3_ep *mep; in mtu3_gadget_queue() 323 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_dequeue() 363 struct mtu3_ep *mep = to_mtu3_ep(ep); in mtu3_gadget_ep_set_halt() [all …]
|
D | mtu3_gadget_ep0.c | 78 static void ep0_write_fifo(struct mtu3_ep *mep, const u8 *src, u16 len) in ep0_write_fifo() 98 static void ep0_read_fifo(struct mtu3_ep *mep, u8 *dst, u16 len) in ep0_read_fifo() 133 static void ep0_stall_set(struct mtu3_ep *mep0, bool set, u32 pktrdy) in ep0_stall_set() 154 static int ep0_queue(struct mtu3_ep *mep0, struct mtu3_request *mreq); 197 struct mtu3_ep *mep = NULL; in ep0_get_status() 372 struct mtu3_ep *mep; in ep0_handle_feature() 774 static int ep0_queue(struct mtu3_ep *mep, struct mtu3_request *mreq) in ep0_queue() 822 struct mtu3_ep *mep; in mtu3_ep0_queue() 849 struct mtu3_ep *mep; in mtu3_ep0_halt()
|
D | mtu3_core.c | 20 static int ep_fifo_alloc(struct mtu3_ep *mep, u32 seg_size) in ep_fifo_alloc() 48 static void ep_fifo_free(struct mtu3_ep *mep) in ep_fifo_free() 203 static void mtu3_ep_reset(struct mtu3_ep *mep) in mtu3_ep_reset() 213 void mtu3_ep_stall_set(struct mtu3_ep *mep, bool set) in mtu3_ep_stall_set() 298 int mtu3_config_ep(struct mtu3 *mtu, struct mtu3_ep *mep, in mtu3_config_ep() 399 void mtu3_deconfig_ep(struct mtu3 *mtu, struct mtu3_ep *mep) in mtu3_deconfig_ep() 493 struct mtu3_ep *ep_array; in mtu3_mem_alloc() 522 struct mtu3_ep *mep = mtu->in_eps + i; in mtu3_mem_alloc()
|