Home
last modified time | relevance | path

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

12

/kernel/linux/linux-4.19/drivers/usb/dwc3/
Dcore.c47 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode()
102 void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode) in dwc3_set_prtcap()
116 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local
195 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
208 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local
224 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
289 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
314 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
328 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
355 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers()
[all …]
Ddrd.c18 static void dwc3_otg_disable_events(struct dwc3 *dwc, u32 disable_mask) in dwc3_otg_disable_events()
26 static void dwc3_otg_enable_events(struct dwc3 *dwc, u32 enable_mask) in dwc3_otg_enable_events()
34 static void dwc3_otg_clear_events(struct dwc3 *dwc) in dwc3_otg_clear_events()
53 struct dwc3 *dwc = _dwc; in dwc3_otg_thread_irq() local
71 struct dwc3 *dwc = _dwc; in dwc3_otg_irq() local
92 static void dwc3_otgregs_init(struct dwc3 *dwc) in dwc3_otgregs_init()
136 static int dwc3_otg_get_irq(struct dwc3 *dwc) in dwc3_otg_get_irq()
169 void dwc3_otg_init(struct dwc3 *dwc) in dwc3_otg_init()
188 void dwc3_otg_exit(struct dwc3 *dwc) in dwc3_otg_exit()
197 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()
175 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local
209 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
227 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command()
272 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
403 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
434 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
453 struct dwc3 *dwc = dep->dwc; in dwc3_free_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 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
249 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local
259 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
270 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
284 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
307 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
[all …]
Ddebugfs.c284 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
318 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
349 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
394 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
432 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
460 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local
517 struct dwc3 *dwc = dep->dwc; in dwc3_tx_fifo_queue_show() local
532 struct dwc3 *dwc = dep->dwc; in dwc3_rx_fifo_queue_show() local
547 struct dwc3 *dwc = dep->dwc; in dwc3_tx_request_queue_show() local
562 struct dwc3 *dwc = dep->dwc; in dwc3_rx_request_queue_show() local
[all …]
Dulpi.c20 static int dwc3_ulpi_busyloop(struct dwc3 *dwc) in dwc3_ulpi_busyloop()
37 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local
61 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_write() local
82 int dwc3_ulpi_init(struct dwc3 *dwc) in dwc3_ulpi_init()
94 void dwc3_ulpi_exit(struct dwc3 *dwc) in dwc3_ulpi_exit()
Ddwc3-pci.c140 static int dwc3_pci_quirks(struct dwc3_pci *dwc) in dwc3_pci_quirks()
202 struct dwc3_pci *dwc = container_of(work, struct dwc3_pci, wakeup_work); in dwc3_pci_resume_work() local
220 struct dwc3_pci *dwc; in dwc3_pci_probe() local
291 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local
360 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm()
388 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local
398 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local
414 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local
421 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
Dhost.c14 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq()
47 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
138 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.h630 struct dwc3 *dwc; member
676 struct dwc3 *dwc; member
1346 static inline bool dwc3_is_usb3(struct dwc3 *dwc) in dwc3_is_usb3()
1352 static inline bool dwc3_is_usb31(struct dwc3 *dwc) in dwc3_is_usb31()
1366 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1368 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1382 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1384 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1386 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1388 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
[all …]
/kernel/linux/linux-5.10/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()
121 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local
231 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode()
247 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local
263 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset()
318 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment()
343 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer()
357 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer()
384 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 …]
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 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart()
249 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local
259 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local
270 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start()
284 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep()
310 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status()
[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()
178 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local
211 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local
230 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned int cmd, in dwc3_send_gadget_generic_command()
276 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local
411 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local
443 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local
462 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local
[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
360 struct dwc3 *dwc = s->private; in dwc3_lsp_write() local
390 struct dwc3 *dwc = s->private; in dwc3_mode_show() local
424 struct dwc3 *dwc = s->private; in dwc3_mode_write() local
458 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local
503 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local
541 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local
576 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local
[all …]
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()
Ddwc3-pci.c148 static int dwc3_pci_quirks(struct dwc3_pci *dwc) in dwc3_pci_quirks()
211 struct dwc3_pci *dwc = container_of(work, struct dwc3_pci, wakeup_work); in dwc3_pci_resume_work() local
229 struct dwc3_pci *dwc; in dwc3_pci_probe() local
300 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local
384 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm()
412 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local
422 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local
438 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local
445 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
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.h652 struct dwc3 *dwc; member
700 struct dwc3 *dwc; member
1463 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init()
1465 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
1480 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init()
1482 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit()
1484 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode()
1486 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state()
1488 static inline int dwc3_gadget_set_link_state(struct dwc3 *dwc, in dwc3_gadget_set_link_state()
1495 static inline int dwc3_send_gadget_generic_command(struct dwc3 *dwc, in dwc3_send_gadget_generic_command()
[all …]
Dgadget.h141 static inline void dwc3_gadget_dctl_write_safe(struct dwc3 *dwc, u32 value) in dwc3_gadget_dctl_write_safe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.19/drivers/dma/dw/
Dcore.c75 static struct dw_desc *dwc_first_active(struct dw_dma_chan *dwc) in dwc_first_active()
83 struct dw_dma_chan *dwc = to_dw_dma_chan(tx->chan); in dwc_tx_submit() local
104 static struct dw_desc *dwc_desc_get(struct dw_dma_chan *dwc) in dwc_desc_get()
123 static void dwc_desc_put(struct dw_dma_chan *dwc, struct dw_desc *desc) in dwc_desc_put()
141 static void dwc_initialize_chan_idma32(struct dw_dma_chan *dwc) in dwc_initialize_chan_idma32()
161 static void dwc_initialize_chan_dw(struct dw_dma_chan *dwc) in dwc_initialize_chan_dw()
179 static void dwc_initialize(struct dw_dma_chan *dwc) in dwc_initialize()
200 static inline void dwc_dump_chan_regs(struct dw_dma_chan *dwc) in dwc_dump_chan_regs()
211 static inline void dwc_chan_disable(struct dw_dma *dw, struct dw_dma_chan *dwc) in dwc_chan_disable()
218 static u32 bytes2block(struct dw_dma_chan *dwc, size_t bytes, in bytes2block()
[all …]

12