Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/gadget/
H A Daspeed_usbtty.c44 #define AST_VHUB_EP0_CTRL 0x30 macro
155 ast_udc_write(ast_udc_read(AST_VHUB_EP0_CTRL) | EP0_STALL, in udc_stall_ep()
156 AST_VHUB_EP0_CTRL); in udc_stall_ep()
252 ast_udc_write(EP0_RX_BUFF_RDY, AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_rx()
257 u16 rx_len = EP0_GET_RX_LEN(ast_udc_read(AST_VHUB_EP0_CTRL)); in aspeed_udc_ep0_out()
267 ast_udc_write(EP0_TX_BUFF_RDY, AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_out()
313 ast_udc_write(EP0_TX_LEN(last), AST_VHUB_EP0_CTRL); in aspeed_udc_ep0_tx()
405 ast_udc_write(EP0_TX_BUFF_RDY, AST_VHUB_EP0_CTRL); in aspeed_udc_setup_handle()
412 ast_udc_write(EP0_TX_BUFF_RDY, AST_VHUB_EP0_CTRL); in aspeed_udc_setup_handle()
426 AST_VHUB_EP0_CTRL); in aspeed_udc_setup_handle()
[all …]
H A Daspeed_udc.c46 #define AST_VHUB_EP0_CTRL 0x30 macro
187 writel(EP0_TX_LEN(len), reg + AST_VHUB_EP0_CTRL); in ast_udc_ep0_data_tx()
189 reg + AST_VHUB_EP0_CTRL); in ast_udc_ep0_data_tx()
194 writel(EP0_TX_BUFF_RDY, reg + AST_VHUB_EP0_CTRL); in ast_udc_ep0_data_tx()
226 writel(readl(reg + AST_VHUB_EP0_CTRL) | EP0_STALL, in aspeed_udc_getstatus()
227 reg + AST_VHUB_EP0_CTRL); in aspeed_udc_getstatus()
281 writel(EP0_TX_BUFF_RDY, base + AST_VHUB_EP0_CTRL); in aspeed_udc_setup_handle()
286 writel(EP0_TX_BUFF_RDY, base + AST_VHUB_EP0_CTRL); in aspeed_udc_setup_handle()
335 reg = udc->udc_base + AST_VHUB_EP0_CTRL; in aspeed_udc_ep0_queue()
771 reg = udc->udc_base + AST_VHUB_EP0_CTRL; in aspeed_udc_ep_set_halt()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/aspeed-vhub/
H A Dvhub.h26 #define AST_VHUB_EP0_CTRL 0x30 /* Endpoint 0 Contrl/Status Register */ macro
H A Dcore.c226 writel(0, vhub->regs + AST_VHUB_EP0_CTRL); in ast_vhub_init_hw()
H A Dep0.c516 ep->ep0.ctlstat = vhub->regs + AST_VHUB_EP0_CTRL; in ast_vhub_init_ep0()
H A Dhub.c897 writel(0, vhub->regs + AST_VHUB_EP0_CTRL); in ast_vhub_hub_reset()