/openbmc/linux/drivers/usb/dwc3/ |
H A D | drd.c | 21 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 D | core.c | 111 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 D | ulpi.c | 36 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 D | gadget.c | 45 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 D | debugfs.c | 304 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 D | io.h | 19 static inline u32 dwc3_readl(void __iomem *base, u32 offset) in dwc3_readl() function
|
H A D | ep0.c | 361 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 D | gadget.h | 135 res_id = dwc3_readl(dep->regs, DWC3_DEPCMD); in dwc3_gadget_ep_get_transfer_index()
|
H A D | trace.h | 41 DEFINE_EVENT(dwc3_log_io, dwc3_readl,
|
/openbmc/u-boot/drivers/usb/dwc3/ |
H A D | core.c | 39 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 D | gadget.c | 44 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 D | io.h | 23 static inline u32 dwc3_readl(void __iomem *base, u32 offset) in dwc3_readl() function
|
H A D | ep0.c | 346 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 D | gadget.h | 102 res_id = dwc3_readl(dwc->regs, DWC3_DEPCMD(number)); in dwc3_gadget_ep_get_transfer_index()
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | dwc3.rst | 553 dwc3_readl() and one for dwc3_writel()). ``TP_printk`` follows::
|