Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c127 #define ast_ep_read(ep_reg, reg) \ macro
150 ast_ep_write(ep_reg, ast_ep_read(ep_reg, AST_EP_CONFIG) | in udc_stall_ep()
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()
/openbmc/linux/drivers/usb/gadget/udc/
H A Daspeed_udc.c274 #define ast_ep_read(ep, reg) \ macro
423 EP_DBG(ep, "ep_config: 0x%x\n", ast_ep_read(ep, AST_UDC_EP_CONFIG)); in ast_udc_ep_enable()
578 ast_ep_read(ep, AST_UDC_EP_DMA_STS), in ast_udc_epn_kick_desc()
579 ast_ep_read(ep, AST_UDC_EP_DMA_CTRL)); in ast_udc_epn_kick_desc()
870 len = EP_DMA_GET_TX_SIZE(ast_ep_read(ep, AST_UDC_EP_DMA_STS)); in ast_udc_epn_handle()
915 ctrl = ast_ep_read(ep, AST_UDC_EP_DMA_CTRL); in ast_udc_epn_handle_desc()
922 ast_ep_read(ep, AST_UDC_EP_DMA_CTRL), in ast_udc_epn_handle_desc()
927 ctrl = ast_ep_read(ep, AST_UDC_EP_DMA_STS); in ast_udc_epn_handle_desc()
1143 ast_ep_read(ep, AST_UDC_EP_DMA_CTRL)); in ast_udc_isr()