Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c99 #define AST_EP_DMA_STS 0x0C macro
191 ast_ep_write(ep_reg, AST_EP_TX_DATA_BYTE(length), AST_EP_DMA_STS); in udc_endpoint_write()
193 AST_EP_DMA_STS); in udc_endpoint_write()
198 while (ast_ep_read(ep_reg, AST_EP_DMA_STS) & 0x1) { in udc_endpoint_write()
221 nbytes = (ast_ep_read(ep_reg, AST_EP_DMA_STS) >> 16) & 0x7ff; in aspeed_udc_ep_handle()
225 ast_ep_write(ep_reg, AST_EP_START_TRANS, AST_EP_DMA_STS); in aspeed_udc_ep_handle()
638 ast_ep_write(ep_reg, 0, AST_EP_DMA_STS); in udc_setup_ep()
644 ast_ep_write(ep_reg, AST_EP_START_TRANS, AST_EP_DMA_STS); in udc_setup_ep()
H A Daspeed_udc.c102 #define AST_EP_DMA_STS 0x0C macro
531 ep->ep_base + AST_EP_DMA_STS); in aspeed_udc_ep_dma_desc_mode()
553 writel(AST_EP_TX_DATA_BYTE(tx_len), ep->ep_base + AST_EP_DMA_STS); in aspeed_udc_ep_dma()
555 ep->ep_base + AST_EP_DMA_STS); in aspeed_udc_ep_dma()
631 writel(0, ep->ep_base + AST_EP_DMA_STS); in aspeed_udc_ep_enable()
819 rd_ptr = (readl(ep->ep_base + AST_EP_DMA_STS) >> 8) & 0xFF; in aspeed_udc_ep_handle_desc_mode()
820 wr_ptr = (readl(ep->ep_base + AST_EP_DMA_STS)) & 0xFF; in aspeed_udc_ep_handle_desc_mode()
902 len = (readl(ep->ep_base + AST_EP_DMA_STS) >> 16) & 0x7ff; in aspeed_udc_ep_handle()