Home
last modified time | relevance | path

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

/drivers/usb/dwc3/
Dcore.c47 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode()
105 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode) in dwc3_set_prtcap()
119 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local
238 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
254 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local
270 int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
327 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
352 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
366 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
393 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
[all …]
Ddrd.c19 static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask) in dwc3_otg_disable_events()
27 static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask) in dwc3_otg_enable_events()
35 static void dwc3_otg_clear_events(struct dwc3 *dwc) in dwc3_otg_clear_events()
54 struct dwc3 *dwc = _dwc; in dwc3_otg_thread_irq() local
72 struct dwc3 *dwc = _dwc; in dwc3_otg_irq() local
93 static void dwc3_otgregs_init(struct dwc3 *dwc) in dwc3_otgregs_init()
137 static int dwc3_otg_get_irq(struct dwc3 *dwc) in dwc3_otg_get_irq()
167 void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
186 void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
195 void dwc3_otg_host_init(struct dwc3 *dwc) in dwc3_otg_host_init()
[all …]
Dgadget.c41 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
72 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
89 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state()
142 static void dwc3_ep0_reset_state(struct dwc3 *dwc) in dwc3_ep0_reset_state()
196 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local
230 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
249 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd, in dwc3_send_gadget_generic_command()
295 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
460 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
492 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
[all …]
Dep0.c38 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb() local
66 struct dwc3 *dwc; in dwc3_ep0_start_trans() local
90 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local
193 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local
221 void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
254 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local
264 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
275 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
306 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
332 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
[all …]
Ddebugfs.c282 struct dwc3 *dwc = s->private; in dwc3_host_lsp() local
312 struct dwc3 *dwc = s->private; in dwc3_gadget_lsp() local
326 struct dwc3 *dwc = s->private; in dwc3_lsp_show() local
367 struct dwc3 *dwc = s->private; in dwc3_lsp_write() local
397 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
438 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
472 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
524 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
569 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
612 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local
[all …]
Ddwc3-pci.c162 static int dwc3_pci_quirks(struct dwc3_pci *dwc) in dwc3_pci_quirks()
227 struct dwc3_pci *dwc = container_of(work, struct dwc3_pci, wakeup_work); in dwc3_pci_resume_work() local
244 struct dwc3_pci *dwc; in dwc3_pci_probe() local
316 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local
407 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm()
435 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local
445 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local
461 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local
468 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
Dulpi.c24 static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read) in dwc3_ulpi_busyloop()
53 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local
71 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_write() local
86 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
98 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
Dhost.c15 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq()
45 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
130 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
Ddwc3-haps.c39 struct dwc3_haps *dwc; in dwc3_haps_probe() local
100 struct dwc3_haps *dwc = pci_get_drvdata(pci); in dwc3_haps_remove() local
Dcore.h668 struct dwc3 *dwc; member
718 struct dwc3 *dwc; member
1333 struct dwc3 dwc; member
1530 static inline u32 dwc3_mdwidth(struct dwc3 *dwc) in dwc3_mdwidth()
1552 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1554 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1572 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1574 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1576 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1578 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
[all …]
Ddwc3-imx8mp.c82 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_interrupt() local
245 struct dwc3 *dwc = platform_get_drvdata(dwc3_imx->dwc3); in dwc3_imx8mp_resume() local
Dgadget.h146 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe()
Ddwc3-qcom.c309 struct dwc3 *dwc; in dwc3_qcom_is_host() local
432 struct dwc3 *dwc = platform_get_drvdata(qcom->dwc3); in qcom_dwc3_resume_irq() local
/drivers/dma/dw/
Dcore.c51 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active()
59 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit() local
80 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get()
99 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put()
117 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
130 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs()
141 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable()
151 static inline void dwc_do_single_block(struct dw_dma_chan *dwc, in dwc_do_single_block()
174 static void dwc_dostart(struct dw_dma_chan *dwc, struct dw_desc *first) in dwc_dostart()
219 static void dwc_dostart_first_queued(struct dw_dma_chan *dwc) in dwc_dostart_first_queued()
[all …]
Didma32.c12 static void idma32_initialize_chan(struct dw_dma_chan *dwc) in idma32_initialize_chan()
32 static void idma32_suspend_chan(struct dw_dma_chan *dwc, bool drain) in idma32_suspend_chan()
42 static void idma32_resume_chan(struct dw_dma_chan *dwc, bool drain) in idma32_resume_chan()
52 static u32 idma32_bytes2block(struct dw_dma_chan *dwc, in idma32_bytes2block()
68 static size_t idma32_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in idma32_block2bytes()
73 static u32 idma32_prepare_ctllo(struct dw_dma_chan *dwc) in idma32_prepare_ctllo()
83 static void idma32_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in idma32_encode_maxburst()
Ddw.c14 static void dw_dma_initialize_chan(struct dw_dma_chan *dwc) in dw_dma_initialize_chan()
32 static void dw_dma_suspend_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_suspend_chan()
39 static void dw_dma_resume_chan(struct dw_dma_chan *dwc, bool drain) in dw_dma_resume_chan()
46 static u32 dw_dma_bytes2block(struct dw_dma_chan *dwc, in dw_dma_bytes2block()
62 static size_t dw_dma_block2bytes(struct dw_dma_chan *dwc, u32 block, u32 width) in dw_dma_block2bytes()
67 static u32 dw_dma_prepare_ctllo(struct dw_dma_chan *dwc) in dw_dma_prepare_ctllo()
82 static void dw_dma_encode_maxburst(struct dw_dma_chan *dwc, u32 *maxburst) in dw_dma_encode_maxburst()
Dregs.h298 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs()
303 #define channel_readl(dwc, name) \ argument
305 #define channel_writel(dwc, name, val) \ argument