Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
Dcore.c53 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
67 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
124 static int dwc3_soft_reset(struct dwc3 *dwc) in dwc3_soft_reset()
152 static void dwc3_frame_length_adjustment(struct dwc3 *dwc, u32 fladj) in dwc3_frame_length_adjustment()
178 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
192 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
215 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
235 static int dwc3_alloc_event_buffers(struct dwc3 *dwc, unsigned length) in dwc3_alloc_event_buffers()
268 static int dwc3_event_buffers_setup(struct dwc3 *dwc) in dwc3_event_buffers_setup()
293 static void dwc3_event_buffers_cleanup(struct dwc3 *dwc) in dwc3_event_buffers_cleanup()
[all …]
Dgadget.c47 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
78 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
95 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
169 int dwc3_gadget_resize_tx_fifos(struct dwc3 *dwc) in dwc3_gadget_resize_tx_fifos()
237 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
291 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command()
326 int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
376 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
395 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local
438 static int dwc3_gadget_start_config(struct dwc3 *dwc, struct dwc3_ep *dep) in dwc3_gadget_start_config()
[all …]
Dep0.c58 static void dwc3_ep0_prepare_one_trb(struct dwc3 *dwc, u8 epnum, in dwc3_ep0_prepare_one_trb()
88 static int dwc3_ep0_start_trans(struct dwc3 *dwc, u8 epnum) in dwc3_ep0_start_trans()
124 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local
230 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local
264 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
292 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local
302 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
313 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
323 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
349 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
[all …]
Ddebugfs.c362 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
396 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
431 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
476 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
514 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
583 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local
621 int dwc3_debugfs_init(struct dwc3 *dwc) in dwc3_debugfs_init()
686 void dwc3_debugfs_exit(struct dwc3 *dwc) in dwc3_debugfs_exit()
Dulpi.c27 static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read) in dwc3_ulpi_busyloop()
52 struct dwc3 *dwc = dev_get_drvdata(ops->dev); in dwc3_ulpi_read() local
70 struct dwc3 *dwc = dev_get_drvdata(ops->dev); in dwc3_ulpi_write() local
85 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
97 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
Dhost.c23 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
82 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
Dcore.h429 struct dwc3 *dwc; member
472 struct dwc3 *dwc; member
1031 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1033 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1047 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1049 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1051 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1053 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
1055 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state()
1059 static inline int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep, in dwc3_send_gadget_ep_cmd()
[all …]
Dgadget.h98 static inline u32 dwc3_gadget_ep_get_transfer_index(struct dwc3 *dwc, u8 number) in dwc3_gadget_ep_get_transfer_index()
/drivers/dma/dw/
Dcore.c78 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active()
83 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get()
111 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put()
130 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
169 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs()
180 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable()
190 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block()
213 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart()
258 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued()
274 dwc_descriptor_complete(struct dw_dma_chan *dwc, struct dw_desc *desc, in dwc_descriptor_complete()
[all …]
Dregs.h260 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs()
265 #define channel_readl(dwc, name) \ argument
267 #define channel_writel(dwc, name, val) \ argument