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()
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 Dcore.c132 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 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()
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 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.c359 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 Dgadget.h134 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()
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 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()
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 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::