p_otg             834 drivers/usb/phy/phy-fsl-usb.c 	struct fsl_otg *p_otg;
p_otg             842 drivers/usb/phy/phy-fsl-usb.c 	p_otg = container_of(otg_trans, struct fsl_otg, phy);
p_otg             843 drivers/usb/phy/phy-fsl-usb.c 	fsm = &p_otg->fsm;
p_otg             847 drivers/usb/phy/phy-fsl-usb.c 	fsm->otg = p_otg->phy.otg;
p_otg             858 drivers/usb/phy/phy-fsl-usb.c 	p_otg->dr_mem_map = (struct usb_dr_mmap *)usb_dr_regs;
p_otg             875 drivers/usb/phy/phy-fsl-usb.c 	p_otg->irq = platform_get_irq(pdev, 0);
p_otg             876 drivers/usb/phy/phy-fsl-usb.c 	status = request_irq(p_otg->irq, fsl_otg_isr,
p_otg             877 drivers/usb/phy/phy-fsl-usb.c 				IRQF_SHARED, driver_name, p_otg);
p_otg             879 drivers/usb/phy/phy-fsl-usb.c 		dev_dbg(p_otg->phy.dev, "can't get IRQ %d, error %d\n",
p_otg             880 drivers/usb/phy/phy-fsl-usb.c 			p_otg->irq, status);
p_otg             881 drivers/usb/phy/phy-fsl-usb.c 		iounmap(p_otg->dr_mem_map);
p_otg             882 drivers/usb/phy/phy-fsl-usb.c 		kfree(p_otg->phy.otg);
p_otg             883 drivers/usb/phy/phy-fsl-usb.c 		kfree(p_otg);
p_otg             888 drivers/usb/phy/phy-fsl-usb.c 	temp = fsl_readl(&p_otg->dr_mem_map->usbcmd);
p_otg             890 drivers/usb/phy/phy-fsl-usb.c 	fsl_writel(temp, &p_otg->dr_mem_map->usbcmd);
p_otg             893 drivers/usb/phy/phy-fsl-usb.c 	temp = fsl_readl(&p_otg->dr_mem_map->usbcmd);
p_otg             895 drivers/usb/phy/phy-fsl-usb.c 	fsl_writel(temp, &p_otg->dr_mem_map->usbcmd);
p_otg             898 drivers/usb/phy/phy-fsl-usb.c 	while (fsl_readl(&p_otg->dr_mem_map->usbcmd) & USB_CMD_CTRL_RESET)
p_otg             903 drivers/usb/phy/phy-fsl-usb.c 	fsl_writel(temp, &p_otg->dr_mem_map->usbmode);
p_otg             906 drivers/usb/phy/phy-fsl-usb.c 	temp = fsl_readl(&p_otg->dr_mem_map->portsc);
p_otg             921 drivers/usb/phy/phy-fsl-usb.c 	fsl_writel(temp, &p_otg->dr_mem_map->portsc);
p_otg             925 drivers/usb/phy/phy-fsl-usb.c 		temp = __raw_readl(&p_otg->dr_mem_map->control);
p_otg             927 drivers/usb/phy/phy-fsl-usb.c 		__raw_writel(temp, &p_otg->dr_mem_map->control);
p_otg             931 drivers/usb/phy/phy-fsl-usb.c 	temp = fsl_readl(&p_otg->dr_mem_map->otgsc);
p_otg             934 drivers/usb/phy/phy-fsl-usb.c 	fsl_writel(temp, &p_otg->dr_mem_map->otgsc);
p_otg             941 drivers/usb/phy/phy-fsl-usb.c 	if (fsl_readl(&p_otg->dr_mem_map->otgsc) & OTGSC_STS_USB_ID) {
p_otg             942 drivers/usb/phy/phy-fsl-usb.c 		p_otg->phy.otg->state = OTG_STATE_UNDEFINED;
p_otg             943 drivers/usb/phy/phy-fsl-usb.c 		p_otg->fsm.id = 1;
p_otg             945 drivers/usb/phy/phy-fsl-usb.c 		p_otg->phy.otg->state = OTG_STATE_A_IDLE;
p_otg             946 drivers/usb/phy/phy-fsl-usb.c 		p_otg->fsm.id = 0;
p_otg             949 drivers/usb/phy/phy-fsl-usb.c 	pr_debug("initial ID pin=%d\n", p_otg->fsm.id);
p_otg             952 drivers/usb/phy/phy-fsl-usb.c 	temp = fsl_readl(&p_otg->dr_mem_map->otgsc);
p_otg             955 drivers/usb/phy/phy-fsl-usb.c 	fsl_writel(temp, &p_otg->dr_mem_map->otgsc);