Home
last modified time | relevance | path

Searched refs:fsl_otg_tc (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/usb/phy/
Dphy-fsl-usb.c791 struct fsl_otg *fsl_otg_tc; in fsl_otg_conf() local
798 fsl_otg_tc = kzalloc(sizeof(struct fsl_otg), GFP_KERNEL); in fsl_otg_conf()
799 if (!fsl_otg_tc) in fsl_otg_conf()
802 fsl_otg_tc->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); in fsl_otg_conf()
803 if (!fsl_otg_tc->phy.otg) { in fsl_otg_conf()
804 kfree(fsl_otg_tc); in fsl_otg_conf()
808 INIT_DELAYED_WORK(&fsl_otg_tc->otg_event, fsl_otg_event); in fsl_otg_conf()
811 status = fsl_otg_init_timers(&fsl_otg_tc->fsm); in fsl_otg_conf()
816 mutex_init(&fsl_otg_tc->fsm.lock); in fsl_otg_conf()
819 fsl_otg_tc->fsm.ops = &fsl_otg_ops; in fsl_otg_conf()
[all …]