Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 25 of 31) sorted by relevance

12

/qemu/backends/
A Dhostmem-file.c55 if (!fb->mem_path) { in file_backend_memory_alloc()
60 switch (fb->rom) { in file_backend_memory_alloc()
63 fb->rom = fb->readonly ? ON_OFF_AUTO_ON : ON_OFF_AUTO_OFF; in file_backend_memory_alloc()
66 if (!fb->readonly) { in file_backend_memory_alloc()
94 fb->mem_path, fb->offset, errp); in file_backend_memory_alloc()
115 g_free(fb->mem_path); in set_mem_path()
157 fb->align = val; in file_memory_backend_set_align()
187 fb->offset = val; in file_memory_backend_set_offset()
207 fb->is_pmem = value; in file_memory_backend_set_pmem()
215 return fb->readonly; in file_memory_backend_get_readonly()
[all …]
/qemu/target/alpha/
A Dvax_helper.c112 float32 fa, fb, fr; in helper_addf() local
122 float32 fa, fb, fr; in helper_subf() local
132 float32 fa, fb, fr; in helper_mulf() local
142 float32 fa, fb, fr; in helper_divf() local
239 float64 fa, fb, fr; in helper_addg() local
249 float64 fa, fb, fr; in helper_subg() local
259 float64 fa, fb, fr; in helper_mulg() local
269 float64 fa, fb, fr; in helper_divg() local
288 float64 fa, fb; in helper_cmpgeq() local
302 float64 fa, fb; in helper_cmpgle() local
[all …]
A Dfpu_helper.c218 float32 fa, fb, fr; in helper_adds() local
230 float32 fa, fb, fr; in helper_subs() local
242 float32 fa, fb, fr; in helper_muls() local
254 float32 fa, fb, fr; in helper_divs() local
295 float64 fa, fb, fr; in helper_addt() local
307 float64 fa, fb, fr; in helper_subt() local
319 float64 fa, fb, fr; in helper_mult() local
355 float64 fa, fb; in helper_cmptun() local
371 float64 fa, fb; in helper_cmpteq() local
387 float64 fa, fb; in helper_cmptle() local
[all …]
/qemu/target/microblaze/
A Dop_helper.c151 fb.l = b; in helper_fadd()
166 fb.l = b; in helper_frsub()
180 fb.l = b; in helper_fmul()
195 fb.l = b; in helper_fdiv()
209 fb.l = b; in helper_fcmp_un()
233 fb.l = b; in helper_fcmp_lt()
249 fb.l = b; in helper_fcmp_eq()
264 fb.l = b; in helper_fcmp_le()
280 fb.l = b; in helper_fcmp_gt()
294 fb.l = b; in helper_fcmp_ne()
[all …]
/qemu/ui/
A Degl-helpers.c86 if (!fb->framebuffer) { in egl_fb_destroy()
93 fb->width = 0; in egl_fb_destroy()
94 fb->height = 0; in egl_fb_destroy()
95 fb->texture = 0; in egl_fb_destroy()
96 fb->framebuffer = 0; in egl_fb_destroy()
101 fb->width = width; in egl_fb_setup_default()
102 fb->height = height; in egl_fb_setup_default()
111 fb->width = width; in egl_fb_setup_for_tex()
112 fb->height = height; in egl_fb_setup_for_tex()
113 fb->texture = texture; in egl_fb_setup_for_tex()
[all …]
A Dvnc-enc-zrle.c59 buffer_reset(&vs->zrle->fb); in zrle_convert_fb()
60 buffer_reserve(&vs->zrle->fb, w * h * bpp + bpp); in zrle_convert_fb()
63 vs->output = vs->zrle->fb; in zrle_convert_fb()
67 vs->zrle->fb = vs->output; in zrle_convert_fb()
69 return vs->zrle->fb.buffer; in zrle_convert_fb()
364 buffer_free(&vs->zrle->fb); in vnc_zrle_clear()
A Dqemu-pixman.c202 void qemu_pixman_linebuf_fill(pixman_image_t *linebuf, pixman_image_t *fb, in qemu_pixman_linebuf_fill() argument
205 pixman_image_composite(PIXMAN_OP_SRC, fb, NULL, linebuf, in qemu_pixman_linebuf_fill()
A Dvnc.h126 pixman_image_t *fb; member
222 Buffer fb; member
A Ddbus-listener.c84 egl_fb fb; member
263 egl_fb_read_rect(ddl->ds, &ddl->fb, x, y, w, h); in dbus_call_update_gl()
538 egl_fb_setup_for_tex(&ddl->fb, backing_width, backing_height, tex_id, false); in dbus_scanout_texture()
884 egl_fb_destroy(&ddl->fb); in dbus_display_listener_dispose()
A Dvnc.c834 qemu_pixman_image_unref(vd->guest.fb); in vnc_dpy_switch()
835 vd->guest.fb = pixman_image_ref(surface->image); in vnc_dpy_switch()
3009 int width = MIN(pixman_image_get_width(vd->guest.fb), in vnc_update_stats()
3011 int height = MIN(pixman_image_get_height(vd->guest.fb), in vnc_update_stats()
3102 int width = MIN(pixman_image_get_width(vd->guest.fb), in vnc_refresh_server_surface()
3104 int height = MIN(pixman_image_get_height(vd->guest.fb), in vnc_refresh_server_surface()
3144 PIXMAN_FORMAT_BPP(pixman_image_get_format(vd->guest.fb)); in vnc_refresh_server_surface()
3145 guest_row0 = (uint8_t *)pixman_image_get_data(vd->guest.fb); in vnc_refresh_server_surface()
3146 guest_stride = pixman_image_get_stride(vd->guest.fb); in vnc_refresh_server_surface()
3147 guest_ll = pixman_image_get_width(vd->guest.fb) in vnc_refresh_server_surface()
[all …]
/qemu/hw/display/
A Dvirtio-gpu.c603 scanout->fb = *fb; in virtio_gpu_update_scanout()
618 if (r->x > fb->width || in virtio_gpu_do_set_scanout()
619 r->y > fb->height || in virtio_gpu_do_set_scanout()
630 fb->width, fb->height); in virtio_gpu_do_set_scanout()
714 fb.bytes_pp = DIV_ROUND_UP(PIXMAN_FORMAT_BPP(fb.format), 8); in virtio_gpu_set_scanout()
718 fb.offset = ss.r.x * fb.bytes_pp + ss.r.y * fb.stride; in virtio_gpu_set_scanout()
731 if (!fb->format) { in virtio_gpu_scanout_blob_to_fb()
738 fb->bytes_pp = DIV_ROUND_UP(PIXMAN_FORMAT_BPP(fb->format), 8); in virtio_gpu_scanout_blob_to_fb()
739 fb->width = ss->width; in virtio_gpu_scanout_blob_to_fb()
742 fb->offset = ss->offsets[0] + ss->r.x * fb->bytes_pp + ss->r.y * fb->stride; in virtio_gpu_scanout_blob_to_fb()
[all …]
A Dxenfb.c898 rc = common_bind(&fb->c); in fb_initialise()
902 fb_page = fb->c.page; in fb_initialise()
909 rc = xenfb_map_fb(fb); in fb_initialise()
913 fb->con = graphic_console_init(NULL, 0, &xenfb_ops, fb); in fb_initialise()
916 fb->feature_update = 0; in fb_initialise()
917 if (fb->feature_update) in fb_initialise()
934 qemu_xen_foreignmem_unmap(fb->pixels, fb->fbpages); in fb_disconnect()
935 fb->pixels = mmap(fb->pixels, fb->fbpages * XEN_PAGE_SIZE, in fb_disconnect()
943 common_unbind(&fb->c); in fb_disconnect()
944 fb->feature_update = 0; in fb_disconnect()
[all …]
A Dvirtio-gpu-udmabuf.c175 struct virtio_gpu_framebuffer *fb, in virtio_gpu_create_dmabuf() argument
185 dmabuf->buf = qemu_dmabuf_new(r->width, r->height, fb->stride, in virtio_gpu_create_dmabuf()
186 r->x, r->y, fb->width, fb->height, in virtio_gpu_create_dmabuf()
187 qemu_pixman_to_drm_format(fb->format), in virtio_gpu_create_dmabuf()
198 struct virtio_gpu_framebuffer *fb, in virtio_gpu_update_dmabuf() argument
205 new_primary = virtio_gpu_create_dmabuf(g, scanout_id, res, fb, r); in virtio_gpu_update_dmabuf()
A Dvirtio-gpu-udmabuf-stubs.c23 struct virtio_gpu_framebuffer *fb, in virtio_gpu_update_dmabuf() argument
A Dvirtio-gpu-virgl.c805 struct virtio_gpu_framebuffer fb = { 0 }; in virgl_cmd_set_scanout_blob() local
854 if (!virtio_gpu_scanout_blob_to_fb(&fb, &ss, res->base.blob_size)) { in virgl_cmd_set_scanout_blob()
860 if (virtio_gpu_update_dmabuf(g, ss.scanout_id, &res->base, &fb, &ss.r)) { in virgl_cmd_set_scanout_blob()
867 virtio_gpu_update_scanout(g, ss.scanout_id, &res->base, &fb, &ss.r); in virgl_cmd_set_scanout_blob()
/qemu/migration/
A Dcolo.c456 ret = qemu_save_device_state(fb); in colo_do_checkpoint_transaction()
473 qemu_fflush(fb); in colo_do_checkpoint_transaction()
531 QEMUFile *fb = NULL; in colo_process_checkpoint() local
561 fb = qemu_file_new_output(QIO_CHANNEL(bioc)); in colo_process_checkpoint()
601 if (fb) { in colo_process_checkpoint()
602 qemu_fclose(fb); in colo_process_checkpoint()
729 ret = qemu_load_device_state(fb); in colo_incoming_process_checkpoint()
822 QEMUFile *fb = NULL; in colo_process_incoming_thread() local
864 fb = qemu_file_new_input(QIO_CHANNEL(bioc)); in colo_process_incoming_thread()
918 if (fb) { in colo_process_incoming_thread()
[all …]
A Dmigration.c2500 QEMUFile *fb; in postcopy_start() local
2586 fb = qemu_file_new_output(QIO_CHANNEL(bioc)); in postcopy_start()
2593 qemu_savevm_send_postcopy_listen(fb); in postcopy_start()
2597 qemu_savevm_send_ping(fb, 3); in postcopy_start()
2600 qemu_savevm_send_postcopy_run(fb); in postcopy_start()
2621 qemu_fclose(fb); in postcopy_start()
2656 qemu_fclose(fb); in postcopy_start()
3578 QEMUFile *fb; in bg_migration_thread() local
3599 fb = qemu_file_new_output(QIO_CHANNEL(s->bioc)); in bg_migration_thread()
3653 qemu_fflush(fb); in bg_migration_thread()
[all …]
/qemu/include/ui/
A Degl-helpers.h28 void egl_fb_destroy(egl_fb *fb);
29 void egl_fb_setup_default(egl_fb *fb, int width, int height);
30 void egl_fb_setup_for_tex(egl_fb *fb, int width, int height,
32 void egl_fb_setup_new_tex(egl_fb *fb, int width, int height);
A Dqemu-pixman.h86 void qemu_pixman_linebuf_fill(pixman_image_t *linebuf, pixman_image_t *fb,
/qemu/hw/arm/
A Dbcm2835_peripherals.c112 object_initialize_child(obj, "fb", &s->fb, TYPE_BCM2835_FB); in raspi_peripherals_base_init()
113 object_property_add_alias(obj, "vcram-size", OBJECT(&s->fb), "vcram-size"); in raspi_peripherals_base_init()
114 object_property_add_alias(obj, "vcram-base", OBJECT(&s->fb), "vcram-base"); in raspi_peripherals_base_init()
116 object_property_add_const_link(OBJECT(&s->fb), "dma-mr", in raspi_peripherals_base_init()
132 OBJECT(&s->fb)); in raspi_peripherals_base_init()
370 if (!object_property_set_uint(OBJECT(&s->fb), "vcram-base", vcram_base, in bcm_soc_peripherals_common_realize()
374 if (!sysbus_realize(SYS_BUS_DEVICE(&s->fb), errp)) { in bcm_soc_peripherals_common_realize()
379 sysbus_mmio_get_region(SYS_BUS_DEVICE(&s->fb), 0)); in bcm_soc_peripherals_common_realize()
380 sysbus_connect_irq(SYS_BUS_DEVICE(&s->fb), 0, in bcm_soc_peripherals_common_realize()
/qemu/include/hw/virtio/
A Dvirtio-gpu.h82 struct virtio_gpu_framebuffer fb; member
347 bool virtio_gpu_scanout_blob_to_fb(struct virtio_gpu_framebuffer *fb,
358 struct virtio_gpu_framebuffer *fb,
364 struct virtio_gpu_framebuffer *fb,
/qemu/tests/qtest/libqos/
A Dahci.c169 if (ahci->port[port].fb) { in ahci_clean_mem()
170 ahci_free(ahci, ahci->port[port].fb); in ahci_clean_mem()
171 ahci->port[port].fb = 0; in ahci_clean_mem()
294 ahci->port[i].fb = ahci_alloc(ahci, 0x100); in ahci_hba_enable()
295 qtest_memset(ahci->parent->qts, ahci->port[i].fb, 0x00, 0x100); in ahci_hba_enable()
296 g_test_message("FB: 0x%08" PRIx64, ahci->port[i].fb); in ahci_hba_enable()
297 ahci_px_wreg(ahci, i, AHCI_PX_FB, ahci->port[i].fb); in ahci_hba_enable()
298 g_assert_cmphex(ahci->port[i].fb, ==, in ahci_hba_enable()
401 qtest_memset(ahci->parent->qts, ahci->port[port].fb, 0x00, 0x100); in ahci_port_clear()
523 qtest_memread(ahci->parent->qts, ahci->port[port].fb + 0x40, d2h, 0x20); in ahci_port_check_d2h_sanity()
[all …]
/qemu/include/hw/arm/
A Dbcm2835_peripherals.h63 BCM2835FBState fb; member
/qemu/scripts/
A Ddecodetree.py810 fb = i.fixedbits & innermask
811 if fb in bins:
812 bins[fb].append(i)
814 bins[fb] = [i]
1459 fb = i.fixedbits & innermask
1460 if fb in bins:
1461 bins[fb].append(i)
1463 bins[fb] = [i]
/qemu/contrib/gitdm/
A Ddomain-map22 fb.com Facebook

Completed in 75 milliseconds

12