Home
last modified time | relevance | path

Searched refs:vcram_base (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/arm/
H A Draspi.c252 uint32_t vcram_base, vcram_size; in raspi_base_machine_init() local
292 vcram_base = object_property_get_uint(OBJECT(soc), "vcram-base", in raspi_base_machine_init()
295 if (vcram_base == 0) { in raspi_base_machine_init()
296 vcram_base = ram_size - vcram_size; in raspi_base_machine_init()
298 boot_ram_size = MIN(vcram_base, UPPER_RAM_BASE - vcram_size); in raspi_base_machine_init()
H A Dbcm2835_peripherals.c255 uint64_t ram_size, vcram_size, vcram_base; in bcm_soc_peripherals_common_realize() local
359 vcram_base = object_property_get_uint(OBJECT(s), "vcram-base", &err); in bcm_soc_peripherals_common_realize()
365 if (vcram_base == 0) { in bcm_soc_peripherals_common_realize()
366 vcram_base = ram_size - vcram_size; in bcm_soc_peripherals_common_realize()
368 vcram_base = MIN(vcram_base, UPPER_RAM_BASE - vcram_size); in bcm_soc_peripherals_common_realize()
370 if (!object_property_set_uint(OBJECT(&s->fb), "vcram-base", vcram_base, in bcm_soc_peripherals_common_realize()
/openbmc/qemu/hw/display/
H A Dbcm2835_fb.c71 rgb888 = ldl_le_phys(&s->dma_as, s->vcram_base + (*src << 2)); in draw_line_src16()
282 newconf.base = s->vcram_base + BCM2835_FB_OFFSET; in bcm2835_fb_mbox_push()
409 if (s->vcram_base == 0) { in bcm2835_fb_realize()
421 s->initial_config.base = s->vcram_base + BCM2835_FB_OFFSET; in bcm2835_fb_realize()
433 DEFINE_PROP_UINT32("vcram-base", BCM2835FBState, vcram_base, 0),/*required*/
/openbmc/qemu/include/hw/display/
H A Dbcm2835_fb.h43 uint32_t vcram_base, vcram_size; member
/openbmc/qemu/hw/misc/
H A Dbcm2835_property.c83 stl_le_phys(&s->dma_as, value + 16, s->fbdev->vcram_base); in bcm2835_property_mbox_push()
88 stl_le_phys(&s->dma_as, value + 12, s->fbdev->vcram_base); in bcm2835_property_mbox_push()
284 s->fbdev->vcram_base + ((offset + e) << 2), color); in bcm2835_property_mbox_push()