Home
last modified time | relevance | path

Searched refs:musb_writel (Results 1 – 14 of 14) sorted by relevance

/linux-5.19.10/drivers/usb/musb/
Dtusb6010.c105 musb_writel(tbase, TUSB_PHY_OTG_CTRL, tmp); in tusb_wbus_quirk()
108 musb_writel(tbase, TUSB_PHY_OTG_CTRL_ENABLE, tmp); in tusb_wbus_quirk()
115 musb_writel(tbase, TUSB_PHY_OTG_CTRL, tmp); in tusb_wbus_quirk()
117 musb_writel(tbase, TUSB_PHY_OTG_CTRL_ENABLE, tmp); in tusb_wbus_quirk()
186 musb_writel(fifo, 0, val); in tusb_fifo_write_unaligned()
195 musb_writel(fifo, 0, val); in tusb_fifo_write_unaligned()
233 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_write_fifo()
236 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_DIR_TX | in tusb_write_fifo()
259 musb_writel(fifo, 0, val); in tusb_write_fifo()
281 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_read_fifo()
[all …]
Dcppi_dma.c88 musb_writel(&rx->rx_skipbytes, 0, 0); in cppi_reset_rx()
89 musb_writel(&rx->rx_head, 0, 0); in cppi_reset_rx()
90 musb_writel(&rx->rx_sop, 0, 0); in cppi_reset_rx()
91 musb_writel(&rx->rx_current, 0, 0); in cppi_reset_rx()
92 musb_writel(&rx->rx_buf_current, 0, 0); in cppi_reset_rx()
93 musb_writel(&rx->rx_len_len, 0, 0); in cppi_reset_rx()
94 musb_writel(&rx->rx_cnt_cnt, 0, 0); in cppi_reset_rx()
100 musb_writel(&tx->tx_head, 0, 0); in cppi_reset_tx()
101 musb_writel(&tx->tx_buf, 0, 0); in cppi_reset_tx()
102 musb_writel(&tx->tx_current, 0, 0); in cppi_reset_tx()
[all …]
Dmusb_dsps.c182 musb_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
183 musb_writel(reg_base, wrp->coreintr_set, coremask); in dsps_musb_enable()
202 musb_writel(reg_base, wrp->coreintr_clear, wrp->usb_bitmap); in dsps_musb_disable()
203 musb_writel(reg_base, wrp->epintr_clear, in dsps_musb_disable()
270 musb_writel(musb->ctrl_base, wrp->coreintr_set, in dsps_check_status()
312 musb_writel(musb->ctrl_base, wrp->epintr_status, epintr); in dsps_musb_clear_ep_rxintr()
334 musb_writel(reg_base, wrp->epintr_status, epintr); in dsps_interrupt()
343 musb_writel(reg_base, wrp->coreintr_status, usbintr); in dsps_interrupt()
471 musb_writel(reg_base, wrp->control, (1 << wrp->reset)); in dsps_musb_init()
478 musb_writel(musb->ctrl_base, wrp->phy_utmi, val); in dsps_musb_init()
[all …]
Dam35x.c90 musb_writel(reg_base, EP_INTR_MASK_SET_REG, epmask); in am35x_musb_enable()
91 musb_writel(reg_base, CORE_INTR_MASK_SET_REG, AM35X_INTR_USB_MASK); in am35x_musb_enable()
94 musb_writel(reg_base, CORE_INTR_SRC_SET_REG, in am35x_musb_enable()
105 musb_writel(reg_base, CORE_INTR_MASK_CLEAR_REG, AM35X_INTR_USB_MASK); in am35x_musb_disable()
106 musb_writel(reg_base, EP_INTR_MASK_CLEAR_REG, in am35x_musb_disable()
108 musb_writel(reg_base, USB_END_OF_INTR_REG, 0); in am35x_musb_disable()
152 musb_writel(musb->ctrl_base, CORE_INTR_SRC_SET_REG, in otg_timer()
214 musb_writel(reg_base, EP_INTR_SRC_CLEAR_REG, epintr); in am35x_musb_interrupt()
228 musb_writel(reg_base, CORE_INTR_SRC_CLEAR_REG, usbintr); in am35x_musb_interrupt()
301 musb_writel(reg_base, USB_END_OF_INTR_REG, 0); in am35x_musb_interrupt()
[all …]
Ddavinci.c83 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); in davinci_musb_enable()
87 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); in davinci_musb_enable()
92 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_SET_REG, tmp); in davinci_musb_enable()
101 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_SET_REG, in davinci_musb_enable()
115 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_MASK_CLR_REG, in davinci_musb_disable()
119 musb_writel(musb->ctrl_base, DAVINCI_USB_EOI_REG, 0); in davinci_musb_disable()
213 musb_writel(musb->ctrl_base, DAVINCI_USB_INT_SET_REG, in otg_timer()
273 musb_writel(tibase, DAVINCI_USB_INT_SRC_CLR_REG, tmp); in davinci_musb_interrupt()
340 musb_writel(tibase, DAVINCI_USB_EOI_REG, 0); in davinci_musb_interrupt()
402 musb_writel(tibase, DAVINCI_USB_CTRL_REG, 0x1); in davinci_musb_init()
Dtusb6010_omap.c76 musb_writel(chdat->tbase, TUSB_DMA_EP_MAP, reg); in tusb_omap_use_shared_dmareq()
90 musb_writel(chdat->tbase, TUSB_DMA_EP_MAP, 0); in tusb_omap_free_shared_dmareq()
349 musb_writel(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET, psize); in tusb_omap_dma_program()
351 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_omap_dma_program()
358 musb_writel(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET, psize); in tusb_omap_dma_program()
360 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_omap_dma_program()
398 musb_writel(chdat->tbase, TUSB_DMA_EP_MAP, reg); in tusb_omap_dma_allocate_dmareq()
414 musb_writel(chdat->tbase, TUSB_DMA_EP_MAP, reg); in tusb_omap_dma_free_dmareq()
591 musb_writel(musb->ctrl_base, TUSB_DMA_INT_MASK, 0x7fffffff); in tusb_dma_controller_create()
592 musb_writel(musb->ctrl_base, TUSB_DMA_EP_MAP, 0); in tusb_dma_controller_create()
[all …]
Dda8xx.c93 musb_writel(reg_base, DA8XX_USB_INTR_MASK_SET_REG, mask); in da8xx_musb_enable()
96 musb_writel(reg_base, DA8XX_USB_INTR_SRC_SET_REG, in da8xx_musb_enable()
107 musb_writel(reg_base, DA8XX_USB_INTR_MASK_CLEAR_REG, in da8xx_musb_disable()
110 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_musb_disable()
164 musb_writel(musb->ctrl_base, DA8XX_USB_INTR_SRC_SET_REG, in otg_timer()
242 musb_writel(reg_base, DA8XX_USB_INTR_SRC_CLEAR_REG, status); in da8xx_musb_interrupt()
314 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_musb_interrupt()
383 musb_writel(reg_base, DA8XX_USB_CTRL_REG, DA8XX_SOFT_RESET_MASK); in da8xx_musb_init()
450 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_dma_controller_callback()
Dmusb_cppi41.c359 musb_writel(musb->ctrl_base, USB_CTRL_TX_MODE, new_mode); in cppi41_set_dma_mode()
362 musb_writel(musb->ctrl_base, USB_CTRL_RX_MODE, new_mode); in cppi41_set_dma_mode()
388 musb_writel(musb->ctrl_base, DA8XX_USB_MODE, new_mode); in da8xx_set_dma_mode()
407 musb_writel(controller->controller.musb->ctrl_base, in cppi41_set_autoreq_mode()
439 musb_writel(musb->ctrl_base, in cppi41_configure_channel()
449 musb_writel(musb->ctrl_base, in cppi41_configure_channel()
626 musb_writel(musb->ctrl_base, controller->tdown_reg, in cppi41_dma_channel_abort()
632 musb_writel(musb->ctrl_base, controller->tdown_reg, tdbit); in cppi41_dma_channel_abort()
Domap2430.c51 musb_writel(musb->mregs, OTG_FORCESTDBY, l); in omap2430_low_level_exit()
60 musb_writel(musb->mregs, OTG_FORCESTDBY, l); in omap2430_low_level_init()
238 musb_writel(musb->mregs, OTG_INTERFSEL, l); in omap2430_musb_init()
467 musb_writel(musb->mregs, OTG_INTERFSEL, in omap2430_runtime_resume()
Dmusb_io.h47 extern void musb_writel(void __iomem *addr, u32 offset, u32 data);
Dmusbhsdma.c23 musb_writel(mbase, \
32 musb_writel(mbase, \
Dmediatek.c287 musb_writel(musb->mregs, MUSB_HSDMA_INTR, in mtk_musb_init()
290 musb_writel(musb->mregs, USB_L1INTM, TX_INT_STATUS | RX_INT_STATUS | in mtk_musb_init()
Dmusb_trace.h147 DEFINE_EVENT(musb_regl, musb_writel,
Dmusb_core.c427 void musb_writel(void __iomem *addr, u32 offset, u32 data) in musb_writel() function
432 EXPORT_SYMBOL_GPL(musb_writel);