Lines Matching refs:aspeed_udc
29 static struct aspeed_udc_priv *aspeed_udc; variable
123 __raw_readl(aspeed_udc->udc_base + (offset))
125 __raw_writel((u32)val, aspeed_udc->udc_base + (offset))
148 ep_reg = aspeed_udc->udc_base + AST_EP_BASE + in udc_stall_ep()
175 ep_reg = aspeed_udc->udc_base + AST_EP_BASE + (AST_EP_OFFSET * (ep_num - 1)); in udc_endpoint_write()
218 ep_reg = aspeed_udc->udc_base + AST_EP_BASE + (AST_EP_OFFSET * (ep_num - 1)); in aspeed_udc_ep_handle()
381 u32 *setup = (u32 *)(aspeed_udc->udc_base + AST_VHUB_SETUP_DATA0); in aspeed_udc_setup_handle()
635 ep_reg = aspeed_udc->udc_base + AST_EP_BASE + (AST_EP_OFFSET * (ep_num - 1)); in udc_setup_ep()
713 if (!aspeed_udc) { in udc_init()
757 aspeed_udc = dev_get_priv(dev); in aspeed_udc_ofdata_to_platdata()
760 aspeed_udc->udc_base = (u32)devfdt_get_addr_index(dev, 0); in aspeed_udc_ofdata_to_platdata()
770 U_BOOT_DRIVER(aspeed_udc) = {