Searched refs:fsl_otg_tc (Results 1 – 1 of 1) sorted by relevance
774 struct fsl_otg *fsl_otg_tc; in fsl_otg_conf() local781 fsl_otg_tc = kzalloc(sizeof(struct fsl_otg), GFP_KERNEL); in fsl_otg_conf()782 if (!fsl_otg_tc) in fsl_otg_conf()785 fsl_otg_tc->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in fsl_otg_conf()786 if (!fsl_otg_tc->phy.otg) { in fsl_otg_conf()787 kfree(fsl_otg_tc); in fsl_otg_conf()791 INIT_DELAYED_WORK(&fsl_otg_tc->otg_event, fsl_otg_event); in fsl_otg_conf()794 status = fsl_otg_init_timers(&fsl_otg_tc->fsm); in fsl_otg_conf()799 mutex_init(&fsl_otg_tc->fsm.lock); in fsl_otg_conf()802 fsl_otg_tc->fsm.ops = &fsl_otg_ops; in fsl_otg_conf()[all …]