Lines Matching defs:mode
43 const struct drm_display_mode *mode;
397 ILI9881C_COMMAND_INSTR(0x6E, 0x2A), /* di_pwr_reg=0 for power mode 2A, VGH clamp 18V */
1021 struct drm_display_mode *mode;
1023 mode = drm_mode_duplicate(connector->dev, ctx->desc->mode);
1024 if (!mode) {
1025 dev_err(&ctx->dsi->dev, "failed to add mode %ux%ux@%u\n",
1026 ctx->desc->mode->hdisplay,
1027 ctx->desc->mode->vdisplay,
1028 drm_mode_vrefresh(ctx->desc->mode));
1032 drm_mode_set_name(mode);
1034 mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED;
1035 drm_mode_probed_add(connector, mode);
1037 connector->display_info.width_mm = mode->width_mm;
1038 connector->display_info.height_mm = mode->height_mm;
1121 .mode = &lhr050h41_default_mode,
1128 .mode = &k101_im2byl02_default_mode,
1135 .mode = &tl050hdv35_default_mode,
1143 .mode = &w552946aba_default_mode,