Home
last modified time | relevance | path

Searched refs:musb_readl (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/usb/musb/
H A Dtusb6010.c115 musb_readl(tbase, TUSB_PHY_OTG_CTRL), in tusb_wbus_quirk()
124 musb_readl(tbase, TUSB_PHY_OTG_CTRL), in tusb_wbus_quirk()
212 val = musb_readl(fifo, 0); in tusb_fifo_read_unaligned()
220 val = musb_readl(fifo, 0); in tusb_fifo_read_unaligned()
307 val = musb_readl(fifo, 0); in tusb_read_fifo()
349 reg = musb_readl(tbase, TUSB_PRCM_MNGMT); in tusb_draw_power()
372 reg = musb_readl(tbase, TUSB_PRCM_CONF); in tusb_set_clock_source()
413 reg = musb_readl(tbase, TUSB_PRCM_MNGMT); in tusb_allow_idle()
568 prcm = musb_readl(tbase, TUSB_PRCM_MNGMT); in tusb_musb_set_vbus()
569 conf = musb_readl(tbase, TUSB_DEV_CONF); in tusb_musb_set_vbus()
[all …]
H A Dmusb_dsps.c327 epintr = musb_readl(reg_base, wrp->epintr_status); in dsps_interrupt()
335 usbintr = musb_readl(reg_base, wrp->coreintr_status); in dsps_interrupt()
347 int drvvbus = musb_readl(reg_base, wrp->status); in dsps_interrupt()
449 rev = musb_readl(reg_base, wrp->revision); in dsps_musb_init()
474 val = musb_readl(reg_base, wrp->phy_utmi); in dsps_musb_init()
517 reg = musb_readl(ctrl_base, wrp->mode); in dsps_musb_set_mode()
634 u32 val = musb_readl(fifo, 0); in dsps_read_fifo32()
647 status = musb_readl(usbss_base, USBSS_IRQ_STATUS); in dsps_dma_controller_callback()
988 glue->context.control = musb_readl(mbase, wrp->control); in dsps_suspend()
992 glue->context.mode = musb_readl(mbase, wrp->mode); in dsps_suspend()
[all …]
H A Domap2430.c50 l = musb_readl(musb->mregs, OTG_FORCESTDBY); in omap2430_low_level_exit()
59 l = musb_readl(musb->mregs, OTG_FORCESTDBY); in omap2430_low_level_init()
229 l = musb_readl(musb->mregs, OTG_INTERFSEL); in omap2430_musb_init()
243 musb_readl(musb->mregs, OTG_REVISION), in omap2430_musb_init()
244 musb_readl(musb->mregs, OTG_SYSCONFIG), in omap2430_musb_init()
245 musb_readl(musb->mregs, OTG_SYSSTATUS), in omap2430_musb_init()
246 musb_readl(musb->mregs, OTG_INTERFSEL), in omap2430_musb_init()
247 musb_readl(musb->mregs, OTG_SIMENABLE)); in omap2430_musb_init()
492 musb->context.otg_interfsel = musb_readl(musb->mregs, in omap2430_runtime_suspend()
H A Dtusb6010_omap.c63 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_use_shared_dmareq()
83 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_free_shared_dmareq()
115 remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); in tusb_omap_dma_cb()
117 remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); in tusb_omap_dma_cb()
220 dma_remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); in tusb_omap_dma_program()
222 dma_remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); in tusb_omap_dma_program()
346 psize = musb_readl(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET); in tusb_omap_dma_program()
355 psize = musb_readl(ep_conf, TUSB_EP_MAX_PACKET_SIZE_OFFSET); in tusb_omap_dma_program()
381 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_dma_allocate_dmareq()
412 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_dma_free_dmareq()
H A Dmusb_io.h46 extern u32 musb_readl(void __iomem *addr, u32 offset);
H A Dda8xx.c238 status = musb_readl(reg_base, DA8XX_USB_INTR_SRC_MASKED_REG); in da8xx_musb_interrupt()
258 int drvvbus = musb_readl(reg_base, DA8XX_USB_STAT_REG); in da8xx_musb_interrupt()
370 rev = musb_readl(reg_base, DA8XX_USB_REVISION_REG); in da8xx_musb_init()
H A Dmusbhsdma.c19 musb_readl(mbase, \
28 musb_readl(mbase, \
H A Dmediatek.c180 l1_ints = musb_readl(musb->mregs, USB_L1INTS) & in mtk_musb_interrupt()
181 musb_readl(musb->mregs, USB_L1INTM); in mtk_musb_interrupt()
H A Dmusb_debugfs.c104 musb_readl(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
H A Dmusb_trace.h141 DEFINE_EVENT(musb_regl, musb_readl,
H A Dmusb_core.c418 u32 musb_readl(void __iomem *addr, u32 offset) in musb_readl() function
425 EXPORT_SYMBOL_GPL(musb_readl);
/openbmc/u-boot/drivers/usb/musb-new/
H A Domap2430.c30 l = musb_readl(musb->mregs, OTG_FORCESTDBY); in omap2430_low_level_exit()
39 l = musb_readl(musb->mregs, OTG_FORCESTDBY); in omap2430_low_level_init()
60 l = musb_readl(musb->mregs, OTG_SYSCONFIG); in omap2430_musb_init()
70 l = musb_readl(musb->mregs, OTG_INTERFSEL); in omap2430_musb_init()
84 musb_readl(musb->mregs, OTG_REVISION), in omap2430_musb_init()
85 musb_readl(musb->mregs, OTG_SYSCONFIG), in omap2430_musb_init()
86 musb_readl(musb->mregs, OTG_SYSSTATUS), in omap2430_musb_init()
87 musb_readl(musb->mregs, OTG_INTERFSEL), in omap2430_musb_init()
88 musb_readl(musb->mregs, OTG_SIMENABLE)); in omap2430_musb_init()
H A Dsunxi.c112 reg_val = musb_readl(base, USBC_REG_o_ISCR); in USBC_EnableIdPullUp()
122 reg_val = musb_readl(base, USBC_REG_o_ISCR); in USBC_EnableDpDmPullUp()
132 reg_val = musb_readl(base, USBC_REG_o_ISCR); in USBC_ForceIdToLow()
143 reg_val = musb_readl(base, USBC_REG_o_ISCR); in USBC_ForceIdToHigh()
154 reg_val = musb_readl(base, USBC_REG_o_ISCR); in USBC_ForceVbusValidToLow()
165 reg_val = musb_readl(base, USBC_REG_o_ISCR); in USBC_ForceVbusValidToHigh()
H A Dam35x.c251 epintr = musb_readl(reg_base, EP_INTR_SRC_MASKED_REG); in am35x_musb_interrupt()
263 usbintr = musb_readl(reg_base, CORE_INTR_SRC_MASKED_REG); in am35x_musb_interrupt()
283 int drvvbus = musb_readl(reg_base, USB_STAT_REG); in am35x_musb_interrupt()
387 rev = musb_readl(reg_base, USB_REVISION_REG); in am35x_musb_init()
470 *(u32 *) dst = musb_readl(fifo, 0); in musb_read_fifo()
476 val = musb_readl(fifo, 0); in musb_read_fifo()
H A Dmusb_io.h48 static inline u32 musb_readl(const void __iomem *addr, unsigned offset) in musb_readl() function
H A Dpic32.c167 val = musb_readl(fifo, 0); in musb_read_fifo()