/kernel/linux/linux-5.10/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 | 54 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) | val, offset); in dwc2_set_bit() 59 dwc2_writel(hsotg, dwc2_readl(hsotg, offset) & ~val, offset); in dwc2_clear_bit() 164 u32 gsintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_hsotg_en_gsint() 182 u32 gsintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_hsotg_disable_gsint() 213 daint = dwc2_readl(hsotg, DAINTMSK); in dwc2_hsotg_ctrl_epint() 273 gintsts2 = dwc2_readl(hsotg, GINTSTS2); in dwc2_gadget_wkup_alert_handler() 274 gintmsk2 = dwc2_readl(hsotg, GINTMSK2); in dwc2_gadget_wkup_alert_handler() 354 val = dwc2_readl(hsotg, DPTXFSIZN(ep)); in dwc2_hsotg_init_fifo() 371 val = dwc2_readl(hsotg, GRSTCTL); in dwc2_hsotg_init_fifo() 509 u32 gnptxsts = dwc2_readl(hsotg, GNPTXSTS); 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 | drd.c | 23 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_ovr_init() 36 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_ovr_avalid() 55 u32 gotgctl = dwc2_readl(hsotg, GOTGCTL); in dwc2_ovr_bvalid() 175 gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_drd_suspend() 178 gintsts = dwc2_readl(hsotg, GINTSTS); in dwc2_drd_suspend() 188 gintsts = dwc2_readl(hsotg, GINTSTS); in dwc2_drd_resume() 190 gintmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_drd_resume()
|
D | hcd.c | 102 u32 ahbcfg = dwc2_readl(hsotg, GAHBCFG); in dwc2_gahbcfg_init() 138 usbcfg = dwc2_readl(hsotg, GUSBCFG); in dwc2_gusbcfg_init() 204 intmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_enable_host_interrupts() 216 u32 intmsk = dwc2_readl(hsotg, GINTMSK); in dwc2_disable_host_interrupts() 301 grxfsiz = dwc2_readl(hsotg, GRXFSIZ); in dwc2_config_fifos() 308 dwc2_readl(hsotg, GRXFSIZ)); in dwc2_config_fifos() 312 dwc2_readl(hsotg, GNPTXFSIZ)); in dwc2_config_fifos() 319 dwc2_readl(hsotg, GNPTXFSIZ)); in dwc2_config_fifos() 323 dwc2_readl(hsotg, HPTXFSIZ)); in dwc2_config_fifos() 331 dwc2_readl(hsotg, HPTXFSIZ)); in dwc2_config_fifos() [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 | 733 gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_get_host_hwparams() 734 hptxfsiz = dwc2_readl(hsotg, HPTXFSIZ); in dwc2_get_host_hwparams() 758 gnptxfsiz = dwc2_readl(hsotg, GNPTXFSIZ); in dwc2_get_dev_hwparams() 764 (dwc2_readl(hsotg, DPTXFSIZN(fifo)) & in dwc2_get_dev_hwparams() 786 hwcfg1 = dwc2_readl(hsotg, GHWCFG1); in dwc2_get_hwparams() 787 hwcfg2 = dwc2_readl(hsotg, GHWCFG2); in dwc2_get_hwparams() 788 hwcfg3 = dwc2_readl(hsotg, GHWCFG3); in dwc2_get_hwparams() 789 hwcfg4 = dwc2_readl(hsotg, GHWCFG4); in dwc2_get_hwparams() 790 grxfsiz = dwc2_readl(hsotg, GRXFSIZ); in dwc2_get_hwparams()
|
D | platform.c | 393 hw->snpsid = dwc2_readl(hsotg, GSNPSID); in dwc2_check_core_version() 541 ggpio = dwc2_readl(hsotg, GGPIO); in dwc2_driver_probe() 655 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_suspend() 667 ggpio = dwc2_readl(dwc2, GGPIO); in dwc2_suspend() 704 ggpio = dwc2_readl(dwc2, GGPIO); in dwc2_resume() 713 gotgctl = dwc2_readl(dwc2, GOTGCTL); in dwc2_resume()
|
D | hcd.h | 475 u32 mask = dwc2_readl(hsotg, HCINTMSK(chnum)); in disable_hc_int() 493 u32 hprt0 = dwc2_readl(hsotg, HPRT0); in dwc2_read_hprt0() 694 return dwc2_readl(hsotg, GINTSTS) & in dwc2_read_core_intr() 695 dwc2_readl(hsotg, GINTMSK); in dwc2_read_core_intr()
|
D | core.h | 1218 static inline u32 dwc2_readl(struct dwc2_hsotg *hsotg, u32 offset) in dwc2_readl() function 1248 u32 x = dwc2_readl(hsotg, offset); in dwc2_readl_rep() 1375 return (dwc2_readl(hsotg, GINTSTS) & GINTSTS_CURMODE_HOST) != 0; in dwc2_is_host_mode() 1380 return (dwc2_readl(hsotg, GINTSTS) & GINTSTS_CURMODE_HOST) == 0; in dwc2_is_device_mode()
|
D | hcd_queue.c | 1516 u32 hprt = dwc2_readl(hsotg, HPRT0); in dwc2_qh_init() 1757 intr_mask = dwc2_readl(hsotg, GINTMSK); in dwc2_hcd_qh_add() 1798 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()
|