Lines Matching refs:dr_mem_map
194 tmp = fsl_readl(&fsl_otg_dev->dr_mem_map->portsc) & ~PORTSC_W1C_BITS; in fsl_otg_loc_sof()
200 fsl_writel(tmp, &fsl_otg_dev->dr_mem_map->portsc); in fsl_otg_loc_sof()
581 if (!(fsl_readl(&otg_dev->dr_mem_map->otgsc) & in fsl_otg_set_host()
858 p_otg->dr_mem_map = (struct usb_dr_mmap *)usb_dr_regs; in usb_otg_start()
883 iounmap(p_otg->dr_mem_map); in usb_otg_start()
890 temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); in usb_otg_start()
892 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); in usb_otg_start()
895 temp = fsl_readl(&p_otg->dr_mem_map->usbcmd); in usb_otg_start()
897 fsl_writel(temp, &p_otg->dr_mem_map->usbcmd); in usb_otg_start()
900 while (fsl_readl(&p_otg->dr_mem_map->usbcmd) & USB_CMD_CTRL_RESET) in usb_otg_start()
905 fsl_writel(temp, &p_otg->dr_mem_map->usbmode); in usb_otg_start()
908 temp = fsl_readl(&p_otg->dr_mem_map->portsc); in usb_otg_start()
923 fsl_writel(temp, &p_otg->dr_mem_map->portsc); in usb_otg_start()
927 temp = __raw_readl(&p_otg->dr_mem_map->control); in usb_otg_start()
929 __raw_writel(temp, &p_otg->dr_mem_map->control); in usb_otg_start()
933 temp = fsl_readl(&p_otg->dr_mem_map->otgsc); in usb_otg_start()
936 fsl_writel(temp, &p_otg->dr_mem_map->otgsc); in usb_otg_start()
943 if (fsl_readl(&p_otg->dr_mem_map->otgsc) & OTGSC_STS_USB_ID) { in usb_otg_start()
954 temp = fsl_readl(&p_otg->dr_mem_map->otgsc); in usb_otg_start()
957 fsl_writel(temp, &p_otg->dr_mem_map->otgsc); in usb_otg_start()