Lines Matching +full:left +full:- +full:most

1 // SPDX-License-Identifier: MIT
2 /* Copyright (C) 2006-2017 Oracle Corporation */
11 * hgsmi_process_display_info - Set a video mode via an HGSMI request.
41 p->view_index = display; in hgsmi_process_display_info()
42 p->origin_x = origin_x; in hgsmi_process_display_info()
43 p->origin_y = origin_y; in hgsmi_process_display_info()
44 p->start_offset = start_offset; in hgsmi_process_display_info()
45 p->line_size = pitch; in hgsmi_process_display_info()
46 p->width = width; in hgsmi_process_display_info()
47 p->height = height; in hgsmi_process_display_info()
48 p->bits_per_pixel = bpp; in hgsmi_process_display_info()
49 p->flags = flags; in hgsmi_process_display_info()
56 * hgsmi_update_input_mapping - Report the rectangle relative to which absolute
64 * @origin_x: Upper left X co-ordinate relative to the first screen.
65 * @origin_y: Upper left Y co-ordinate relative to the first screen.
77 return -ENOMEM; in hgsmi_update_input_mapping()
79 p->x = origin_x; in hgsmi_update_input_mapping()
80 p->y = origin_y; in hgsmi_update_input_mapping()
81 p->cx = width; in hgsmi_update_input_mapping()
82 p->cy = height; in hgsmi_update_input_mapping()
91 * hgsmi_get_mode_hints - Get most recent video mode hints.
104 return -EINVAL; in hgsmi_get_mode_hints()
110 return -ENOMEM; in hgsmi_get_mode_hints()
112 p->hints_queried_count = screens; in hgsmi_get_mode_hints()
113 p->hint_structure_guest_size = sizeof(struct vbva_modehint); in hgsmi_get_mode_hints()
114 p->rc = VERR_NOT_SUPPORTED; in hgsmi_get_mode_hints()
118 if (p->rc < 0) { in hgsmi_get_mode_hints()
120 return -EIO; in hgsmi_get_mode_hints()