Searched refs:chdat (Results 1 – 1 of 1) sorted by relevance
88 static inline int tusb_omap_use_shared_dmareq(struct tusb_omap_dma_ch *chdat) in tusb_omap_use_shared_dmareq() argument90 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_use_shared_dmareq()93 dev_dbg(chdat->musb->controller, "ep%i dmareq0 is busy for ep%i\n", in tusb_omap_use_shared_dmareq()94 chdat->epnum, reg & 0xf); in tusb_omap_use_shared_dmareq()98 if (chdat->tx) in tusb_omap_use_shared_dmareq()99 reg = (1 << 4) | chdat->epnum; in tusb_omap_use_shared_dmareq()101 reg = chdat->epnum; in tusb_omap_use_shared_dmareq()103 musb_writel(chdat->tbase, TUSB_DMA_EP_MAP, reg); in tusb_omap_use_shared_dmareq()108 static inline void tusb_omap_free_shared_dmareq(struct tusb_omap_dma_ch *chdat) in tusb_omap_free_shared_dmareq() argument110 u32 reg = musb_readl(chdat->tbase, TUSB_DMA_EP_MAP); in tusb_omap_free_shared_dmareq()[all …]