/Linux-v4.19/drivers/usb/dwc2/ |
D | core.c | 114 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_restore_global_registers() 115 dwc2_writel(hsotg, gr->gotgctl, GOTGCTL); in dwc2_restore_global_registers() 116 dwc2_writel(hsotg, gr->gintmsk, GINTMSK); in dwc2_restore_global_registers() 117 dwc2_writel(hsotg, gr->gusbcfg, GUSBCFG); in dwc2_restore_global_registers() 118 dwc2_writel(hsotg, gr->gahbcfg, GAHBCFG); in dwc2_restore_global_registers() 119 dwc2_writel(hsotg, gr->grxfsiz, GRXFSIZ); in dwc2_restore_global_registers() 120 dwc2_writel(hsotg, gr->gnptxfsiz, GNPTXFSIZ); in dwc2_restore_global_registers() 121 dwc2_writel(hsotg, gr->gdfifocfg, GDFIFOCFG); in dwc2_restore_global_registers() 122 dwc2_writel(hsotg, gr->pcgcctl1, PCGCCTL1); in dwc2_restore_global_registers() 123 dwc2_writel(hsotg, gr->glpmcfg, GLPMCFG); in dwc2_restore_global_registers() [all …]
|
D | core_intr.c | 88 dwc2_writel(hsotg, hprt0, HPRT0); in dwc2_handle_usb_port_intr() 100 dwc2_writel(hsotg, GINTSTS_MODEMIS, GINTSTS); in dwc2_handle_mode_mismatch_intr() 155 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 170 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 202 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 218 dwc2_writel(hsotg, gotgctl, GOTGCTL); in dwc2_handle_otg_intr() 246 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_otg_intr() 261 dwc2_writel(hsotg, gotgint, GOTGINT); in dwc2_handle_otg_intr() 279 dwc2_writel(hsotg, GINTSTS_CONIDSTSCHNG, GINTSTS); in dwc2_handle_conn_id_status_change_intr() 284 dwc2_writel(hsotg, gintmsk, GINTMSK); in dwc2_handle_conn_id_status_change_intr() [all …]
|
D | hcd.c | 78 dwc2_writel(hsotg, 0xffffffff, GOTGINT); in dwc2_enable_common_interrupts() 81 dwc2_writel(hsotg, 0xffffffff, GINTSTS); in dwc2_enable_common_interrupts() 97 dwc2_writel(hsotg, intmsk, GINTMSK); in dwc2_enable_common_interrupts() 123 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_init_fs_ls_pclk_sel() 141 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 162 dwc2_writel(hsotg, ggpio, GGPIO); in dwc2_fs_phy_init() 181 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_fs_phy_init() 188 dwc2_writel(hsotg, i2cctl, GI2CCTL); in dwc2_fs_phy_init() 190 dwc2_writel(hsotg, i2cctl, GI2CCTL); in dwc2_fs_phy_init() 239 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hs_phy_init() [all …]
|
D | gadget.c | 52 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) | val, offset); in dwc2_set_bit() 57 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) & ~val, offset); in dwc2_clear_bit() 139 dwc2_writel(hsotg, new_gsintmsk, GINTMSK); in dwc2_hsotg_en_gsint() 156 dwc2_writel(hsotg, new_gsintmsk, GINTMSK); in dwc2_hsotg_disable_gsint() 186 dwc2_writel(hsotg, daint, DAINTMSK); in dwc2_hsotg_ctrl_epint() 269 dwc2_writel(hsotg, hsotg->params.g_rx_fifo_size, GRXFSIZ); in dwc2_hsotg_init_fifo() 270 dwc2_writel(hsotg, (hsotg->params.g_rx_fifo_size << in dwc2_hsotg_init_fifo() 299 dwc2_writel(hsotg, val, DPTXFSIZN(ep)); in dwc2_hsotg_init_fifo() 303 dwc2_writel(hsotg, hsotg->hw_params.total_fifo_size | in dwc2_hsotg_init_fifo() 311 dwc2_writel(hsotg, GRSTCTL_TXFNUM(0x10) | GRSTCTL_TXFFLSH | in dwc2_hsotg_init_fifo() [all …]
|
D | hcd_intr.c | 147 dwc2_writel(hsotg, GINTSTS_SOF, GINTSTS); in dwc2_sof_intr() 281 dwc2_writel(hsotg, hfir, HFIR); in dwc2_hprt0_enable() 298 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 315 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable() 326 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_hprt0_enable() 334 dwc2_writel(hsotg, usbcfg, GUSBCFG); in dwc2_hprt0_enable() 341 dwc2_writel(hsotg, *hprt0_modify, HPRT0); in dwc2_hprt0_enable() 377 dwc2_writel(hsotg, hprt0_modify | HPRT0_CONNDET, HPRT0); in dwc2_port_intr() 395 dwc2_writel(hsotg, hprt0_modify | HPRT0_ENACHG, HPRT0); in dwc2_port_intr() 411 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_port_intr() [all …]
|
D | core.h | 1178 static inline void dwc2_writel(struct dwc2_hsotg *hsotg, u32 value, u32 offset) in dwc2_writel() function 1210 dwc2_writel(hsotg, *buf++, offset); in dwc2_writel_rep()
|
D | hcd_ddma.c | 195 dwc2_writel(hsotg, hsotg->frame_list_dma, HFLBADDR); in dwc2_per_sched_enable() 200 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_enable() 221 dwc2_writel(hsotg, hcfg, HCFG); in dwc2_per_sched_disable()
|
D | hcd.h | 475 dwc2_writel(hsotg, mask, HCINTMSK(chnum)); in disable_hc_int()
|
D | hcd_queue.c | 1752 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_add() 1793 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_unlink()
|