Home
last modified time | relevance | path

Searched refs:dwc3_readl (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/usb/dwc3/
H A Ddrd.c21 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_disable_events()
29 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_enable_events()
37 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVT); in dwc3_otg_clear_events()
75 reg = dwc3_readl(dwc->regs, DWC3_OEVT); in dwc3_otg_irq()
103 reg = dwc3_readl(dwc->regs, DWC3_OCFG); in dwc3_otgregs_init()
108 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_otgregs_init()
117 reg = dwc3_readl(dwc->regs, DWC3_OCFG); in dwc3_otgregs_init()
130 reg = dwc3_readl(dwc->regs, DWC3_OCTL); in dwc3_otgregs_init()
178 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_otg_init()
206 reg = dwc3_readl(dwc->regs, DWC3_OCTL); in dwc3_otg_host_init()
[all …]
H A Dcore.c111 reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0)); in dwc3_enable_susphy()
119 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_enable_susphy()
132 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_set_prtcap()
193 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in __dwc3_set_mode()
205 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in __dwc3_set_mode()
227 reg = dwc3_readl(dwc->regs, DWC3_GUCTL3); in __dwc3_set_mode()
284 reg = dwc3_readl(dwc->regs, DWC3_GDBGFIFOSPACE); in dwc3_core_fifo_space()
306 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_core_soft_reset()
321 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_core_soft_reset()
361 reg = dwc3_readl(dwc->regs, DWC3_GFLADJ); in dwc3_frame_length_adjustment()
[all …]
H A Dulpi.c36 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_ulpi_busyloop()
42 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYACC(0)); in dwc3_ulpi_busyloop()
64 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYACC(0)); in dwc3_ulpi_read()
H A Dgadget.c45 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_set_test_mode()
76 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_get_link_state()
100 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_set_link_state()
111 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_set_link_state()
131 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_set_link_state()
261 reg = dwc3_readl(dwc->regs, DWC3_DGCMD); in dwc3_send_gadget_generic_command()
332 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_send_gadget_ep_cmd()
390 reg = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_send_gadget_ep_cmd()
446 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_send_gadget_ep_cmd()
709 size = dwc3_readl(dwc->regs, DWC3_GTXFIFOSIZ(0)); in dwc3_gadget_clear_tx_fifos()
[all …]
H A Ddebugfs.c304 val = dwc3_readl(dwc->regs, DWC3_GDBGLSP); in dwc3_host_lsp()
310 val = dwc3_readl(dwc->regs, DWC3_GDBGLSP); in dwc3_host_lsp()
324 reg = dwc3_readl(dwc->regs, DWC3_GDBGLSP); in dwc3_gadget_lsp()
342 reg = dwc3_readl(dwc->regs, DWC3_GSTS); in dwc3_lsp_show()
412 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_mode_show()
487 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_testmode_show()
586 reg = dwc3_readl(dwc->regs, DWC3_GSTS); in dwc3_link_state_show()
594 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_link_state_show()
648 reg = dwc3_readl(dwc->regs, DWC3_GSTS); in dwc3_link_state_write()
655 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_link_state_write()
[all …]
H A Dio.h19 static inline u32 dwc3_readl(void __iomem *base, u32 offset) in dwc3_readl() function
H A Dep0.c361 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_status()
417 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_u1()
441 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_u2()
612 reg = dwc3_readl(dwc->regs, DWC3_DCFG); in dwc3_ep0_set_address()
672 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_set_config()
717 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_set_sel_cmpl()
H A Dgadget.h135 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index()
H A Dtrace.h41 DEFINE_EVENT(dwc3_log_io, dwc3_readl,
/openbmc/u-boot/drivers/usb/dwc3/
H A Dcore.c39 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_set_mode()
54 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_core_soft_reset()
59 reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0)); in dwc3_core_soft_reset()
64 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_core_soft_reset()
71 reg = dwc3_readl(dwc->regs, DWC3_GUSB3PIPECTL(0)); in dwc3_core_soft_reset()
76 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_core_soft_reset()
83 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_core_soft_reset()
322 parms->hwparams0 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS0); in dwc3_cache_hwparams()
323 parms->hwparams1 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS1); in dwc3_cache_hwparams()
324 parms->hwparams2 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS2); in dwc3_cache_hwparams()
[all …]
H A Dgadget.c44 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_set_test_mode()
75 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_get_link_state()
99 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_set_link_state()
110 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_set_link_state()
127 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_set_link_state()
274 reg = dwc3_readl(dwc->regs, DWC3_DGCMD); in dwc3_send_gadget_generic_command()
304 reg = dwc3_readl(dwc->regs, DWC3_DEPCMD(ep)); in dwc3_send_gadget_ep_cmd()
499 reg = dwc3_readl(dwc->regs, DWC3_DALEPENA); in __dwc3_gadget_ep_enable()
563 reg = dwc3_readl(dwc->regs, DWC3_DALEPENA); in __dwc3_gadget_ep_disable()
1252 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_get_frame()
[all …]
H A Dio.h23 static inline u32 dwc3_readl(void __iomem *base, u32 offset) in dwc3_readl() function
H A Dep0.c346 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_status()
418 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_feature()
432 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_feature()
513 reg = dwc3_readl(dwc->regs, DWC3_DCFG); in dwc3_ep0_set_address()
569 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_set_config()
614 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_set_sel_cmpl()
H A Dgadget.h102 res_id = dwc3_readl(dwc->regs, DWC3_DEPCMD(number)); in dwc3_gadget_ep_get_transfer_index()
/openbmc/linux/Documentation/driver-api/usb/
H A Ddwc3.rst553 dwc3_readl() and one for dwc3_writel()). ``TP_printk`` follows::