| /openbmc/u-boot/drivers/video/ |
| H A D | coreboot.c | 12 static int save_vesa_mode(struct cb_framebuffer *fb, in save_vesa_mode() argument 19 if (!fb) in save_vesa_mode() 22 vesa->x_resolution = fb->x_resolution; in save_vesa_mode() 23 vesa->y_resolution = fb->y_resolution; in save_vesa_mode() 24 vesa->bits_per_pixel = fb->bits_per_pixel; in save_vesa_mode() 25 vesa->bytes_per_scanline = fb->bytes_per_line; in save_vesa_mode() 26 vesa->phys_base_ptr = fb->physical_address; in save_vesa_mode() 27 vesa->red_mask_size = fb->red_mask_size; in save_vesa_mode() 28 vesa->red_mask_pos = fb->red_mask_pos; in save_vesa_mode() 29 vesa->green_mask_size = fb->green_mask_size; in save_vesa_mode() [all …]
|
| H A D | video_bmp.c | 32 ushort *fb = *fbp; in draw_encoded_bitmap() local 35 *fb++ = col; in draw_encoded_bitmap() 38 *fbp = fb; in draw_encoded_bitmap() 43 uchar *fb, int x_off, int y_off) in video_display_rle8_bitmap() argument 69 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap() 80 fb = (uchar *)(priv->fb + (y + y_off - 1) in video_display_rle8_bitmap() 95 (ushort **)&fb, in video_display_rle8_bitmap() 120 draw_encoded_bitmap((ushort **)&fb, in video_display_rle8_bitmap() 131 __weak void fb_put_byte(uchar **fb, uchar **from) in fb_put_byte() argument 133 *(*fb)++ = *(*from)++; in fb_put_byte() [all …]
|
| H A D | video-uclass.c | 95 u16 *ppix = priv->fb; in video_clear() 96 u16 *end = priv->fb + priv->fb_size; in video_clear() 103 u32 *ppix = priv->fb; in video_clear() 104 u32 *end = priv->fb + priv->fb_size; in video_clear() 111 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear() 155 flush_dcache_range((ulong)priv->fb, in video_sync() 156 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync() 164 sandbox_sdl_sync(priv->fb); in video_sync() 228 priv->fb = map_sysmem(plat->base, plat->size); in video_post_probe()
|
| H A D | cfb_console.c | 1049 *fb = ((r>>5)<<5) | ((g>>5)<<2) | (b>>6); \ 1050 fb ++; \ 1054 *(unsigned short *)fb = \ 1058 fb += 2; \ 1062 *(unsigned short *)fb = \ 1066 fb += 2; \ 1070 *(u32 *)fb = \ 1074 fb += 4; \ 1079 fb[0] = b; \ 1080 fb[1] = g; \ [all …]
|
| /openbmc/qemu/backends/ |
| H A D | hostmem-file.c | 47 HostMemoryBackendFile *fb = MEMORY_BACKEND_FILE(backend); in file_backend_memory_alloc() 55 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() 73 if (fb->readonly && backend->share) { in file_backend_memory_alloc() 86 ram_flags |= fb->readonly ? RAM_READONLY_FD : 0; in file_backend_memory_alloc() 87 ram_flags |= fb->rom == ON_OFF_AUTO_ON ? RAM_READONLY : 0; in file_backend_memory_alloc() 90 ram_flags |= fb->is_pmem ? RAM_PMEM : 0; in file_backend_memory_alloc() 93 backend->size, fb->align, ram_flags, in file_backend_memory_alloc() [all …]
|
| /openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-bsp/kexecboot/files/ |
| H A D | 0001-Fix-argument-errors-in-gcc-15.patch | 7 ../../git/src/fb.c: In function 'fb_new': 8 ../../git/src/fb.c:646:17: error: too many arguments to function 'fb_destroy'; expected 0, have 1 9 646 | fb_destroy(fb); 11 ../../git/src/fb.c:391:6: note: declared here 24 src/fb.c | 4 ++-- 25 src/fb.h | 2 +- 30 diff --git a/src/fb.c b/src/fb.c 32 --- a/src/fb.c 33 +++ b/src/fb.c 39 +void fb_destroy(FB fb) [all …]
|
| /openbmc/qemu/target/alpha/ |
| H A D | vax_helper.c | 111 float32 fa, fb, fr; in helper_addf() local 114 fb = f_to_float32(env, GETPC(), b); in helper_addf() 115 fr = float32_add(fa, fb, &FP_STATUS); in helper_addf() 121 float32 fa, fb, fr; in helper_subf() local 124 fb = f_to_float32(env, GETPC(), b); in helper_subf() 125 fr = float32_sub(fa, fb, &FP_STATUS); in helper_subf() 131 float32 fa, fb, fr; in helper_mulf() local 134 fb = f_to_float32(env, GETPC(), b); in helper_mulf() 135 fr = float32_mul(fa, fb, &FP_STATUS); in helper_mulf() 141 float32 fa, fb, fr; in helper_divf() local [all …]
|
| H A D | fpu_helper.c | 217 float32 fa, fb, fr; in helper_adds() local 220 fb = s_to_float32(b); in helper_adds() 221 fr = float32_add(fa, fb, &FP_STATUS); in helper_adds() 229 float32 fa, fb, fr; in helper_subs() local 232 fb = s_to_float32(b); in helper_subs() 233 fr = float32_sub(fa, fb, &FP_STATUS); in helper_subs() 241 float32 fa, fb, fr; in helper_muls() local 244 fb = s_to_float32(b); in helper_muls() 245 fr = float32_mul(fa, fb, &FP_STATUS); in helper_muls() 253 float32 fa, fb, fr; in helper_divs() local [all …]
|
| /openbmc/u-boot/arch/x86/lib/ |
| H A D | coreboot_table.c | 103 struct cb_framebuffer *fb; in write_coreboot_table() local 149 fb = (struct cb_framebuffer *)cbr; in write_coreboot_table() 150 fb->tag = CB_TAG_FRAMEBUFFER; in write_coreboot_table() 151 fb->size = sizeof(struct cb_framebuffer); in write_coreboot_table() 153 fb->x_resolution = vesa->x_resolution; in write_coreboot_table() 154 fb->y_resolution = vesa->y_resolution; in write_coreboot_table() 155 fb->bits_per_pixel = vesa->bits_per_pixel; in write_coreboot_table() 156 fb->bytes_per_line = vesa->bytes_per_scanline; in write_coreboot_table() 157 fb->physical_address = vesa->phys_base_ptr; in write_coreboot_table() 158 fb->red_mask_size = vesa->red_mask_size; in write_coreboot_table() [all …]
|
| /openbmc/u-boot/common/ |
| H A D | lcd.c | 342 uchar *fb = (uchar *)(lcd_base + y * lcd_line_length + x * bpix / 8); in lcd_logo_plot() local 354 memcpy(fb, bmap, BMP_LOGO_WIDTH); in lcd_logo_plot() 356 fb += panel_info.vl_col; in lcd_logo_plot() 361 fb16 = (ushort *)fb; in lcd_logo_plot() 419 ushort *fb = *fbp; in draw_encoded_bitmap() local 424 *fb++ = c; in draw_encoded_bitmap() 425 *fb++ = c; in draw_encoded_bitmap() 426 *fb++ = c; in draw_encoded_bitmap() 427 *fb++ = c; in draw_encoded_bitmap() 428 *fb++ = c; in draw_encoded_bitmap() [all …]
|
| /openbmc/qemu/target/microblaze/ |
| H A D | op_helper.c | 158 CPU_FloatU fd, fa, fb; in helper_fadd() local 163 fb.l = b; in helper_fadd() 164 fd.f = float32_add(fa.f, fb.f, &env->fp_status); in helper_fadd() 173 CPU_FloatU fd, fa, fb; in helper_frsub() local 178 fb.l = b; in helper_frsub() 179 fd.f = float32_sub(fb.f, fa.f, &env->fp_status); in helper_frsub() 187 CPU_FloatU fd, fa, fb; in helper_fmul() local 192 fb.l = b; in helper_fmul() 193 fd.f = float32_mul(fa.f, fb.f, &env->fp_status); in helper_fmul() 202 CPU_FloatU fd, fa, fb; in helper_fdiv() local [all …]
|
| /openbmc/qemu/ui/ |
| H A D | egl-helpers.c | 75 static void egl_fb_delete_texture(egl_fb *fb) in egl_fb_delete_texture() argument 77 if (!fb->delete_texture) { in egl_fb_delete_texture() 81 glDeleteTextures(1, &fb->texture); in egl_fb_delete_texture() 82 fb->delete_texture = false; in egl_fb_delete_texture() 85 void egl_fb_destroy(egl_fb *fb) in egl_fb_destroy() argument 87 if (!fb->framebuffer) { in egl_fb_destroy() 91 egl_fb_delete_texture(fb); in egl_fb_destroy() 92 glDeleteFramebuffers(1, &fb->framebuffer); in egl_fb_destroy() 94 fb->width = 0; in egl_fb_destroy() 95 fb->height = 0; in egl_fb_destroy() [all …]
|
| /openbmc/openbmc/meta-facebook/recipes-phosphor/network/ |
| H A D | phosphor-network_%.bbappend | 3 SRC_URI:append:fb-compute = " \ 7 SRC_URI:append:fb-fboss = " \ 14 do_install:append:fb-compute() { 19 do_install:append:fb-fboss() { 29 FILES:${PN}:append:fb-compute = " ${systemd_unitdir}/network/01-bmc-eth.network" 31 FILES:${PN}:append:fb-fboss = " \
|
| /openbmc/openbmc/meta-facebook/recipes-phosphor/images/ |
| H A D | fb-phosphor-image.inc | 8 IMAGE_FEATURES:remove:fb-nohost = "\ 26 OBMC_IMAGE_EXTRA_INSTALL:append:mf-fb-secondary-emmc = " \ 31 OBMC_IMAGE_EXTRA_INSTALL:append:mf-fb-ncsi-nic = " \ 34 OBMC_IMAGE_EXTRA_INSTALL:append:mf-fb-fixed-nic = " \ 40 include recipes-phosphor/images/fb-${MACHINE}-phosphor-image.inc
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/fbset/ |
| H A D | fbset-modes.bb | 8 SRC_URI = "file://fb.modes" 15 install -m 0644 ${UNPACKDIR}/fb.modes ${D}${sysconfdir} 18 # fb.modes file is MACHINE_ARCH, base.bbclass correctly changes it to MACHINE_ARCH, but too late fo… 22 CONFFILES:${PN} = "${sysconfdir}/fb.modes"
|
| /openbmc/qemu/hw/display/ |
| H A D | virtio-gpu.c | 585 struct virtio_gpu_framebuffer *fb, in virtio_gpu_update_scanout() argument 603 scanout->fb = *fb; in virtio_gpu_update_scanout() 608 struct virtio_gpu_framebuffer *fb, in virtio_gpu_do_set_scanout() argument 618 if (r->x > fb->width || in virtio_gpu_do_set_scanout() 619 r->y > fb->height || in virtio_gpu_do_set_scanout() 622 r->width > fb->width || in virtio_gpu_do_set_scanout() 623 r->height > fb->height || in virtio_gpu_do_set_scanout() 624 r->x + r->width > fb->width || in virtio_gpu_do_set_scanout() 625 r->y + r->height > fb->height) { in virtio_gpu_do_set_scanout() 630 fb->width, fb->height); in virtio_gpu_do_set_scanout() [all …]
|
| H A D | virtio-gpu-udmabuf.c | 176 struct virtio_gpu_framebuffer *fb, in virtio_gpu_create_dmabuf() argument 188 &offset, &fb->stride, in virtio_gpu_create_dmabuf() 189 r->x, r->y, fb->width, fb->height, in virtio_gpu_create_dmabuf() 190 qemu_pixman_to_drm_format(fb->format), in virtio_gpu_create_dmabuf() 202 struct virtio_gpu_framebuffer *fb, in virtio_gpu_update_dmabuf() argument 209 new_primary = virtio_gpu_create_dmabuf(g, scanout_id, res, fb, r); in virtio_gpu_update_dmabuf()
|
| H A D | xenfb.c | 890 struct XenFB *fb = container_of(xendev, struct XenFB, c.xendev); in fb_initialise() local 898 rc = common_bind(&fb->c); in fb_initialise() 902 fb_page = fb->c.page; in fb_initialise() 903 rc = xenfb_configure_fb(fb, videoram * MiB, 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() 915 if (xenstore_read_fe_int(xendev, "feature-update", &fb->feature_update) == -1) in fb_initialise() 916 fb->feature_update = 0; in fb_initialise() 917 if (fb->feature_update) in fb_initialise() 921 fb->feature_update, videoram); in fb_initialise() [all …]
|
| /openbmc/openbmc/meta-facebook/conf/machine/include/ |
| H A D | facebook.inc | 16 PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-fb-apps" 17 PREFERRED_PROVIDER_virtual/obmc-fan-mgmt = "packagegroup-fb-apps" 18 PREFERRED_PROVIDER_virtual/obmc-flash-mgmt = "packagegroup-fb-apps" 20 PREFERRED_PROVIDER_virtual/obmc-system-mgmt = "packagegroup-fb-apps"
|
| H A D | facebook-secondary-emmc.inc | 1 MACHINE_FEATURES:append = " fb-secondary-emmc" 2 MACHINEOVERRIDES:append = ":mf-fb-secondary-emmc"
|
| /openbmc/qemu/migration/ |
| H A D | colo.c | 407 QEMUFile *fb) in colo_do_checkpoint_transaction() argument 459 ret = qemu_save_device_state(fb); in colo_do_checkpoint_transaction() 476 qemu_fflush(fb); in colo_do_checkpoint_transaction() 534 QEMUFile *fb = NULL; in colo_process_checkpoint() local 564 fb = qemu_file_new_output(QIO_CHANNEL(bioc)); in colo_process_checkpoint() 592 ret = colo_do_checkpoint_transaction(s, bioc, fb); in colo_process_checkpoint() 604 if (fb) { in colo_process_checkpoint() 605 qemu_fclose(fb); in colo_process_checkpoint() 660 QEMUFile *fb, QIOChannelBuffer *bioc, Error **errp) in colo_incoming_process_checkpoint() argument 732 ret = qemu_load_device_state(fb); in colo_incoming_process_checkpoint() [all …]
|
| /openbmc/openbmc/meta-facebook/recipes-phosphor/gpio/ |
| H A D | phosphor-gpio-monitor_%.bbappend | 3 SRC_URI:append:fb-compute-multihost = " file://phosphor-multi-gpio-monitor.json" 4 SRC_URI:append:fb-compute-multihost = " file://obmc-ipmb-rescan-fru.service" 5 SRC_URI:append:fb-compute-multihost = " file://ipmb-rescan-fru" 16 do_install:append:fb-compute-multihost() {
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-test/fbtest/ |
| H A D | fb-test_1.1.0.bb | 7 SRC_URI = "git://github.com//ponty/fb-test-app.git;branch=master;protocol=https" 16 install -m 0755 fb-test ${D}${bindir} 19 install -m 0755 $prog ${D}${bindir}/fb-$prog
|
| /openbmc/openbmc/meta-facebook/recipes-fb/packagegroups/ |
| H A D | packagegroup-fb-apps.bb | 13 PACKAGES:append:fb-withhost = " \ 44 RDEPENDS_PN_SYSTEM_EXTRAS:fb-withhost = " \ 46 fb-ipmi-oem \ 60 fb-common-functions \
|
| /openbmc/qemu/include/ui/ |
| H A D | egl-helpers.h | 30 void egl_fb_destroy(egl_fb *fb); 31 void egl_fb_setup_default(egl_fb *fb, int width, int height, int x, int y); 32 void egl_fb_setup_for_tex(egl_fb *fb, int width, int height, 34 void egl_fb_setup_new_tex(egl_fb *fb, int width, int height);
|