Lines Matching defs:host
186 * Generate SOF by host. This is controlled through suspend/resume the
187 * port. In host mode, controller will automatically send SOF.
271 if (!fsl_otg_dev->phy.otg->host->b_hnp_enable)
456 /* Call suspend/resume routines in host driver */
465 if (!otg->host)
467 dev = otg->host->controller;
476 /* start fsl usb host controller */
481 VDBG("host on......\n");
490 * be 1 for host to work.
501 /* stop fsl usb host controller */
505 VDBG("host off......\n");
547 * Called by initialization code of host driver. Register host controller
548 * to the OTG. Suspend host for OTG role detection.
550 static int fsl_otg_set_host(struct usb_otg *otg, struct usb_bus *host)
561 otg->host = host;
566 if (host) {
567 VDBG("host off......\n");
569 otg->host->otg_port = fsl_otg_initdata.otg_port;
570 otg->host->is_b_host = otg_dev->fsm.id;
573 * before yanking the host driver out from under it,
574 * so suspend the host after a short delay.
580 /* host driver going away */
701 * Interrupt handler. OTG/host/peripheral share the same int line.
733 if (otg->host)
734 otg->host->is_b_host = fsm->id;
743 } else { /* switch to host */
855 * with host/device */
903 /* configure the VBUSHS as IDLE(both host and device) */