Lines Matching refs:card_res

1145 	struct drm_mode_card_res *card_res = data;  in drm_mode_getresources()  local
1193 card_res->max_height = dev->mode_config.max_height; in drm_mode_getresources()
1194 card_res->min_height = dev->mode_config.min_height; in drm_mode_getresources()
1195 card_res->max_width = dev->mode_config.max_width; in drm_mode_getresources()
1196 card_res->min_width = dev->mode_config.min_width; in drm_mode_getresources()
1200 if (card_res->count_fbs >= fb_count) { in drm_mode_getresources()
1202 fb_id = (uint32_t __user *)(unsigned long)card_res->fb_id_ptr; in drm_mode_getresources()
1211 card_res->count_fbs = fb_count; in drm_mode_getresources()
1214 if (card_res->count_crtcs >= crtc_count) { in drm_mode_getresources()
1216 crtc_id = (uint32_t __user *)(unsigned long)card_res->crtc_id_ptr; in drm_mode_getresources()
1238 card_res->count_crtcs = crtc_count; in drm_mode_getresources()
1241 if (card_res->count_encoders >= encoder_count) { in drm_mode_getresources()
1243 encoder_id = (uint32_t __user *)(unsigned long)card_res->encoder_id_ptr; in drm_mode_getresources()
1269 card_res->count_encoders = encoder_count; in drm_mode_getresources()
1272 if (card_res->count_connectors >= connector_count) { in drm_mode_getresources()
1274 connector_id = (uint32_t __user *)(unsigned long)card_res->connector_id_ptr; in drm_mode_getresources()
1302 card_res->count_connectors = connector_count; in drm_mode_getresources()
1304 DRM_DEBUG_KMS("CRTC[%d] CONNECTORS[%d] ENCODERS[%d]\n", card_res->count_crtcs, in drm_mode_getresources()
1305 card_res->count_connectors, card_res->count_encoders); in drm_mode_getresources()