Lines Matching refs:glue

229 	struct omap2430_glue	*glue = _glue;  in omap_musb_mailbox()  local
230 struct musb *musb = glue_to_musb(glue); in omap_musb_mailbox()
232 glue->status = status; in omap_musb_mailbox()
234 dev_err(glue->dev, "musb core is not yet ready\n"); in omap_musb_mailbox()
238 schedule_work(&glue->omap_musb_mailbox_work); in omap_musb_mailbox()
242 static void omap_musb_set_mailbox(struct omap2430_glue *glue) in omap_musb_set_mailbox() argument
244 struct musb *musb = glue_to_musb(glue); in omap_musb_set_mailbox()
250 switch (glue->status) { in omap_musb_set_mailbox()
300 struct omap2430_glue *glue = container_of(mailbox_work, in omap_musb_mailbox_work() local
302 omap_musb_set_mailbox(glue); in omap_musb_mailbox_work()
313 struct omap2430_glue *glue = dev_get_drvdata(dev->parent); in omap2430_musb_init() local
378 if (glue->status != OMAP_MUSB_UNKNOWN) in omap2430_musb_init()
379 omap_musb_set_mailbox(glue); in omap2430_musb_init()
399 struct omap2430_glue *glue = dev_get_drvdata(dev->parent); in omap2430_musb_enable() local
403 switch (glue->status) { in omap2430_musb_enable()
457 struct omap2430_glue *glue = dev_get_drvdata(dev->parent); in omap2430_musb_disable() local
459 if (glue->status != OMAP_MUSB_UNKNOWN) in omap2430_musb_disable()
499 struct omap2430_glue *glue; in omap2430_probe() local
502 glue = devm_kzalloc(&pdev->dev, sizeof(*glue), GFP_KERNEL); in omap2430_probe()
503 if (!glue) { in omap2430_probe()
518 glue->dev = &pdev->dev; in omap2430_probe()
519 glue->musb = musb; in omap2430_probe()
520 glue->status = OMAP_MUSB_UNKNOWN; in omap2430_probe()
524 platform_set_drvdata(pdev, glue); in omap2430_probe()
530 _glue = glue; in omap2430_probe()
532 INIT_WORK(&glue->omap_musb_mailbox_work, omap_musb_mailbox_work); in omap2430_probe()
566 struct omap2430_glue *glue = platform_get_drvdata(pdev); in omap2430_remove() local
568 cancel_work_sync(&glue->omap_musb_mailbox_work); in omap2430_remove()
569 platform_device_del(glue->musb); in omap2430_remove()
570 platform_device_put(glue->musb); in omap2430_remove()
579 struct omap2430_glue *glue = dev_get_drvdata(dev); in omap2430_runtime_suspend() local
580 struct musb *musb = glue_to_musb(glue); in omap2430_runtime_suspend()
595 struct omap2430_glue *glue = dev_get_drvdata(dev); in omap2430_runtime_resume() local
596 struct musb *musb = glue_to_musb(glue); in omap2430_runtime_resume()