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()
506 glue->musb = musb = platform_device_register_full(&pinfo); in am35x_probe()
516 usb_phy_generic_unregister(glue->phy); in am35x_probe()
531 kfree(glue); in am35x_probe()
539 struct am35x_glue *glue = platform_get_drvdata(pdev); in am35x_remove() local
541 platform_device_unregister(glue->musb); in am35x_remove()
542 usb_phy_generic_unregister(glue->phy); in am35x_remove()
543 clk_disable(glue->clk); in am35x_remove()
544 clk_disable(glue->phy_clk); in am35x_remove()
545 clk_put(glue->clk); in am35x_remove()
546 clk_put(glue->phy_clk); in am35x_remove()
547 kfree(glue); in am35x_remove()
555 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_suspend() local
563 clk_disable(glue->phy_clk); in am35x_suspend()
564 clk_disable(glue->clk); in am35x_suspend()
571 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_resume() local
580 ret = clk_enable(glue->phy_clk); in am35x_resume()
586 ret = clk_enable(glue->clk); in am35x_resume()
607 MODULE_DESCRIPTION("AM35x MUSB Glue Layer");