/openbmc/linux/drivers/usb/dwc3/ |
H A D | drd.c | 21 u32 reg = dwc3_readl(dwc->regs, DWC3_OEVTEN); in dwc3_otg_disable_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() 206 reg = dwc3_readl(dwc->regs, DWC3_OCTL); in dwc3_otg_host_init() 214 reg = dwc3_readl(dwc->regs, DWC3_OCFG); in dwc3_otg_host_init() 238 reg = dwc3_readl(dwc->regs, DWC3_OCTL); in dwc3_otg_host_init() [all …]
|
H A D | core.c | 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() 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() 398 reg = dwc3_readl(dwc->regs, DWC3_GUCTL); in dwc3_ref_clk_period() 429 reg = dwc3_readl(dwc->regs, DWC3_GFLADJ); in dwc3_ref_clk_period() 567 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_event_buffers_cleanup() 899 reg = dwc3_readl(dwc->regs, DWC3_GCTL); in dwc3_core_setup_global_control() [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() 1701 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in __dwc3_gadget_get_frame() 2336 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in __dwc3_gadget_wakeup() 2510 reg = dwc3_readl(dwc->regs, DWC3_DCFG); in __dwc3_gadget_set_ssp_rate() 2541 reg = dwc3_readl(dwc->regs, DWC3_DCFG); in __dwc3_gadget_set_speed() [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 | 359 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_status() 415 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_u1() 439 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_handle_u2() 610 reg = dwc3_readl(dwc->regs, DWC3_DCFG); in dwc3_ep0_set_address() 669 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_set_config() 714 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_ep0_set_sel_cmpl()
|
H A D | gadget.h | 134 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() 380 reg = dwc3_readl(dwc->regs, DWC3_GUSB2PHYCFG(0)); in dwc3_phy_setup() 412 reg = dwc3_readl(dwc->regs, DWC3_GSNPSID); in dwc3_core_init() 432 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_core_init() [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() 1252 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_get_frame() 1278 reg = dwc3_readl(dwc->regs, DWC3_DSTS); in dwc3_gadget_wakeup() 1354 reg = dwc3_readl(dwc->regs, DWC3_DCTL); in dwc3_gadget_run_stop() 1463 reg = dwc3_readl(dwc->regs, DWC3_DCFG); in dwc3_gadget_start() [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::
|