Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/usb/musb/
Dtusb6010.c50 rev = musb_readl(tbase, TUSB_DMA_CTRL_REV) & 0xff; in tusb_get_revision()
52 die_id = TUSB_DIDR1_HI_CHIP_REV(musb_readl(tbase, in tusb_get_revision()
70 TUSB_REV_MAJOR(musb_readl(tbase, TUSB_PRCM_REV)), in tusb_print_revision()
71 TUSB_REV_MINOR(musb_readl(tbase, TUSB_PRCM_REV)), in tusb_print_revision()
73 TUSB_REV_MAJOR(musb_readl(tbase, TUSB_INT_CTRL_REV)), in tusb_print_revision()
74 TUSB_REV_MINOR(musb_readl(tbase, TUSB_INT_CTRL_REV)), in tusb_print_revision()
76 TUSB_REV_MAJOR(musb_readl(tbase, TUSB_GPIO_REV)), in tusb_print_revision()
77 TUSB_REV_MINOR(musb_readl(tbase, TUSB_GPIO_REV)), in tusb_print_revision()
79 TUSB_REV_MAJOR(musb_readl(tbase, TUSB_DMA_CTRL_REV)), in tusb_print_revision()
80 TUSB_REV_MINOR(musb_readl(tbase, TUSB_DMA_CTRL_REV)), in tusb_print_revision()
[all …]
Dcppi_dma.c364 musb_readl(c->controller->tibase, in cppi_dump_rx()
368 musb_readl(&rx->rx_skipbytes, 0), in cppi_dump_rx()
369 musb_readl(&rx->rx_head, 0), in cppi_dump_rx()
370 musb_readl(&rx->rx_sop, 0), in cppi_dump_rx()
371 musb_readl(&rx->rx_current, 0), in cppi_dump_rx()
373 musb_readl(&rx->rx_buf_current, 0), in cppi_dump_rx()
374 musb_readl(&rx->rx_len_len, 0), in cppi_dump_rx()
375 musb_readl(&rx->rx_cnt_cnt, 0), in cppi_dump_rx()
376 musb_readl(&rx->rx_complete, 0) in cppi_dump_rx()
396 musb_readl(&tx->tx_head, 0), in cppi_dump_tx()
[all …]
Dmusb_dsps.c328 epintr = musb_readl(reg_base, wrp->epintr_status); in dsps_interrupt()
336 usbintr = musb_readl(reg_base, wrp->coreintr_status); in dsps_interrupt()
348 int drvvbus = musb_readl(reg_base, wrp->status); in dsps_interrupt()
450 rev = musb_readl(reg_base, wrp->revision); in dsps_musb_init()
475 val = musb_readl(reg_base, wrp->phy_utmi); in dsps_musb_init()
518 reg = musb_readl(ctrl_base, wrp->mode); in dsps_musb_set_mode()
635 u32 val = musb_readl(fifo, 0); in dsps_read_fifo32()
648 status = musb_readl(usbss_base, USBSS_IRQ_STATUS); in dsps_dma_controller_callback()
989 glue->context.control = musb_readl(mbase, wrp->control); in dsps_suspend()
990 glue->context.epintr = musb_readl(mbase, wrp->epintr_set); in dsps_suspend()
[all …]
Domap2430.c49 l = musb_readl(musb->mregs, OTG_FORCESTDBY); in omap2430_low_level_exit()
58 l = musb_readl(musb->mregs, OTG_FORCESTDBY); in omap2430_low_level_init()
228 l = musb_readl(musb->mregs, OTG_INTERFSEL); in omap2430_musb_init()
242 musb_readl(musb->mregs, OTG_REVISION), in omap2430_musb_init()
243 musb_readl(musb->mregs, OTG_SYSCONFIG), in omap2430_musb_init()
244 musb_readl(musb->mregs, OTG_SYSSTATUS), in omap2430_musb_init()
245 musb_readl(musb->mregs, OTG_INTERFSEL), in omap2430_musb_init()
246 musb_readl(musb->mregs, OTG_SIMENABLE)); in omap2430_musb_init()
457 musb->context.otg_interfsel = musb_readl(musb->mregs, in omap2430_runtime_suspend()
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()
Dam35x.c211 epintr = musb_readl(reg_base, EP_INTR_SRC_MASKED_REG); in am35x_musb_interrupt()
223 usbintr = musb_readl(reg_base, CORE_INTR_SRC_MASKED_REG); in am35x_musb_interrupt()
242 int drvvbus = musb_readl(reg_base, USB_STAT_REG); in am35x_musb_interrupt()
339 rev = musb_readl(reg_base, USB_REVISION_REG); in am35x_musb_init()
407 *(u32 *) dst = musb_readl(fifo, 0); in am35x_read_fifo()
413 val = musb_readl(fifo, 0); in am35x_read_fifo()
Dmusb_io.h46 extern u32 musb_readl(void __iomem *addr, u32 offset);
Ddavinci.c272 tmp = musb_readl(tibase, DAVINCI_USB_INT_SRC_MASKED_REG); in davinci_musb_interrupt()
291 int drvvbus = musb_readl(tibase, DAVINCI_USB_STAT_REG); in davinci_musb_interrupt()
372 revision = musb_readl(tibase, DAVINCI_USB_VERSION_REG); in davinci_musb_init()
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()
Dmusbhsdma.c19 musb_readl(mbase, \
28 musb_readl(mbase, \
Dmediatek.c231 l1_ints = musb_readl(musb->mregs, USB_L1INTS) & in mtk_musb_interrupt()
232 musb_readl(musb->mregs, USB_L1INTM); in mtk_musb_interrupt()
Dmusb_debugfs.c104 musb_readl(musb->mregs, musb_regmap[i].offset)); in musb_regdump_show()
Dmusb_trace.h141 DEFINE_EVENT(musb_regl, musb_readl,
Dmusb_core.c418 u32 musb_readl(void __iomem *addr, u32 offset) in musb_readl() function
425 EXPORT_SYMBOL_GPL(musb_readl);