/Linux-v4.19/drivers/usb/dwc2/ |
D | core.c | 76 gr->gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_backup_global_registers() 77 gr->gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_backup_global_registers() 78 gr->gahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_backup_global_registers() 79 gr->gusbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_backup_global_registers() 80 gr->grxfsiz = dwc2_readl(hsotg, GRXFSIZ); in dwc2_backup_global_registers() 81 gr->gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_backup_global_registers() 82 gr->gdfifocfg = dwc2_readl(hsotg, GDFIFOCFG); in dwc2_backup_global_registers() 83 gr->pcgcctl1 = dwc2_readl(hsotg, PCGCCTL1); in dwc2_backup_global_registers() 84 gr->glpmcfg = dwc2_readl(hsotg, GLPMCFG); in dwc2_backup_global_registers() 85 gr->gi2cctl = dwc2_readl(hsotg, GI2CCTL); in dwc2_backup_global_registers() [all …]
|
D | core_intr.c | 84 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_handle_usb_port_intr() 118 gotgint = dwc2_readl(hsotg, GOTGINT); in dwc2_handle_otg_intr() 119 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 127 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 153 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 161 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 168 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 180 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() 200 gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_handle_otg_intr() 216 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_handle_otg_intr() [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() 132 u32 gsintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_hsotg_en_gsint() 150 u32 gsintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_hsotg_disable_gsint() 181 daint = dwc2_readl(hsotg, DAINTMSK); in dwc2_hsotg_ctrl_epint() 300 val = dwc2_readl(hsotg, DPTXFSIZN(ep)); in dwc2_hsotg_init_fifo() 317 val = dwc2_readl(hsotg, GRSTCTL); in dwc2_hsotg_init_fifo() 455 u32 gnptxsts = dwc2_readl(hsotg, GNPTXSTS); in dwc2_hsotg_write_fifo() 470 u32 epsize = dwc2_readl(hsotg, DIEPTSIZ(hs_ep->index)); in dwc2_hsotg_write_fifo() 511 can_write = dwc2_readl(hsotg, in dwc2_hsotg_write_fifo() [all …]
|
D | debugfs.c | 72 dctl = dwc2_readl(hsotg, DCTL); in testmode_show() 132 dwc2_readl(hsotg, DCFG), in state_show() 133 dwc2_readl(hsotg, DCTL), in state_show() 134 dwc2_readl(hsotg, DSTS)); in state_show() 137 dwc2_readl(hsotg, DIEPMSK), dwc2_readl(hsotg, DOEPMSK)); in state_show() 140 dwc2_readl(hsotg, GINTMSK), in state_show() 141 dwc2_readl(hsotg, GINTSTS)); in state_show() 144 dwc2_readl(hsotg, DAINTMSK), in state_show() 145 dwc2_readl(hsotg, DAINT)); in state_show() 148 dwc2_readl(hsotg, GNPTXSTS), in state_show() [all …]
|
D | hcd.c | 120 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_init_fs_ls_pclk_sel() 138 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 154 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_fs_phy_init() 179 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_fs_phy_init() 184 i2cctl = dwc2_readl(hsotg, GI2CCTL); in dwc2_fs_phy_init() 204 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hs_phy_init() 276 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_phy_init() 281 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_phy_init() 292 u32 ahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_gahbcfg_init() 328 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_gusbcfg_init() [all …]
|
D | hcd_intr.c | 194 grxsts = dwc2_readl(hsotg, GRXSTSP); in dwc2_rx_fifo_level_intr() 277 hfir = dwc2_readl(hsotg, HFIR); in dwc2_hprt0_enable() 290 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_hprt0_enable() 302 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_hprt0_enable() 362 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_port_intr() 409 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_port_intr() 444 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_get_actual_xfer_length() 521 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_update_urb_state() 544 u32 hctsiz = dwc2_readl(hsotg, HCTSIZ(chnum)); in dwc2_hcd_save_data_toggle() 783 haintmsk = dwc2_readl(hsotg, HAINTMSK); in dwc2_release_channel() [all …]
|
D | params.c | 653 gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_get_host_hwparams() 654 hptxfsiz = dwc2_readl(hsotg, HPTXFSIZ); in dwc2_get_host_hwparams() 678 gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_get_dev_hwparams() 684 (dwc2_readl(hsotg, DPTXFSIZN(fifo)) & in dwc2_get_dev_hwparams() 712 hw->snpsid = dwc2_readl(hsotg, GSNPSID); in dwc2_get_hwparams() 725 hwcfg1 = dwc2_readl(hsotg, GHWCFG1); in dwc2_get_hwparams() 726 hwcfg2 = dwc2_readl(hsotg, GHWCFG2); in dwc2_get_hwparams() 727 hwcfg3 = dwc2_readl(hsotg, GHWCFG3); in dwc2_get_hwparams() 728 hwcfg4 = dwc2_readl(hsotg, GHWCFG4); in dwc2_get_hwparams() 729 grxfsiz = dwc2_readl(hsotg, GRXFSIZ); in dwc2_get_hwparams()
|
D | hcd.h | 472 u32 mask = dwc2_readl(hsotg, HCINTMSK(chnum)); in disable_hc_int() 490 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0() 693 return dwc2_readl(hsotg, GINTSTS) & in dwc2_read_core_intr() 694 dwc2_readl(hsotg, GINTMSK); in dwc2_read_core_intr()
|
D | core.h | 1167 static inline u32 dwc2_readl(struct dwc2_hsotg *hsotg, u32 offset) in dwc2_readl() function 1197 u32 x = dwc2_readl(hsotg, offset); in dwc2_readl_rep() 1320 return (dwc2_readl(hsotg, GINTSTS) & GINTSTS_CURMODE_HOST) != 0; in dwc2_is_host_mode() 1325 return (dwc2_readl(hsotg, GINTSTS) & GINTSTS_CURMODE_HOST) == 0; in dwc2_is_device_mode()
|
D | hcd_queue.c | 1513 u32 hprt = dwc2_readl(hsotg, HPRT0); in dwc2_qh_init() 1750 intr_mask = dwc2_readl(hsotg, GINTMSK); in dwc2_hcd_qh_add() 1791 intr_mask = dwc2_readl(hsotg, GINTMSK); in dwc2_hcd_qh_unlink()
|
D | hcd_ddma.c | 188 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_per_sched_enable() 212 hcfg = dwc2_readl(hsotg, HCFG); in dwc2_per_sched_disable()
|