Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/musb/
Dtusb6010.c110 musb_writel(tbase, TUSB_PHY_OTG_CTRL, tmp); in tusb_wbus_quirk()
113 musb_writel(tbase, TUSB_PHY_OTG_CTRL_ENABLE, tmp); in tusb_wbus_quirk()
120 musb_writel(tbase, TUSB_PHY_OTG_CTRL, tmp); in tusb_wbus_quirk()
122 musb_writel(tbase, TUSB_PHY_OTG_CTRL_ENABLE, tmp); in tusb_wbus_quirk()
191 musb_writel(fifo, 0, val); in tusb_fifo_write_unaligned()
200 musb_writel(fifo, 0, val); in tusb_fifo_write_unaligned()
238 musb_writel(ep_conf, TUSB_EP_TX_OFFSET, in tusb_write_fifo()
241 musb_writel(ep_conf, 0, TUSB_EP0_CONFIG_DIR_TX | in tusb_write_fifo()
264 musb_writel(fifo, 0, val); in tusb_write_fifo()
286 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_read_fifo()
[all …]
Dmusb_dsps.c180 musb_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
181 musb_writel(reg_base, wrp->coreintr_set, coremask); in dsps_musb_enable()
200 musb_writel(reg_base, wrp->coreintr_clear, wrp->usb_bitmap); in dsps_musb_disable()
201 musb_writel(reg_base, wrp->epintr_clear, in dsps_musb_disable()
268 musb_writel(musb->ctrl_base, wrp->coreintr_set, in dsps_check_status()
310 musb_writel(musb->ctrl_base, wrp->epintr_status, epintr); in dsps_musb_clear_ep_rxintr()
332 musb_writel(reg_base, wrp->epintr_status, epintr); in dsps_interrupt()
341 musb_writel(reg_base, wrp->coreintr_status, usbintr); in dsps_interrupt()
469 musb_writel(reg_base, wrp->control, (1 << wrp->reset)); in dsps_musb_init()
476 musb_writel(musb->ctrl_base, wrp->phy_utmi, val); in dsps_musb_init()
[all …]
Dda8xx.c94 musb_writel(reg_base, DA8XX_USB_INTR_MASK_SET_REG, mask); in da8xx_musb_enable()
97 musb_writel(reg_base, DA8XX_USB_INTR_SRC_SET_REG, in da8xx_musb_enable()
108 musb_writel(reg_base, DA8XX_USB_INTR_MASK_CLEAR_REG, in da8xx_musb_disable()
111 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_musb_disable()
165 musb_writel(musb->ctrl_base, DA8XX_USB_INTR_SRC_SET_REG, in otg_timer()
226 musb_writel(musb->ctrl_base, DA8XX_USB_CTRL_REG, DA8XX_SOFT_RESET_MASK); in da8xx_babble_recover()
250 musb_writel(reg_base, DA8XX_USB_INTR_SRC_CLEAR_REG, status); in da8xx_musb_interrupt()
322 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_musb_interrupt()
386 musb_writel(reg_base, DA8XX_USB_CTRL_REG, DA8XX_SOFT_RESET_MASK); in da8xx_musb_init()
453 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_dma_controller_callback()
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 …]
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.c52 musb_writel(musb->mregs, OTG_FORCESTDBY, l); in omap2430_low_level_exit()
61 musb_writel(musb->mregs, OTG_FORCESTDBY, l); in omap2430_low_level_init()
239 musb_writel(musb->mregs, OTG_INTERFSEL, l); in omap2430_musb_init()
521 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.c288 musb_writel(musb->mregs, MUSB_HSDMA_INTR, in mtk_musb_init()
291 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);