Lines Matching full:glue

4  * Texas Instruments AM35x "glue layer"
8 * Based on the DA8xx "glue layer" code.
447 struct am35x_glue *glue; in am35x_probe() local
454 glue = kzalloc(sizeof(*glue), GFP_KERNEL); in am35x_probe()
455 if (!glue) in am35x_probe()
484 glue->dev = &pdev->dev; in am35x_probe()
485 glue->phy_clk = phy_clk; in am35x_probe()
486 glue->clk = clk; in am35x_probe()
490 glue->phy = usb_phy_generic_register(); in am35x_probe()
491 if (IS_ERR(glue->phy)) { in am35x_probe()
492 ret = PTR_ERR(glue->phy); in am35x_probe()
495 platform_set_drvdata(pdev, glue); in am35x_probe()
504 glue->musb = musb = platform_device_register_full(&pinfo); in am35x_probe()
514 usb_phy_generic_unregister(glue->phy); in am35x_probe()
529 kfree(glue); in am35x_probe()
537 struct am35x_glue *glue = platform_get_drvdata(pdev); in am35x_remove() local
539 platform_device_unregister(glue->musb); in am35x_remove()
540 usb_phy_generic_unregister(glue->phy); in am35x_remove()
541 clk_disable(glue->clk); in am35x_remove()
542 clk_disable(glue->phy_clk); in am35x_remove()
543 clk_put(glue->clk); in am35x_remove()
544 clk_put(glue->phy_clk); in am35x_remove()
545 kfree(glue); in am35x_remove()
553 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_suspend() local
561 clk_disable(glue->phy_clk); in am35x_suspend()
562 clk_disable(glue->clk); in am35x_suspend()
569 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_resume() local
578 ret = clk_enable(glue->phy_clk); in am35x_resume()
584 ret = clk_enable(glue->clk); in am35x_resume()
605 MODULE_DESCRIPTION("AM35x MUSB Glue Layer");