Home
last modified time | relevance | path

Searched refs:dwc3_writel (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/usb/dwc3/
H A Ddrd.c24 dwc3_writel(dwc->regs, DWC3_OEVTEN, reg); in dwc3_otg_disable_events()
32 dwc3_writel(dwc->regs, DWC3_OEVTEN, reg); in dwc3_otg_enable_events()
39 dwc3_writel(dwc->regs, DWC3_OEVTEN, reg); in dwc3_otg_clear_events()
79 dwc3_writel(dwc->regs, DWC3_OEVT, reg); in dwc3_otg_irq()
86 dwc3_writel(dwc->regs, DWC3_OEVT, reg); in dwc3_otg_irq()
105 dwc3_writel(dwc->regs, DWC3_OCFG, reg); in dwc3_otgregs_init()
110 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in dwc3_otgregs_init()
119 dwc3_writel(dwc->regs, DWC3_OCFG, reg); in dwc3_otgregs_init()
134 dwc3_writel(dwc->regs, DWC3_OCTL, reg); in dwc3_otgregs_init()
180 dwc3_writel(dw in dwc3_otg_init()
[all...]
H A Dcore.c117 dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg); in dwc3_enable_susphy()
125 dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg); in dwc3_enable_susphy()
148 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in __dwc3_set_mode()
208 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in __dwc3_set_mode()
220 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in __dwc3_set_mode()
242 dwc3_writel(dwc->regs, DWC3_GUCTL3, reg); in __dwc3_set_mode()
293 dwc3_writel(dwc->regs, DWC3_GDBGFIFOSPACE, in dwc3_core_soft_reset()
379 dwc3_writel(dwc->regs, DWC3_GFLADJ, reg); in dwc3_ref_clk_period()
414 dwc3_writel(dwc->regs, DWC3_GUCTL, reg); in dwc3_ref_clk_period()
453 dwc3_writel(dw in dwc3_free_one_event_buffer()
[all...]
H A Dgadget.c115 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_gadget_set_link_state()
119 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_gadget_set_link_state()
257 dwc3_writel(dwc->regs, DWC3_DGCMDPAR, param); in dwc3_send_gadget_generic_command()
258 dwc3_writel(dwc->regs, DWC3_DGCMD, cmd | DWC3_DGCMD_CMDACT); in dwc3_send_gadget_generic_command()
344 dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg); in dwc3_send_gadget_ep_cmd()
354 dwc3_writel(dep->regs, DWC3_DEPCMDPAR0, params->param0); in dwc3_send_gadget_ep_cmd()
355 dwc3_writel(dep->regs, DWC3_DEPCMDPAR1, params->param1); in dwc3_send_gadget_ep_cmd()
356 dwc3_writel(dep->regs, DWC3_DEPCMDPAR2, params->param2); in dwc3_send_gadget_ep_cmd()
380 dwc3_writel(dep->regs, DWC3_DEPCMD, cmd); in dwc3_send_gadget_ep_cmd()
448 dwc3_writel(dw in dwc3_send_gadget_ep_cmd()
[all...]
H A Dulpi.c58 dwc3_writel(dwc->regs, DWC3_GUSB2PHYACC(0), reg); in dwc3_ulpi_read()
76 dwc3_writel(dwc->regs, DWC3_GUSB2PHYACC(0), reg); in dwc3_ulpi_write()
H A Dio.h40 static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) in dwc3_writel() function
H A Dgadget.h150 dwc3_writel(dwc->regs, DWC3_DCTL, value); in dwc3_gadget_dctl_write_safe()
H A Dep0.c422 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_ep0_handle_u1()
446 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_ep0_handle_u2()
615 dwc3_writel(dwc->regs, DWC3_DCFG, reg); in dwc3_ep0_set_address()
677 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_ep0_set_config()
H A Ddebugfs.c303 dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg); in dwc3_host_lsp()
309 dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg); in dwc3_host_lsp()
323 dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg); in dwc3_gadget_lsp()
951 dwc3_writel(dwc->regs, DWC3_GDBGLSPMUX, reg); in dwc3_ep_info_register_show()
H A Dtrace.h46 DEFINE_EVENT(dwc3_log_io, dwc3_writel,
/openbmc/u-boot/drivers/usb/dwc3/
H A Dcore.c42 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in dwc3_set_mode()
56 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in dwc3_core_soft_reset()
61 dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg); in dwc3_core_soft_reset()
66 dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg); in dwc3_core_soft_reset()
73 dwc3_writel(dwc->regs, DWC3_GUSB3PIPECTL(0), reg); in dwc3_core_soft_reset()
78 dwc3_writel(dwc->regs, DWC3_GUSB2PHYCFG(0), reg); in dwc3_core_soft_reset()
85 dwc3_writel(dwc->regs, DWC3_GCTL, reg); in dwc3_core_soft_reset()
201 dwc3_writel(dwc->regs, DWC3_GEVNTADRLO(n), in dwc3_event_buffers_setup()
203 dwc3_writel(dwc->regs, DWC3_GEVNTADRHI(n), in dwc3_event_buffers_setup()
205 dwc3_writel(dwc->regs, DWC3_GEVNTSIZ(n), in dwc3_event_buffers_setup()
[all …]
H A Dgadget.c59 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_gadget_set_test_mode()
115 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_gadget_set_link_state()
216 dwc3_writel(dwc->regs, DWC3_GTXFIFOSIZ(num), fifo_size); in dwc3_gadget_resize_tx_fifos()
270 dwc3_writel(dwc->regs, DWC3_DGCMDPAR, param); in dwc3_send_gadget_generic_command()
271 dwc3_writel(dwc->regs, DWC3_DGCMD, cmd | DWC3_DGCMD_CMDACT); in dwc3_send_gadget_generic_command()
298 dwc3_writel(dwc->regs, DWC3_DEPCMDPAR0(ep), params->param0); in dwc3_send_gadget_ep_cmd()
299 dwc3_writel(dwc->regs, DWC3_DEPCMDPAR1(ep), params->param1); in dwc3_send_gadget_ep_cmd()
300 dwc3_writel(dwc->regs, DWC3_DEPCMDPAR2(ep), params->param2); in dwc3_send_gadget_ep_cmd()
302 dwc3_writel(dwc->regs, DWC3_DEPCMD(ep), cmd | DWC3_DEPCMD_CMDACT); in dwc3_send_gadget_ep_cmd()
501 dwc3_writel(dwc->regs, DWC3_DALEPENA, reg); in __dwc3_gadget_ep_enable()
[all …]
H A Dio.h38 static inline void dwc3_writel(void __iomem *base, u32 offset, u32 value) in dwc3_writel() function
H A Dep0.c423 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_ep0_handle_feature()
437 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_ep0_handle_feature()
516 dwc3_writel(dwc->regs, DWC3_DCFG, reg); in dwc3_ep0_set_address()
571 dwc3_writel(dwc->regs, DWC3_DCTL, reg); in dwc3_ep0_set_config()
/openbmc/linux/Documentation/driver-api/usb/
H A Ddwc3.rst553 dwc3_readl() and one for dwc3_writel()). ``TP_printk`` follows::