Lines Matching defs:mode
29 #define WS2401_BCMODE 0xc1 /* Backlight control mode */
33 #define WS2401_WRMIE 0xc7 /* Write MIE mode */
152 * Exit sleep mode and initialize display - some hammering is
163 /* Set addressing mode Flip V(d0), Flip H(d1) RGB/BGR(d3) */
271 * ws2401_get_modes() - return the mode
272 * @panel: the panel to get the mode for
279 struct drm_display_mode *mode;
284 * this mode, the following connector display_info settings and
288 mode = drm_mode_duplicate(connector->dev, &lms380kf01_480_800_mode);
289 if (!mode) {
290 dev_err(ws->dev, "failed to add mode\n");
295 connector->display_info.width_mm = mode->width_mm;
296 connector->display_info.height_mm = mode->height_mm;
302 drm_mode_set_name(mode);
303 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
305 drm_mode_probed_add(connector, mode);