/openbsd/sys/dev/usb/dwc2/ |
H A D | dwc2_core.c | 207 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs() 222 dwc2_writel(hsotg, hr->hcfg, HCFG); in dwc2_restore_essential_regs() 225 dwc2_writel(hsotg, pcgcctl, PCGCTL); in dwc2_restore_essential_regs() 232 dwc2_writel(hsotg, dr->dcfg, DCFG); in dwc2_restore_essential_regs() 259 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common() 265 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common() 271 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common() 277 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common() 286 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common() 292 dwc2_writel(hsotg, gpwrdn, GPWRDN); in dwc2_hib_restore_common() [all …]
|
H A D | dwc2_coreintr.c | 96 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr() 163 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 178 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 226 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 254 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 269 dwc2_writel(hsotg, gotgint, GOTGINT); in dwc2_handle_otg_intr() 292 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_conn_id_status_change_intr() 351 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_session_req_intr() 378 dwc2_writel(hsotg, glpmcfg, GLPMCFG); in dwc2_wakeup_from_lpm_l1() 438 dwc2_writel(hsotg, dctl, DCTL); in dwc2_handle_wakeup_detected_intr() [all …]
|
H A D | dwc2_hcd.c | 101 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts() 144 dwc2_writel(hsotg, ahbcfg, GAHBCFG); in dwc2_gahbcfg_init() 177 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_gusbcfg_init() 212 dwc2_writel(hsotg, 0, GINTMSK); in dwc2_enable_host_interrupts() 213 dwc2_writel(hsotg, 0, HAINTMSK); in dwc2_enable_host_interrupts() 1838 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_disconnect() 1914 dwc2_writel(hsotg, 0, HPRT0); in dwc2_hcd_stop() 2224 dwc2_writel(hsotg, 0, PCGCTL); in dwc2_core_host_init() 2232 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_core_host_init() 2243 dwc2_writel(hsotg, hfir, HFIR); in dwc2_core_host_init() [all …]
|
H A D | dwc2_hcdintr.c | 156 dwc2_writel(hsotg, GINTSTS_SOF, GINTSTS); in dwc2_sof_intr() 290 dwc2_writel(hsotg, hfir, HFIR); in dwc2_hprt0_enable() 309 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 326 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable() 337 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable() 345 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 352 dwc2_writel(hsotg, *hprt0_modify, HPRT0); in dwc2_hprt0_enable() 423 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_port_intr() 807 dwc2_writel(hsotg, haintmsk, HAINTMSK); in dwc2_release_channel() 856 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_halt_channel() [all …]
|
H A D | dwc2_core.h | 1271 #define dwc2_writel(hsotg, data, reg) \ macro 1300 dwc2_writel(hsotg, *buf++, offset);
|
H A D | dwc2_hcdddma.c | 207 dwc2_writel(hsotg, hsotg->frame_list_dma, HFLBADDR); in dwc2_per_sched_enable() 212 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_enable() 233 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_disable()
|
H A D | dwc2_hcd.h | 489 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
|
H A D | dwc2_hcdqueue.c | 1767 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_add() 1808 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_unlink()
|
H A D | dwc2.c | 1281 dwc2_writel(hsotg, intrs, GINTSTS); in dwc2_intr()
|