u2d                37 arch/arm/mach-pxa/pxa3xx-ulpi.c static struct pxa3xx_u2d_ulpi *u2d;
u2d                41 arch/arm/mach-pxa/pxa3xx-ulpi.c 	return __raw_readl(u2d->mmio_base + reg);
u2d                46 arch/arm/mach-pxa/pxa3xx-ulpi.c 	__raw_writel(val, u2d->mmio_base + reg);
u2d               139 arch/arm/mach-pxa/pxa3xx-ulpi.c 	err = usb_phy_init(u2d->otg);
u2d               145 arch/arm/mach-pxa/pxa3xx-ulpi.c 	err = otg_set_vbus(u2d->otg->otg, 1);
u2d               151 arch/arm/mach-pxa/pxa3xx-ulpi.c 	err = otg_set_host(u2d->otg->otg, host);
u2d               173 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (u2d->ulpi_mode & ULPI_IC_6PIN_SERIAL)
u2d               175 arch/arm/mach-pxa/pxa3xx-ulpi.c 	else if (u2d->ulpi_mode & ULPI_IC_3PIN_SERIAL)
u2d               189 arch/arm/mach-pxa/pxa3xx-ulpi.c 	otg_set_host(u2d->otg->otg, NULL);
u2d               190 arch/arm/mach-pxa/pxa3xx-ulpi.c 	otg_set_vbus(u2d->otg->otg, 0);
u2d               191 arch/arm/mach-pxa/pxa3xx-ulpi.c 	usb_phy_shutdown(u2d->otg);
u2d               219 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d->ulpi_mode = ulpi_mode;
u2d               221 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d->otg = otg_ulpi_create(&pxa310_ulpi_access_ops, ulpi_mode);
u2d               222 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (!u2d->otg)
u2d               225 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d->otg->io_priv = u2d->mmio_base;
u2d               232 arch/arm/mach-pxa/pxa3xx-ulpi.c 	kfree(u2d->otg);
u2d               253 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (!u2d)
u2d               256 arch/arm/mach-pxa/pxa3xx-ulpi.c 	clk_prepare_enable(u2d->clk);
u2d               270 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (!u2d)
u2d               276 arch/arm/mach-pxa/pxa3xx-ulpi.c 	clk_disable_unprepare(u2d->clk);
u2d               286 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d = kzalloc(sizeof(*u2d), GFP_KERNEL);
u2d               287 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (!u2d)
u2d               290 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d->clk = clk_get(&pdev->dev, NULL);
u2d               291 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (IS_ERR(u2d->clk)) {
u2d               293 arch/arm/mach-pxa/pxa3xx-ulpi.c 		err = PTR_ERR(u2d->clk);
u2d               311 arch/arm/mach-pxa/pxa3xx-ulpi.c 	u2d->mmio_base = ioremap(r->start, resource_size(r));
u2d               312 arch/arm/mach-pxa/pxa3xx-ulpi.c 	if (!u2d->mmio_base) {
u2d               331 arch/arm/mach-pxa/pxa3xx-ulpi.c 	platform_set_drvdata(pdev, u2d);
u2d               339 arch/arm/mach-pxa/pxa3xx-ulpi.c 	iounmap(u2d->mmio_base);
u2d               343 arch/arm/mach-pxa/pxa3xx-ulpi.c 	clk_put(u2d->clk);
u2d               345 arch/arm/mach-pxa/pxa3xx-ulpi.c 	kfree(u2d);
u2d               363 arch/arm/mach-pxa/pxa3xx-ulpi.c 	iounmap(u2d->mmio_base);
u2d               367 arch/arm/mach-pxa/pxa3xx-ulpi.c 	clk_put(u2d->clk);
u2d               369 arch/arm/mach-pxa/pxa3xx-ulpi.c 	kfree(u2d);