Lines Matching refs:client_monitors_config
52 if (qdev->client_monitors_config && in qxl_alloc_client_monitors_config()
53 count > qdev->client_monitors_config->count) { in qxl_alloc_client_monitors_config()
54 kfree(qdev->client_monitors_config); in qxl_alloc_client_monitors_config()
55 qdev->client_monitors_config = NULL; in qxl_alloc_client_monitors_config()
57 if (!qdev->client_monitors_config) { in qxl_alloc_client_monitors_config()
58 qdev->client_monitors_config = kzalloc( in qxl_alloc_client_monitors_config()
59 struct_size(qdev->client_monitors_config, in qxl_alloc_client_monitors_config()
61 if (!qdev->client_monitors_config) in qxl_alloc_client_monitors_config()
64 qdev->client_monitors_config->count = count; in qxl_alloc_client_monitors_config()
82 num_monitors = qdev->rom->client_monitors_config.count; in qxl_display_copy_rom_client_monitors_config()
83 crc = crc32(0, (const uint8_t *)&qdev->rom->client_monitors_config, in qxl_display_copy_rom_client_monitors_config()
84 sizeof(qdev->rom->client_monitors_config)); in qxl_display_copy_rom_client_monitors_config()
96 num_monitors = qdev->rom->client_monitors_config.count; in qxl_display_copy_rom_client_monitors_config()
98 if (qdev->client_monitors_config in qxl_display_copy_rom_client_monitors_config()
99 && (num_monitors != qdev->client_monitors_config->count)) { in qxl_display_copy_rom_client_monitors_config()
107 qdev->client_monitors_config->max_allowed = qxl_num_crtc; in qxl_display_copy_rom_client_monitors_config()
108 for (i = 0 ; i < qdev->client_monitors_config->count ; ++i) { in qxl_display_copy_rom_client_monitors_config()
110 &qdev->rom->client_monitors_config.heads[i]; in qxl_display_copy_rom_client_monitors_config()
112 &qdev->client_monitors_config->heads[i]; in qxl_display_copy_rom_client_monitors_config()
158 head = &qdev->client_monitors_config->heads[output->index]; in qxl_update_offset_props()
260 if (!qdev->client_monitors_config) in qxl_add_monitors_config_modes()
262 if (h >= qdev->client_monitors_config->count) in qxl_add_monitors_config_modes()
265 head = &qdev->client_monitors_config->heads[h]; in qxl_add_monitors_config_modes()
1029 if (qdev->client_monitors_config) { in qxl_conn_get_modes()
1031 head = &qdev->client_monitors_config->heads[output->index]; in qxl_conn_get_modes()
1083 if (!qdev->client_monitors_config) { in qxl_conn_detect()
1087 connected = qdev->client_monitors_config->count > output->index && in qxl_conn_detect()
1088 qxl_head_enabled(&qdev->client_monitors_config->heads[output->index]); in qxl_conn_detect()