Home
last modified time | relevance | path

Searched refs:bmap (Results 1 – 25 of 41) sorted by relevance

12

/openbmc/qemu/tests/unit/
H A Dtest-bitmap.c64 unsigned long *bmap; in bitmap_set_case() local
67 bmap = bitmap_new(BMAP_SIZE); in bitmap_set_case()
71 bitmap_clear(bmap, 0, BMAP_SIZE); in bitmap_set_case()
72 set_func(bmap, BITS_PER_LONG + offset, 1); in bitmap_set_case()
73 g_assert_cmpint(find_first_bit(bmap, 2 * BITS_PER_LONG), in bitmap_set_case()
75 g_assert_cmpint(find_next_zero_bit(bmap, in bitmap_set_case()
82 set_func(bmap, BITS_PER_LONG, 2 * BITS_PER_LONG); in bitmap_set_case()
83 g_assert_cmpuint(bmap[1], ==, -1ul); in bitmap_set_case()
84 g_assert_cmpuint(bmap[2], ==, -1ul); in bitmap_set_case()
85 g_assert_cmpint(find_first_bit(bmap, BITS_PER_LONG), ==, BITS_PER_LONG); in bitmap_set_case()
[all …]
/openbmc/u-boot/drivers/video/
H A Dvideo_bmp.c21 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap, in draw_unencoded_bitmap() argument
25 *(*fbp)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
46 uchar *bmap; in video_display_rle8_bitmap() local
55 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in video_display_rle8_bitmap()
61 if (bmap[0] == BMP_RLE8_ESCAPE) { in video_display_rle8_bitmap()
62 switch (bmap[1]) { in video_display_rle8_bitmap()
65 bmap += 2; in video_display_rle8_bitmap()
77 x += bmap[2]; in video_display_rle8_bitmap()
78 y -= bmap[3]; in video_display_rle8_bitmap()
82 bmap += 4; in video_display_rle8_bitmap()
[all …]
H A Dcfb_console.c1318 uchar *bmap; in video_display_bitmap() local
1429 bmap = (uchar *) bmp + le32_to_cpu(bmp->header.data_offset); in video_display_bitmap()
1458 idx = *bmap & 0xF; in video_display_bitmap()
1459 bmap++; in video_display_bitmap()
1461 idx = *bmap >> 4; in video_display_bitmap()
1466 bmap += padded_line; in video_display_bitmap()
1495 *fb++ = *bmap++; in video_display_bitmap()
1497 bmap += padded_line; in video_display_bitmap()
1507 cte = bmp->color_table[*bmap++]; in video_display_bitmap()
1511 bmap += padded_line; in video_display_bitmap()
[all …]
/openbmc/u-boot/common/
H A Dlcd.c340 uchar *bmap = &bmp_logo_bitmap[0]; in lcd_logo_plot() local
354 memcpy(fb, bmap, BMP_LOGO_WIDTH); in lcd_logo_plot()
355 bmap += BMP_LOGO_WIDTH; in lcd_logo_plot()
364 col16 = bmp_logo_palette[(bmap[j]-16)]; in lcd_logo_plot()
370 bmap += BMP_LOGO_WIDTH; in lcd_logo_plot()
408 static void draw_unencoded_bitmap(ushort **fbp, uchar *bmap, ushort *cmap, in draw_unencoded_bitmap() argument
412 *(*fbp)++ = cmap[*bmap++]; in draw_unencoded_bitmap()
447 uchar *bmap; in lcd_display_rle8_bitmap() local
455 bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); in lcd_display_rle8_bitmap()
461 if (bmap[0] == BMP_RLE8_ESCAPE) { in lcd_display_rle8_bitmap()
[all …]
/openbmc/u-boot/arch/arm/mach-imx/
H A Dddrmc-vf610-calibration.c59 static int ddr_cal_get_first_edge_index(unsigned long *bmap, enum edge e, in ddr_cal_get_first_edge_index() argument
71 if (test_bit(i, bmap)) { in ddr_cal_get_first_edge_index()
72 if (!test_bit(i - 1, bmap) && in ddr_cal_get_first_edge_index()
73 test_bit(i + 1, bmap) && in ddr_cal_get_first_edge_index()
74 test_bit(i + 2, bmap) && in ddr_cal_get_first_edge_index()
75 test_bit(i + 3, bmap)) { in ddr_cal_get_first_edge_index()
83 if (!test_bit(i, bmap)) { in ddr_cal_get_first_edge_index()
84 if (test_bit(i - 1, bmap) && in ddr_cal_get_first_edge_index()
85 test_bit(i - 2, bmap) && in ddr_cal_get_first_edge_index()
86 test_bit(i - 3, bmap)) { in ddr_cal_get_first_edge_index()
[all …]
/openbmc/openbmc/poky/meta/recipes-support/bmaptool/
H A Dbmaptool_3.9.0.bb1 SUMMARY = "Tools to generate block map (AKA bmap) and flash images using bmap"
2 DESCRIPTION = "bmaptool - tools to generate block map (AKA bmap) and flash images using \
3 bmap. bmaptool is a generic tool for creating the block map (bmap) for a file, \
27 RREPLACES:${PN} = "bmap-tools"
28 RCONFLICTS:${PN} = "bmap-tools"
/openbmc/qemu/block/
H A Dvdi.c181 uint32_t *bmap; member
285 uint32_t *bmap; in vdi_co_check() local
292 bmap = g_try_new(uint32_t, s->header.blocks_in_image); in vdi_co_check()
293 if (s->header.blocks_in_image && bmap == NULL) { in vdi_co_check()
298 memset(bmap, 0xff, s->header.blocks_in_image * sizeof(uint32_t)); in vdi_co_check()
302 uint32_t bmap_entry = le32_to_cpu(s->bmap[block]); in vdi_co_check()
306 if (!VDI_IS_ALLOCATED(bmap[bmap_entry])) { in vdi_co_check()
307 bmap[bmap_entry] = bmap_entry; in vdi_co_check()
310 " also used by %" PRIu32 "\n", bmap[bmap_entry], bmap_entry); in vdi_co_check()
327 g_free(bmap); in vdi_co_check()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/bmap-writer/
H A Dbmap-writer_1.0.2.bb2 DESCRIPTION = "bmap-writer is a command-line utility designed to efficiently write disk images \
5 bmap-writer is C++ based does not require Python and focuses solely on writing an image."
6 HOMEPAGE = "https://github.com/embetrix/bmap-writer"
/openbmc/openbmc/poky/documentation/dev-manual/
H A Dbmaptool.rst8 `bmaptool` is a generic tool that creates a file's block map (bmap) and
16 the ``bmap-tools`` package using the following command and then
20 $ sudo apt install bmap-tools
22 - If you are unable to install the ``bmap-tools`` package, you will
34 IMAGE_FSTYPES += "wic wic.bmap"
/openbmc/qemu/tests/qemu-iotests/
H A D300526 for (node, bmap) in bmaps_to_add:
528 node=node, name=bmap)
568 bitmaps[node] = sorted((bmap['name'] for bmap in bitmaps[node]))
619 for (node, bmap) in bmaps_to_add:
621 node=node, name=bmap)
664 bitmaps[node] = sorted(((bmap['name'], bmap['persistent'])
665 for bmap in bitmaps[node]))
/openbmc/qemu/hw/input/
H A Dadb-mouse.c64 static const int bmap[INPUT_BUTTON__MAX] = { in adb_mouse_handle_event() local
81 if (bmap[btn->button]) { in adb_mouse_handle_event()
83 s->buttons_state |= bmap[btn->button]; in adb_mouse_handle_event()
85 s->buttons_state &= ~bmap[btn->button]; in adb_mouse_handle_event()
H A Dhid.c113 static const int bmap[INPUT_BUTTON__MAX] = { in hid_pointer_event() local
150 e->buttons_state |= bmap[btn->button]; in hid_pointer_event()
157 e->buttons_state &= ~bmap[btn->button]; in hid_pointer_event()
/openbmc/qemu/ui/
H A Dinput-legacy.c115 static const int bmap[INPUT_BUTTON__MAX] = { in legacy_mouse_event() local
128 s->buttons |= bmap[btn->button]; in legacy_mouse_event()
130 s->buttons &= ~bmap[btn->button]; in legacy_mouse_event()
H A Dspice-input.c119 static uint32_t bmap[INPUT_BUTTON__MAX] = { in spice_update_buttons() local
139 qemu_input_update_buttons(NULL, bmap, pointer->last_bmask, button_mask); in spice_update_buttons()
H A Dui-hmp-cmds.c57 static uint32_t bmap[INPUT_BUTTON__MAX] = { in hmp_mouse_button() local
67 qemu_input_update_buttons(NULL, bmap, mouse_button_state, button_state); in hmp_mouse_button()
H A Dvdagent.c238 static const int bmap[INPUT_BUTTON__MAX] = { in vdagent_pointer_event() local
277 vd->mouse_btn |= bmap[btn->button]; in vdagent_pointer_event()
279 vd->mouse_btn &= ~bmap[btn->button]; in vdagent_pointer_event()
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0007-linux-syslinux-implement-ext_construct_sectmap_fs.patch7 bmap.
62 + /* Get the physical block no. (bmap) */
H A D0012-libinstaller-Fix-build-with-glibc-2.36.patch47 +#define FIBMAP _IO(0x00,1) /* bmap access */
48 +#define FIGETBSZ _IO(0x00,2) /* get the block size used for bmap */
/openbmc/qemu/migration/
H A Dram.c727 unsigned long *bitmap = rb->bmap; in pss_find_next_dirty()
808 unsigned long *bitmap = rb->bmap; in colo_bitmap_find_dirty()
853 ret = test_and_clear_bit(page, rb->bmap); in migration_bitmap_clear_dirty()
879 *cleared_bits += bitmap_count_one_with_offset(rb->bmap, start, npages); in dirty_bitmap_clear_section()
880 bitmap_clear(rb->bmap, start, npages); in dirty_bitmap_clear_section()
901 if (rb->mr && rb->bmap && memory_region_has_ram_discard_manager(rb->mr)) { in ramblock_dirty_bitmap_clear_discarded_pages()
1800 dirty = test_bit(page, block->bmap); in get_queued_page()
2387 g_free(block->bmap); in ram_bitmaps_destroy()
2388 block->bmap = NULL; in ram_bitmaps_destroy()
2452 unsigned long *bitmap = block->bmap; in ram_postcopy_migrated_memory_release()
[all …]
/openbmc/openbmc/poky/meta-yocto-bsp/conf/machine/include/
H A Dgenericx86-common.inc19 IMAGE_FSTYPES += "wic wic.bmap"
/openbmc/qemu/include/system/
H A Dramblock.h52 unsigned long *bmap; member
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dimage_types.bbclass336 …o zip 7zip zst sum md5sum sha1sum sha224sum sha256sum sha384sum sha512sum bmap u-boot vmdk vhd vhd…
353 CONVERSION_CMD:bmap = "bmaptool create ${IMAGE_NAME}.${type} -o ${IMAGE_NAME}.${type}.bmap"
393 # bmap requires python3 to be in the PATH
394 EXTRANATIVEPATH += "${@'python3-native' if d.getVar('IMAGE_FSTYPES').find('.bmap') else ''}"
/openbmc/qemu/hw/char/
H A Descc.c962 static const int bmap[INPUT_BUTTON__MAX] = { in sunmouse_handle_event() local
980 if (bmap[btn->button]) { in sunmouse_handle_event()
982 s->sunmouse_buttons |= bmap[btn->button]; in sunmouse_handle_event()
984 s->sunmouse_buttons &= ~bmap[btn->button]; in sunmouse_handle_event()
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/xfsprogs/files/
H A D0005-Replace-off64_t-stat64-with-off_t-stat.patch18 io/bmap.c | 6 +++---
70 diff --git a/io/bmap.c b/io/bmap.c
72 --- a/io/bmap.c
73 +++ b/io/bmap.c
/openbmc/openbmc/poky/scripts/lib/wic/plugins/imager/
H A Ddirect.py60 self.bmap = options.bmap
213 if self.bmap:

12