Lines Matching full:glue
3 * Ingenic JZ4740 "glue layer"
82 struct jz4740_glue *glue = usb_role_switch_get_drvdata(sw); in jz4740_musb_role_switch_set() local
83 struct usb_phy *phy = glue->musb->xceiv; in jz4740_musb_role_switch_set()
106 struct jz4740_glue *glue = dev_get_drvdata(dev); in jz4740_musb_init() local
109 .driver_data = glue, in jz4740_musb_init()
114 glue->musb = musb; in jz4740_musb_init()
152 glue->role_sw = usb_role_switch_register(dev, &role_sw_desc); in jz4740_musb_init()
153 if (IS_ERR(glue->role_sw)) { in jz4740_musb_init()
155 err = PTR_ERR(glue->role_sw); in jz4740_musb_init()
180 struct jz4740_glue *glue = dev_get_drvdata(musb->controller->parent); in jz4740_musb_exit() local
182 usb_role_switch_unregister(glue->role_sw); in jz4740_musb_exit()
240 struct jz4740_glue *glue; in jz4740_probe() local
244 glue = devm_kzalloc(dev, sizeof(*glue), GFP_KERNEL); in jz4740_probe()
245 if (!glue) in jz4740_probe()
278 glue->pdev = musb; in jz4740_probe()
279 glue->clk = clk; in jz4740_probe()
281 platform_set_drvdata(pdev, glue); in jz4740_probe()
313 struct jz4740_glue *glue = platform_get_drvdata(pdev); in jz4740_remove() local
315 platform_device_unregister(glue->pdev); in jz4740_remove()
316 clk_disable_unprepare(glue->clk); in jz4740_remove()
335 MODULE_DESCRIPTION("JZ4740 MUSB Glue Layer");