Lines Matching defs:mode
54 enum usb_dr_mode mode;
60 mode = hsotg->dr_mode;
65 "Controller does not support host mode.\n");
68 mode = USB_DR_MODE_PERIPHERAL;
72 "Controller does not support device mode.\n");
75 mode = USB_DR_MODE_HOST;
78 mode = USB_DR_MODE_HOST;
80 mode = USB_DR_MODE_PERIPHERAL;
83 if (mode != hsotg->dr_mode) {
86 mode == USB_DR_MODE_HOST ? "host" : "device");
88 hsotg->dr_mode = mode;
528 * For OTG cores, set the force mode bits to reflect the value
529 * of dr_mode. Force mode bits should not be touched at any
660 * Need to force the mode to the current mode to avoid Mode