Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/usb/musb/
Dtusb6010_omap.c61 static inline int tusb_omap_use_shared_dmareq(struct tusb_omap_dma_ch *chdat) in tusb_omap_use_shared_dmareq() argument
63 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_use_shared_dmareq()
66 dev_dbg(chdat->musb->controller, "ep%i dmareq0 is busy for ep%i\n", in tusb_omap_use_shared_dmareq()
67 chdat->epnum, reg & 0xf); in tusb_omap_use_shared_dmareq()
71 if (chdat->tx) in tusb_omap_use_shared_dmareq()
72 reg = (1 << 4) | chdat->epnum; in tusb_omap_use_shared_dmareq()
74 reg = chdat->epnum; in tusb_omap_use_shared_dmareq()
76 musb_writel(chdat->tbase, TUSB_DMA_EP_MAP, reg); in tusb_omap_use_shared_dmareq()
81 static inline void tusb_omap_free_shared_dmareq(struct tusb_omap_dma_ch *chdat) in tusb_omap_free_shared_dmareq() argument
83 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_free_shared_dmareq()
[all …]