Lines Matching full:glue
2 * Texas Instruments AM35x "glue layer"
6 * Based on the DA8xx "glue layer" code.
508 struct am35x_glue *glue; in am35x_probe() local
515 glue = kzalloc(sizeof(*glue), GFP_KERNEL); in am35x_probe()
516 if (!glue) { in am35x_probe()
517 dev_err(&pdev->dev, "failed to allocate glue context\n"); in am35x_probe()
557 glue->dev = &pdev->dev; in am35x_probe()
558 glue->musb = musb; in am35x_probe()
559 glue->phy_clk = phy_clk; in am35x_probe()
560 glue->clk = clk; in am35x_probe()
564 platform_set_drvdata(pdev, glue); in am35x_probe()
603 kfree(glue); in am35x_probe()
611 struct am35x_glue *glue = platform_get_drvdata(pdev); in am35x_remove() local
613 platform_device_del(glue->musb); in am35x_remove()
614 platform_device_put(glue->musb); in am35x_remove()
615 clk_disable(glue->clk); in am35x_remove()
616 clk_disable(glue->phy_clk); in am35x_remove()
617 clk_put(glue->clk); in am35x_remove()
618 clk_put(glue->phy_clk); in am35x_remove()
619 kfree(glue); in am35x_remove()
627 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_suspend() local
635 clk_disable(glue->phy_clk); in am35x_suspend()
636 clk_disable(glue->clk); in am35x_suspend()
643 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_resume() local
652 ret = clk_enable(glue->phy_clk); in am35x_resume()
658 ret = clk_enable(glue->clk); in am35x_resume()
686 MODULE_DESCRIPTION("AM35x MUSB Glue Layer");