Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/musb/
H A Dtusb6010.c191 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()
264 musb_writel(fifo, 0, val); in tusb_write_fifo()
286 musb_writel(ep_conf, TUSB_EP_RX_OFFSET, in tusb_read_fifo()
667 musb_writel(tbase, TUSB_PHY_OTG_CTRL, in tusb_musb_set_mode()
913 musb_writel(tbase, TUSB_INT_SRC_CLEAR, in tusb_musb_interrupt()
954 musb_writel(tbase, TUSB_INT_CTRL_CONF, in tusb_musb_enable()
962 musb_writel(tbase, TUSB_INT_SRC_SET, in tusb_musb_enable()
1018 musb_writel(tbase, TUSB_DMA_REQ_CONF, in tusb_setup_cpu_interface()
[all …]
H A 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()
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()
332 musb_writel(reg_base, wrp->epintr_status, epintr); in dsps_interrupt()
476 musb_writel(musb->ctrl_base, wrp->phy_utmi, val); in dsps_musb_init()
530 musb_writel(ctrl_base, wrp->mode, reg); in dsps_musb_set_mode()
531 musb_writel(ctrl_base, wrp->phy_utmi, 0x02); in dsps_musb_set_mode()
543 musb_writel(ctrl_base, wrp->mode, reg); in dsps_musb_set_mode()
546 musb_writel(ctrl_base, wrp->phy_utmi, 0x02); in dsps_musb_set_mode()
[all …]
H A 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 …]
H A 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()
385 musb_writel(reg_base, DA8XX_USB_CTRL_REG, DA8XX_SOFT_RESET_MASK); in da8xx_musb_init()
452 musb_writel(reg_base, DA8XX_USB_END_OF_INTR_REG, 0); in da8xx_dma_controller_callback()
H A 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()
H A 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()
H A Dmusb_io.h47 extern void musb_writel(void __iomem *addr, u32 offset, u32 data);
H A Dmusbhsdma.c23 musb_writel(mbase, \
32 musb_writel(mbase, \
H A 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()
H A Dmusb_trace.h147 DEFINE_EVENT(musb_regl, musb_writel,
H A Dmusb_core.c427 void musb_writel(void __iomem *addr, u32 offset, u32 data) in musb_writel() function
432 EXPORT_SYMBOL_GPL(musb_writel);
/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c101 musb_writel(reg_base, EP_INTR_MASK_SET_REG, epmask); in am35x_musb_enable()
102 musb_writel(reg_base, CORE_INTR_MASK_SET_REG, AM35X_INTR_USB_MASK); in am35x_musb_enable()
106 musb_writel(reg_base, CORE_INTR_SRC_SET_REG, in am35x_musb_enable()
120 musb_writel(reg_base, CORE_INTR_MASK_CLEAR_REG, AM35X_INTR_USB_MASK); in am35x_musb_disable()
121 musb_writel(reg_base, EP_INTR_MASK_CLEAR_REG, in am35x_musb_disable()
124 musb_writel(reg_base, USB_END_OF_INTR_REG, 0); in am35x_musb_disable()
171 musb_writel(musb->ctrl_base, CORE_INTR_SRC_SET_REG, in otg_timer()
254 musb_writel(reg_base, EP_INTR_SRC_CLEAR_REG, epintr); in am35x_musb_interrupt()
268 musb_writel(reg_base, CORE_INTR_SRC_CLEAR_REG, usbintr); in am35x_musb_interrupt()
340 musb_writel(reg_base, USB_END_OF_INTR_REG, 0); in am35x_musb_interrupt()
[all …]
H A Domap2430.c32 musb_writel(musb->mregs, OTG_FORCESTDBY, l); in omap2430_low_level_exit()
41 musb_writel(musb->mregs, OTG_FORCESTDBY, l); in omap2430_low_level_init()
55 musb_writel(musb->mregs, OTG_SYSCONFIG, SOFTRST); in omap2430_musb_init()
80 musb_writel(musb->mregs, OTG_INTERFSEL, l); in omap2430_musb_init()
H A Dsunxi.c115 musb_writel(base, USBC_REG_o_ISCR, reg_val); in USBC_EnableIdPullUp()
125 musb_writel(base, USBC_REG_o_ISCR, reg_val); in USBC_EnableDpDmPullUp()
136 musb_writel(base, USBC_REG_o_ISCR, reg_val); in USBC_ForceIdToLow()
147 musb_writel(base, USBC_REG_o_ISCR, reg_val); in USBC_ForceIdToHigh()
158 musb_writel(base, USBC_REG_o_ISCR, reg_val); in USBC_ForceVbusValidToLow()
169 musb_writel(base, USBC_REG_o_ISCR, reg_val); in USBC_ForceVbusValidToHigh()
H A Dmusb_io.h55 static inline void musb_writel(void __iomem *addr, unsigned offset, u32 data) in musb_writel() function