Lines Matching refs:card_res
1288 struct drm_mode_card_res *card_res = data;
1320 if (card_res->count_fbs >= fb_count) {
1322 fb_id = (uint32_t __user *)(unsigned long)card_res->fb_id_ptr;
1331 card_res->count_fbs = fb_count;
1354 card_res->max_height = dev->mode_config.max_height;
1355 card_res->min_height = dev->mode_config.min_height;
1356 card_res->max_width = dev->mode_config.max_width;
1357 card_res->min_width = dev->mode_config.min_width;
1360 if (card_res->count_crtcs >= crtc_count) {
1362 crtc_id = (uint32_t __user *)(unsigned long)card_res->crtc_id_ptr;
1384 card_res->count_crtcs = crtc_count;
1387 if (card_res->count_encoders >= encoder_count) {
1389 encoder_id = (uint32_t __user *)(unsigned long)card_res->encoder_id_ptr;
1415 card_res->count_encoders = encoder_count;
1418 if (card_res->count_connectors >= connector_count) {
1420 connector_id = (uint32_t __user *)(unsigned long)card_res->connector_id_ptr;
1448 card_res->count_connectors = connector_count;
1450 DRM_DEBUG_KMS("CRTC[%d] CONNECTORS[%d] ENCODERS[%d]\n", card_res->count_crtcs,
1451 card_res->count_connectors, card_res->count_encoders);