/drivers/usb/dwc2/ |
D | core.c | 84 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_restore_global_registers() 85 dwc2_writel(hsotg, gr->gotgctl, GOTGCTL); in dwc2_restore_global_registers() 86 dwc2_writel(hsotg, gr->gintmsk, GINTMSK); in dwc2_restore_global_registers() 87 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_restore_global_registers() 88 dwc2_writel(hsotg, gr->gahbcfg, GAHBCFG); in dwc2_restore_global_registers() 89 dwc2_writel(hsotg, gr->grxfsiz, GRXFSIZ); in dwc2_restore_global_registers() 90 dwc2_writel(hsotg, gr->gnptxfsiz, GNPTXFSIZ); in dwc2_restore_global_registers() 91 dwc2_writel(hsotg, gr->gdfifocfg, GDFIFOCFG); in dwc2_restore_global_registers() 92 dwc2_writel(hsotg, gr->pcgcctl1, PCGCCTL1); in dwc2_restore_global_registers() 93 dwc2_writel(hsotg, gr->glpmcfg, GLPMCFG); in dwc2_restore_global_registers() [all …]
|
D | core_intr.c | 58 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr() 70 dwc2_writel(hsotg, GINTSTS_MODEMIS, GINTSTS); in dwc2_handle_mode_mismatch_intr() 125 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 140 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 172 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 188 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 216 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 231 dwc2_writel(hsotg, gotgint, GOTGINT); in dwc2_handle_otg_intr() 249 dwc2_writel(hsotg, GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_handle_conn_id_status_change_intr() 254 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_conn_id_status_change_intr() [all …]
|
D | hcd.c | 47 dwc2_writel(hsotg, 0xffffffff, GOTGINT); in dwc2_enable_common_interrupts() 50 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_enable_common_interrupts() 66 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() 271 dwc2_writel(hsotg, grxfsiz, GRXFSIZ); in dwc2_config_fifos() [all …]
|
D | gadget.c | 53 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) | val, offset); in dwc2_set_bit() 58 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) & ~val, offset); in dwc2_clear_bit() 170 dwc2_writel(hsotg, new_gsintmsk, GINTMSK); in dwc2_hsotg_en_gsint() 187 dwc2_writel(hsotg, new_gsintmsk, GINTMSK); in dwc2_hsotg_disable_gsint() 217 dwc2_writel(hsotg, daint, DAINTMSK); in dwc2_hsotg_ctrl_epint() 322 dwc2_writel(hsotg, hsotg->params.g_rx_fifo_size, GRXFSIZ); in dwc2_hsotg_init_fifo() 323 dwc2_writel(hsotg, (hsotg->params.g_rx_fifo_size << in dwc2_hsotg_init_fifo() 352 dwc2_writel(hsotg, val, DPTXFSIZN(ep)); in dwc2_hsotg_init_fifo() 356 dwc2_writel(hsotg, hsotg->hw_params.total_fifo_size | in dwc2_hsotg_init_fifo() 364 dwc2_writel(hsotg, GRSTCTL_TXFNUM(0x10) | GRSTCTL_TXFFLSH | in dwc2_hsotg_init_fifo() [all …]
|
D | drd.c | 34 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() 202 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_drd_suspend() 204 dwc2_writel(hsotg, gintsts | GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_drd_suspend() 239 dwc2_writel(hsotg, gintsts | GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_drd_resume() 242 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_drd_resume()
|
D | hcd_intr.c | 117 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() 347 dwc2_writel(hsotg, hprt0_modify | HPRT0_CONNDET, HPRT0); in dwc2_port_intr() 365 dwc2_writel(hsotg, hprt0_modify | HPRT0_ENACHG, HPRT0); in dwc2_port_intr() 381 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_port_intr() [all …]
|
D | platform.c | 556 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_driver_probe() 675 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_suspend() 681 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_suspend() 718 dwc2_writel(dwc2, ggpio, GGPIO); in dwc2_resume() 728 dwc2_writel(dwc2, gotgctl, GOTGCTL); in dwc2_resume()
|
D | core.h | 1229 static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) in dwc2_writel() function 1261 dwc2_writel(hsotg, *buf++, offset); in dwc2_writel_rep()
|
D | hcd_ddma.c | 165 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()
|
D | hcd.h | 449 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
|
D | hcd_queue.c | 1729 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_add() 1770 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_unlink()
|