Lines Matching defs:mode
84 enum usb_dr_mode mode;
90 mode = hsotg->dr_mode;
95 "Controller does not support host mode.\n");
98 mode = USB_DR_MODE_PERIPHERAL;
102 "Controller does not support device mode.\n");
105 mode = USB_DR_MODE_HOST;
108 mode = USB_DR_MODE_HOST;
110 mode = USB_DR_MODE_PERIPHERAL;
113 if (mode != hsotg->dr_mode) {
116 mode == USB_DR_MODE_HOST ? "host" : "device");
118 hsotg->dr_mode = mode;
500 * For OTG cores, set the force mode bits to reflect the value
501 * of dr_mode. Force mode bits should not be touched at any
637 * Need to force the mode to the current mode to avoid Mode