Searched refs:fsl_otg_dev (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/usb/phy/
H A Dphy-fsl-usb.c61 static struct fsl_otg *fsl_otg_dev; variable in typeref:struct:fsl_otg
200 tmp = fsl_readl(&fsl_otg_dev->dr_mem_map->portsc) & ~PORTSC_W1C_BITS; fsl_otg_loc_sof()
206 fsl_writel(tmp, &fsl_otg_dev->dr_mem_map->portsc); fsl_otg_loc_sof()
241 fsl_otg_chrg_vbus(&fsl_otg_dev->fsm, 1); fsl_otg_pulse_vbus()
243 fsl_otg_add_timer(&fsl_otg_dev->fsm, b_vbus_pulse_tmr); fsl_otg_pulse_vbus()
248 fsl_otg_chrg_vbus(&fsl_otg_dev->fsm, 0); b_vbus_pulse_end()
256 fsl_otg_add_timer(&fsl_otg_dev->fsm, b_srp_wait_tmr); b_vbus_pulse_end()
264 if ((fsl_otg_dev->phy.otg->state == OTG_STATE_B_SRP_INIT) && b_srp_end()
265 fsl_otg_dev->fsm.b_sess_vld) b_srp_end()
266 fsl_otg_dev->fsm.b_srp_done = 1; b_srp_end()
277 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable) a_wait_enum()
278 fsl_otg_add_timer(&fsl_otg_dev->fsm, a_wait_enum_tmr); a_wait_enum()
280 otg_statemachine(&fsl_otg_dev->fsm); a_wait_enum()
564 if (otg_dev != fsl_otg_dev) fsl_otg_set_host()
615 VDBG("fsl_otg_dev 0x%x\n", (int)fsl_otg_dev); fsl_otg_set_peripheral()
616 if (otg_dev != fsl_otg_dev) fsl_otg_set_peripheral()
648 if (!fsl_otg_dev) fsl_otg_set_power()
687 if (otg_dev != fsl_otg_dev) fsl_otg_start_srp()
705 if (otg_dev != fsl_otg_dev) fsl_otg_start_hnp()
788 /* Initialize the global variable fsl_otg_dev and request IRQ for OTG */ fsl_otg_conf()
794 if (fsl_otg_dev) fsl_otg_conf()
832 fsl_otg_dev = fsl_otg_tc; fsl_otg_conf()
982 struct otg_fsm *fsm = &fsl_otg_dev->fsm; show_fsl_usb2_otg_state()
1016 usb_otg_state_string(fsl_otg_dev->phy.otg->state)); show_fsl_usb2_otg_state()
1076 retval = fsl_otg_dev->host_working; fsl_otg_ioctl()
1080 fsl_otg_dev->fsm.a_suspend_req_inf = arg; fsl_otg_ioctl()
1084 fsl_otg_dev->fsm.a_bus_drop = arg; fsl_otg_ioctl()
1088 fsl_otg_dev->fsm.a_bus_req = arg; fsl_otg_ioctl()
1092 fsl_otg_dev->fsm.b_bus_req = arg; fsl_otg_ioctl()
1099 otg_statemachine(&fsl_otg_dev->fsm); fsl_otg_ioctl()
1162 usb_remove_phy(&fsl_otg_dev->phy); fsl_otg_remove()
1163 free_irq(fsl_otg_dev->irq, fsl_otg_dev); fsl_otg_remove()
1168 kfree(fsl_otg_dev->phy.otg); fsl_otg_remove()
1169 kfree(fsl_otg_dev); fsl_otg_remove()

Completed in 40 milliseconds