Searched defs:dwc (Results 1 – 11 of 11) sorted by relevance
/drivers/usb/dwc3/ |
D | core.c | 56 static int dwc3_get_dr_mode(struct dwc3 *dwc) in dwc3_get_dr_mode() 106 static void dwc3_set_prtcap(struct dwc3 *dwc, u32 mode) in dwc3_set_prtcap() 118 struct dwc3 *dwc = work_to_dwc(work); in __dwc3_set_mode() local 184 void dwc3_set_mode(struct dwc3 *dwc, u32 mode) in dwc3_set_mode() 197 struct dwc3 *dwc = dep->dwc; in dwc3_core_fifo_space() local 213 static int dwc3_core_soft_reset(struct dwc3 *dwc) in dwc3_core_soft_reset() 272 static void dwc3_frame_length_adjustment(struct dwc3 *dwc) in dwc3_frame_length_adjustment() 297 static void dwc3_free_one_event_buffer(struct dwc3 *dwc, in dwc3_free_one_event_buffer() 311 static struct dwc3_event_buffer *dwc3_alloc_one_event_buffer(struct dwc3 *dwc, in dwc3_alloc_one_event_buffer() 338 static void dwc3_free_event_buffers(struct dwc3 *dwc) in dwc3_free_event_buffers() [all …]
|
D | gadget.c | 46 int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 77 int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() 94 int dwc3_gadget_set_link_state(struct dwc3 *dwc, enum dwc3_link_state state) in dwc3_gadget_set_link_state() 180 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_del_and_unmap_request() local 215 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_giveback() local 233 int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param) in dwc3_send_gadget_generic_command() 278 struct dwc3 *dwc = dep->dwc; in dwc3_send_gadget_ep_cmd() local 418 struct dwc3 *dwc = dep->dwc; in dwc3_send_clear_stall_ep_cmd() local 449 struct dwc3 *dwc = dep->dwc; in dwc3_alloc_trb_pool() local 468 struct dwc3 *dwc = dep->dwc; in dwc3_free_trb_pool() local [all …]
|
D | ep0.c | 46 struct dwc3 *dwc; in dwc3_ep0_prepare_one_trb() local 74 struct dwc3 *dwc; in dwc3_ep0_start_trans() local 100 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_queue() local 203 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_queue() local 231 static void dwc3_ep0_stall_and_restart(struct dwc3 *dwc) in dwc3_ep0_stall_and_restart() 259 struct dwc3 *dwc = dep->dwc; in __dwc3_gadget_ep0_set_halt() local 269 struct dwc3 *dwc = dep->dwc; in dwc3_gadget_ep0_set_halt() local 280 void dwc3_ep0_out_start(struct dwc3 *dwc) in dwc3_ep0_out_start() 294 static struct dwc3_ep *dwc3_wIndex_to_dep(struct dwc3 *dwc, __le16 wIndex_le) in dwc3_wIndex_to_dep() 317 static int dwc3_ep0_handle_status(struct dwc3 *dwc, in dwc3_ep0_handle_status() [all …]
|
D | debugfs.c | 287 struct dwc3 *dwc = s->private; in dwc3_mode_show() local 321 struct dwc3 *dwc = s->private; in dwc3_mode_write() local 352 struct dwc3 *dwc = s->private; in dwc3_testmode_show() local 397 struct dwc3 *dwc = s->private; in dwc3_testmode_write() local 435 struct dwc3 *dwc = s->private; in dwc3_link_state_show() local 463 struct dwc3 *dwc = s->private; in dwc3_link_state_write() local 520 struct dwc3 *dwc = dep->dwc; in dwc3_tx_fifo_queue_show() local 535 struct dwc3 *dwc = dep->dwc; in dwc3_rx_fifo_queue_show() local 550 struct dwc3 *dwc = dep->dwc; in dwc3_tx_request_queue_show() local 565 struct dwc3 *dwc = dep->dwc; in dwc3_rx_request_queue_show() local [all …]
|
D | dwc3-pci.c | 76 static int dwc3_pci_quirks(struct dwc3_pci *dwc) in dwc3_pci_quirks() 181 struct dwc3_pci *dwc; in dwc3_pci_probe() local 245 struct dwc3_pci *dwc = pci_get_drvdata(pci); in dwc3_pci_remove() local 284 static int dwc3_pci_dsm(struct dwc3_pci *dwc, int param) in dwc3_pci_dsm() 312 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_suspend() local 322 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_runtime_resume() local 337 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_suspend() local 344 struct dwc3_pci *dwc = dev_get_drvdata(dev); in dwc3_pci_resume() local
|
D | ulpi.c | 23 static int dwc3_ulpi_busyloop(struct dwc3 *dwc) in dwc3_ulpi_busyloop() 40 struct dwc3 *dwc = dev_get_drvdata(dev); in dwc3_ulpi_read() local 64 struct dwc3 *dwc = dev_get_drvdata(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()
|
D | drd.c | 27 static void dwc3_drd_update(struct dwc3 *dwc) in dwc3_drd_update() 43 struct dwc3 *dwc = container_of(nb, struct dwc3, edev_nb); in dwc3_drd_notifier() local 52 int dwc3_drd_init(struct dwc3 *dwc) in dwc3_drd_init() 77 void dwc3_drd_exit(struct dwc3 *dwc) in dwc3_drd_exit()
|
D | host.c | 22 static int dwc3_host_get_irq(struct dwc3 *dwc) in dwc3_host_get_irq() 55 int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 146 void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit()
|
D | core.h | 507 struct dwc3 *dwc; member 555 struct dwc3 *dwc; member 1192 static inline bool dwc3_is_usb3(struct dwc3 *dwc) in dwc3_is_usb3() 1198 static inline bool dwc3_is_usb31(struct dwc3 *dwc) in dwc3_is_usb31() 1209 static inline int dwc3_host_init(struct dwc3 *dwc) in dwc3_host_init() 1211 static inline void dwc3_host_exit(struct dwc3 *dwc) in dwc3_host_exit() 1225 static inline int dwc3_gadget_init(struct dwc3 *dwc) in dwc3_gadget_init() 1227 static inline void dwc3_gadget_exit(struct dwc3 *dwc) in dwc3_gadget_exit() 1229 static inline int dwc3_gadget_set_test_mode(struct dwc3 *dwc, int mode) in dwc3_gadget_set_test_mode() 1231 static inline int dwc3_gadget_get_link_state(struct dwc3 *dwc) in dwc3_gadget_get_link_state() [all …]
|
/drivers/dma/dw/ |
D | core.c | 75 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 …]
|
D | regs.h | 288 __dwc_regs(struct dw_dma_chan *dwc) in __dwc_regs() 293 #define channel_readl(dwc, name) \ argument 295 #define channel_writel(dwc, name, val) \ argument
|