Lines Matching defs:host
127 /* Power up the transceiver in USB host mode */
192 static int tahvo_usb_set_host(struct usb_otg *otg, struct usb_bus *host)
197 dev_dbg(&tu->pt_dev->dev, "%s %p\n", __func__, host);
201 if (host == NULL) {
204 otg->host = NULL;
210 otg->host = NULL;
214 otg->host = host;
266 return sprintf(buf, "host\n");
282 if (count >= 4 && strncmp(buf, "host", 4) == 0) {
286 if (tu->phy.otg->host) {
287 dev_info(device, "HOST mode: host controller present\n");
290 dev_info(device, "HOST mode: no host controller, powering off\n");