Lines Matching defs:mode
44 const struct drm_display_mode *mode;
395 ILI9881C_COMMAND_INSTR(0x6E, 0x2A), /* di_pwr_reg=0 for power mode 2A, VGH clamp 18V */
610 struct drm_display_mode *mode;
612 mode = drm_mode_duplicate(connector->dev, ctx->desc->mode);
613 if (!mode) {
614 dev_err(&ctx->dsi->dev, "failed to add mode %ux%ux@%u\n",
615 ctx->desc->mode->hdisplay,
616 ctx->desc->mode->vdisplay,
617 drm_mode_vrefresh(ctx->desc->mode));
621 drm_mode_set_name(mode);
623 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
624 drm_mode_probed_add(connector, mode);
626 connector->display_info.width_mm = mode->width_mm;
627 connector->display_info.height_mm = mode->height_mm;
693 .mode = &lhr050h41_default_mode,
699 .mode = &k101_im2byl02_default_mode,