Home
last modified time | relevance | path

Searched refs:resolution_resp (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/hyperv/
H A Dhyperv_drm_proto.c182 struct synthvid_supported_resolution_resp resolution_resp; member
399 if (msg->resolution_resp.resolution_count == 0) { in hyperv_get_supported_resolution()
404 index = msg->resolution_resp.default_resolution_index; in hyperv_get_supported_resolution()
405 if (index >= msg->resolution_resp.resolution_count) { in hyperv_get_supported_resolution()
410 for (i = 0; i < msg->resolution_resp.resolution_count; i++) { in hyperv_get_supported_resolution()
412 msg->resolution_resp.supported_resolution[i].width); in hyperv_get_supported_resolution()
414 msg->resolution_resp.supported_resolution[i].height); in hyperv_get_supported_resolution()
418 msg->resolution_resp.supported_resolution[index].width; in hyperv_get_supported_resolution()
420 msg->resolution_resp.supported_resolution[index].height; in hyperv_get_supported_resolution()
/openbmc/linux/drivers/video/fbdev/
H A Dhyperv_fb.c230 struct synthvid_supported_resolution_resp resolution_resp; member
591 if (msg->resolution_resp.resolution_count == 0) { in synthvid_get_supported_resolution()
597 index = msg->resolution_resp.default_resolution_index; in synthvid_get_supported_resolution()
598 if (index >= msg->resolution_resp.resolution_count) { in synthvid_get_supported_resolution()
605 msg->resolution_resp.supported_resolution[index].width; in synthvid_get_supported_resolution()
607 msg->resolution_resp.supported_resolution[index].height; in synthvid_get_supported_resolution()