Lines Matching refs:card_res
94 struct drm_mode_card_res *card_res = data;
111 fb_id = u64_to_user_ptr(card_res->fb_id_ptr);
113 if (count < card_res->count_fbs &&
120 card_res->count_fbs = count;
123 card_res->max_height = dev->mode_config.max_height;
124 card_res->min_height = dev->mode_config.min_height;
125 card_res->max_width = dev->mode_config.max_width;
126 card_res->min_width = dev->mode_config.min_width;
129 crtc_id = u64_to_user_ptr(card_res->crtc_id_ptr);
132 if (count < card_res->count_crtcs &&
138 card_res->count_crtcs = count;
141 encoder_id = u64_to_user_ptr(card_res->encoder_id_ptr);
143 if (count < card_res->count_encoders &&
148 card_res->count_encoders = count;
152 connector_id = u64_to_user_ptr(card_res->connector_id_ptr);
160 if (count < card_res->count_connectors &&
168 card_res->count_connectors = count;