Home
last modified time | relevance | path

Searched refs:dwc2_writel (Results 1 – 11 of 11) sorted by relevance

/drivers/usb/dwc2/
A Dcore.c171 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs()
186 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs()
196 dwc2_writel(hsotg, dr->dcfg, DCFG); in dwc2_restore_essential_regs()
223 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
229 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
235 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
241 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
250 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
256 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
261 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common()
[all …]
A Dcore_intr.c58 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr()
105 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_handle_otg_intr()
111 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_handle_otg_intr()
140 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr()
246 dwc2_writel(hsotg, gotgint, GOTGINT); in dwc2_handle_otg_intr()
329 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_session_req_intr()
361 dwc2_writel(hsotg, pcgctl, PCGCTL); in dwc2_wakeup_from_lpm_l1()
378 dwc2_writel(hsotg, dctl, DCTL); in dwc2_wakeup_from_lpm_l1()
437 dwc2_writel(hsotg, dctl, DCTL); in dwc2_handle_wakeup_detected_intr()
735 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc_handle_gpwrdn_disc_det()
[all …]
A Dhcd.c66 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts()
98 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_gahbcfg_init()
131 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init()
162 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts()
163 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts()
171 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_host_interrupts()
186 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_disable_host_interrupts()
1768 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect()
1840 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop()
2148 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init()
[all …]
A Dgadget.c217 dwc2_writel(hsotg, daint, DAINTMSK); in dwc2_hsotg_ctrl_epint()
1029 dwc2_writel(hsotg, ctrl, depctl); in dwc2_gadget_start_isoc_ddma()
1613 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hsotg_set_test_mode()
1910 dwc2_writel(hsotg, ctrl, reg); in dwc2_hsotg_stall_ep0()
1963 dwc2_writel(hsotg, dcfg, DCFG); in dwc2_hsotg_process_control()
3452 dwc2_writel(hsotg, dcfg, DCFG); in dwc2_hsotg_core_init_disconnected()
3522 dwc2_writel(hsotg, 0, DAINTMSK); in dwc2_hsotg_core_init_disconnected()
4434 dwc2_writel(hs, epctl, epreg); in dwc2_hsotg_ep_sethalt()
4453 dwc2_writel(hs, epctl, epreg); in dwc2_hsotg_ep_sethalt()
4508 dwc2_writel(hsotg, 0, DAINTMSK); in dwc2_hsotg_init()
[all …]
A Ddrd.c34 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_init()
59 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_avalid()
81 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_ovr_bvalid()
211 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_drd_suspend()
213 dwc2_writel(hsotg, gintsts | GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_drd_suspend()
248 dwc2_writel(hsotg, gintsts | GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_drd_resume()
251 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_drd_resume()
A Dhcd_intr.c117 dwc2_writel(hsotg, GINTSTS_SOF, GINTSTS); in dwc2_sof_intr()
251 dwc2_writel(hsotg, hfir, HFIR); in dwc2_hprt0_enable()
268 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable()
285 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable()
296 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable()
304 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable()
311 dwc2_writel(hsotg, *hprt0_modify, HPRT0); in dwc2_hprt0_enable()
381 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_port_intr()
755 dwc2_writel(hsotg, haintmsk, HAINTMSK); in dwc2_release_channel()
804 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_halt_channel()
[all …]
A Dplatform.c561 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_driver_probe()
680 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend()
686 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_suspend()
761 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_resume()
771 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()
A Dhcd_ddma.c165 dwc2_writel(hsotg, hsotg->frame_list_dma, HFLBADDR); in dwc2_per_sched_enable()
170 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_enable()
191 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_disable()
A Dcore.h1242 static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) in dwc2_writel() function
1274 dwc2_writel(hsotg, *buf++, offset); in dwc2_writel_rep()
A Dhcd.h449 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
A Dhcd_queue.c1692 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_add()
1733 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_unlink()

Completed in 48 milliseconds