Home
last modified time | relevance | path

Searched defs:dwc (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/dwc3/
Dgadget.c66 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
98 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
171 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos()
243 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
309 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, int cmd, u32 param) in dwc3_send_gadget_generic_command()
336 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
383 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
405 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local
414 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config()
437 static int dwc3_gadget_set_ep_config(struct dwc3 *dwc, struct dwc3_ep *dep, in dwc3_gadget_set_ep_config()
[all …]
Dcore.c69 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
83 static void dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
129 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
143 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
166 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
186 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers()
221 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup()
246 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup()
263 static void dwc3_core_num_eps(struct dwc3 *dwc) in dwc3_core_num_eps()
274 static void dwc3_cache_hwparams(struct dwc3 *dwc) in dwc3_cache_hwparams()
[all …]
Dep0.c77 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum, dma_addr_t buf_dma, in dwc3_ep0_start_trans()
127 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local
231 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local
263 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
291 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
298 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
307 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
330 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
388 static int dwc3_ep0_handle_feature(struct dwc3 *dwc, in dwc3_ep0_handle_feature()
497 static int dwc3_ep0_set_address(struct dwc3 *dwc, struct usb_ctrlrequest *ctrl) in dwc3_ep0_set_address()
[all …]
Ddebugfs.c382 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
416 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
451 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
496 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
534 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
603 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local
641 int dwc3_debugfs_init(struct dwc3 *dwc) in dwc3_debugfs_init()
706 void dwc3_debugfs_exit(struct dwc3 *dwc) in dwc3_debugfs_exit()
Dhost.c42 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
84 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
Dcore.h390 struct dwc3 *dwc; member
433 struct dwc3 *dwc; member
896 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
898 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
906 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
908 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
919 static inline int dwc3_gadget_prepare(struct dwc3 *dwc) in dwc3_gadget_prepare()
924 static inline void dwc3_gadget_complete(struct dwc3 *dwc) in dwc3_gadget_complete()
928 static inline int dwc3_gadget_suspend(struct dwc3 *dwc) in dwc3_gadget_suspend()
933 static inline int dwc3_gadget_resume(struct dwc3 *dwc) in dwc3_gadget_resume()
Dgadget.h129 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) in dwc3_gadget_ep_get_transfer_index()
/drivers/dma/
Ddw_dmac.c54 static inline void dwc_set_masters(struct dw_dma_chan *dwc) in dwc_set_masters()
101 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active()
106 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get()
134 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put()
153 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
206 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs()
217 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable()
227 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block()
248 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart()
296 dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc, in dwc_descriptor_complete()
[all …]
Ddw_dmac_regs.h226 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs()
231 #define channel_readl(dwc, name) \ argument
233 #define channel_writel(dwc, name, val) \ argument