Searched refs:dwc2_writel (Results 1 – 9 of 9) sorted by relevance
/linux-4.4.14/drivers/usb/dwc2/ |
D | core_intr.c | 87 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_handle_usb_port_intr() 91 dwc2_writel(GINTSTS_PRTINT, hsotg->regs + GINTSTS); in dwc2_handle_usb_port_intr() 105 dwc2_writel(GINTSTS_MODEMIS, hsotg->regs + GINTSTS); in dwc2_handle_mode_mismatch_intr() 157 dwc2_writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr() 173 dwc2_writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr() 205 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_handle_otg_intr() 221 dwc2_writel(gotgctl, hsotg->regs + GOTGCTL); in dwc2_handle_otg_intr() 249 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_handle_otg_intr() 264 dwc2_writel(gotgint, hsotg->regs + GOTGINT); in dwc2_handle_otg_intr() 283 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_handle_conn_id_status_change_intr() [all …]
|
D | core.c | 111 dwc2_writel(hr->hcfg, hsotg->regs + HCFG); in dwc2_restore_host_registers() 112 dwc2_writel(hr->haintmsk, hsotg->regs + HAINTMSK); in dwc2_restore_host_registers() 115 dwc2_writel(hr->hcintmsk[i], hsotg->regs + HCINTMSK(i)); in dwc2_restore_host_registers() 117 dwc2_writel(hr->hprt0, hsotg->regs + HPRT0); in dwc2_restore_host_registers() 118 dwc2_writel(hr->hfir, hsotg->regs + HFIR); in dwc2_restore_host_registers() 209 dwc2_writel(dr->dcfg, hsotg->regs + DCFG); in dwc2_restore_device_registers() 210 dwc2_writel(dr->dctl, hsotg->regs + DCTL); in dwc2_restore_device_registers() 211 dwc2_writel(dr->daintmsk, hsotg->regs + DAINTMSK); in dwc2_restore_device_registers() 212 dwc2_writel(dr->diepmsk, hsotg->regs + DIEPMSK); in dwc2_restore_device_registers() 213 dwc2_writel(dr->doepmsk, hsotg->regs + DOEPMSK); in dwc2_restore_device_registers() [all …]
|
D | gadget.c | 55 dwc2_writel(dwc2_readl(ptr) | val, ptr); in __orr32() 60 dwc2_writel(dwc2_readl(ptr) & ~val, ptr); in __bic32() 113 dwc2_writel(new_gsintmsk, hsotg->regs + GINTMSK); in dwc2_hsotg_en_gsint() 130 dwc2_writel(new_gsintmsk, hsotg->regs + GINTMSK); in dwc2_hsotg_disable_gsint() 160 dwc2_writel(daint, hsotg->regs + DAINTMSK); in dwc2_hsotg_ctrl_epint() 180 dwc2_writel(hsotg->g_rx_fifo_sz, hsotg->regs + GRXFSIZ); in dwc2_hsotg_init_fifo() 181 dwc2_writel((hsotg->g_rx_fifo_sz << FIFOSIZE_STARTADDR_SHIFT) | in dwc2_hsotg_init_fifo() 209 dwc2_writel(val, hsotg->regs + DPTXFSIZN(ep)); in dwc2_hsotg_init_fifo() 217 dwc2_writel(GRSTCTL_TXFNUM(0x10) | GRSTCTL_TXFFLSH | in dwc2_hsotg_init_fifo() 617 dwc2_writel(epsize, hsotg->regs + epsize_reg); in dwc2_hsotg_start_req() [all …]
|
D | hcd.c | 210 dwc2_writel(hprt0, hsotg->regs + HPRT0); in dwc2_hcd_start() 235 dwc2_writel(hcchar, hsotg->regs + HCCHAR(i)); in dwc2_hcd_cleanup_channels() 248 dwc2_writel(hcchar, hsotg->regs + HCCHAR(i)); in dwc2_hcd_cleanup_channels() 292 dwc2_writel(intr, hsotg->regs + GINTMSK); in dwc2_hcd_disconnect() 294 dwc2_writel(intr, hsotg->regs + GINTSTS); in dwc2_hcd_disconnect() 304 dwc2_writel(0, hsotg->regs + HPRT0); in dwc2_hcd_disconnect() 358 dwc2_writel(0, hsotg->regs + HPRT0); in dwc2_hcd_stop() 1174 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_process_periodic_channels() 1185 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_process_periodic_channels() 1296 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_process_non_periodic_channels() [all …]
|
D | hcd_intr.c | 151 dwc2_writel(GINTSTS_SOF, hsotg->regs + GINTSTS); in dwc2_sof_intr() 254 dwc2_writel(hfir, hsotg->regs + HFIR); in dwc2_hprt0_enable() 271 dwc2_writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_hprt0_enable() 289 dwc2_writel(hcfg, hsotg->regs + HCFG); in dwc2_hprt0_enable() 300 dwc2_writel(hcfg, hsotg->regs + HCFG); in dwc2_hprt0_enable() 308 dwc2_writel(usbcfg, hsotg->regs + GUSBCFG); in dwc2_hprt0_enable() 391 dwc2_writel(hprt0_modify, hsotg->regs + HPRT0); in dwc2_port_intr() 776 dwc2_writel(haintmsk, hsotg->regs + HAINTMSK); in dwc2_release_channel() 825 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_halt_channel() 844 dwc2_writel(gintmsk, hsotg->regs + GINTMSK); in dwc2_halt_channel() [all …]
|
D | hcd_queue.c | 611 dwc2_writel(intr_mask, hsotg->regs + GINTMSK); in dwc2_hcd_qh_add() 648 dwc2_writel(intr_mask, hsotg->regs + GINTMSK); in dwc2_hcd_qh_unlink()
|
D | hcd_ddma.c | 179 dwc2_writel(hsotg->frame_list_dma, hsotg->regs + HFLBADDR); in dwc2_per_sched_enable() 184 dwc2_writel(hcfg, hsotg->regs + HCFG); in dwc2_per_sched_enable() 205 dwc2_writel(hcfg, hsotg->regs + HCFG); in dwc2_per_sched_disable()
|
D | core.h | 59 static inline void dwc2_writel(u32 value, void __iomem *addr) in dwc2_writel() function
|
D | hcd.h | 377 dwc2_writel(mask, hsotg->regs + HCINTMSK(chnum)); in disable_hc_int()
|