Lines Matching refs:glue
507 struct am35x_glue *glue; in am35x_probe() local
514 glue = kzalloc(sizeof(*glue), GFP_KERNEL); in am35x_probe()
515 if (!glue) { in am35x_probe()
556 glue->dev = &pdev->dev; in am35x_probe()
557 glue->musb = musb; in am35x_probe()
558 glue->phy_clk = phy_clk; in am35x_probe()
559 glue->clk = clk; in am35x_probe()
563 platform_set_drvdata(pdev, glue); in am35x_probe()
602 kfree(glue); in am35x_probe()
610 struct am35x_glue *glue = platform_get_drvdata(pdev); in am35x_remove() local
612 platform_device_del(glue->musb); in am35x_remove()
613 platform_device_put(glue->musb); in am35x_remove()
614 clk_disable(glue->clk); in am35x_remove()
615 clk_disable(glue->phy_clk); in am35x_remove()
616 clk_put(glue->clk); in am35x_remove()
617 clk_put(glue->phy_clk); in am35x_remove()
618 kfree(glue); in am35x_remove()
626 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_suspend() local
634 clk_disable(glue->phy_clk); in am35x_suspend()
635 clk_disable(glue->clk); in am35x_suspend()
642 struct am35x_glue *glue = dev_get_drvdata(dev); in am35x_resume() local
651 ret = clk_enable(glue->phy_clk); in am35x_resume()
657 ret = clk_enable(glue->clk); in am35x_resume()