Lines Matching defs:host
57 # define WORK_HOST_RESUME 4 /* resume host */
254 * so host won't see a low speed device...
268 if (!isp->phy.otg->host)
274 dev = isp->phy.otg->host->controller;
286 if (!isp->phy.otg->host)
289 dev = isp->phy.otg->host->controller;
333 if (isp->phy.otg->host) {
334 isp->phy.otg->host->is_b_host = 0;
357 if (isp->phy.otg->host) {
358 isp->phy.otg->host->is_b_host = 1;
572 if (!(isp->phy.otg->host))
611 /* HNP switch to host or peripheral; and SRP */
695 if (!otg->host)
753 ? "gadget" : "host",
768 /* role is host */
775 if (otg->host) {
801 usb_bus_start_enum(otg->host, otg->host->otg_port);
983 if (otg->host && state == OTG_STATE_A_IDLE)
1138 pr_debug(" host resume in %s\n",
1230 * - HOST mode, for when there's one or more A (host) connectors
1261 /* add or disable the host device+driver */
1263 isp1301_set_host(struct usb_otg *otg, struct usb_bus *host)
1270 if (!host) {
1273 otg->host = NULL;
1278 otg->host = host;
1279 dev_dbg(&isp->client->dev, "registered host\n");
1287 otg->host = host;
1312 dev_dbg(&isp->client->dev, "host sessions not allowed\n");
1340 if (otg->host)
1433 if (otg->default_a && (otg->host == NULL || !otg->host->b_hnp_enable))