Lines Matching refs:priv_n
454 struct mtk_drm_private *priv_n; in mtk_drm_kms_init() local
503 priv_n = private->all_drm_private[j]; in mtk_drm_kms_init()
505 if (priv_n->data->max_width) in mtk_drm_kms_init()
506 drm->mode_config.max_width = priv_n->data->max_width; in mtk_drm_kms_init()
508 if (priv_n->data->min_width) in mtk_drm_kms_init()
509 drm->mode_config.min_width = priv_n->data->min_width; in mtk_drm_kms_init()
511 if (priv_n->data->min_height) in mtk_drm_kms_init()
512 drm->mode_config.min_height = priv_n->data->min_height; in mtk_drm_kms_init()
514 if (i == CRTC_MAIN && priv_n->data->main_len) { in mtk_drm_kms_init()
515 ret = mtk_crtc_create(drm, priv_n->data->main_path, in mtk_drm_kms_init()
516 priv_n->data->main_len, j, in mtk_drm_kms_init()
517 priv_n->data->conn_routes, in mtk_drm_kms_init()
518 priv_n->data->num_conn_routes); in mtk_drm_kms_init()
523 } else if (i == CRTC_EXT && priv_n->data->ext_len) { in mtk_drm_kms_init()
524 ret = mtk_crtc_create(drm, priv_n->data->ext_path, in mtk_drm_kms_init()
525 priv_n->data->ext_len, j, NULL, 0); in mtk_drm_kms_init()
530 } else if (i == CRTC_THIRD && priv_n->data->third_len) { in mtk_drm_kms_init()
531 ret = mtk_crtc_create(drm, priv_n->data->third_path, in mtk_drm_kms_init()
532 priv_n->data->third_len, j, NULL, 0); in mtk_drm_kms_init()