Lines Matching refs:info
121 struct virtio_gpu_resp_display_info *info; in get_display_info() local
122 err = send_command_response(gdev, &req, sizeof(req), (void **)&info, sizeof(*info)); in get_display_info()
130 if (info->hdr.type != VIRTIO_GPU_RESP_OK_DISPLAY_INFO) { in get_display_info()
137 if (info->pmodes[i].enabled) { in get_display_info()
139 … info->pmodes[i].r.x, info->pmodes[i].r.y, info->pmodes[i].r.width, info->pmodes[i].r.height, in get_display_info()
140 info->pmodes[i].flags); in get_display_info()
143 memcpy(&gdev->pmode, &info->pmodes[i], sizeof(gdev->pmode)); in get_display_info()
561 status_t display_get_info(struct display_info *info) { in display_get_info() argument
562 DEBUG_ASSERT(info); in display_get_info()
563 memset(info, 0, sizeof(*info)); in display_get_info()
568 info->format = DISPLAY_FORMAT_RGB_x888; in display_get_info()
569 info->width = the_gdev->pmode.r.width; in display_get_info()
570 info->height = the_gdev->pmode.r.height; in display_get_info()