Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 25 of 40) sorted by relevance

12

/openbmc/qemu/hw/ide/
H A Dpci.c201 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_start_dma() local
203 bm->dma_cb = dma_cb; in bmdma_start_dma()
204 bm->cur_prd_last = 0; in bmdma_start_dma()
205 bm->cur_prd_addr = 0; in bmdma_start_dma()
206 bm->cur_prd_len = 0; in bmdma_start_dma()
208 if (bm->status & BM_STATUS_DMAING) { in bmdma_start_dma()
209 bm->dma_cb(bmdma_active_if(bm), 0); in bmdma_start_dma()
223 BMDMAState *bm = DO_UPCAST(BMDMAState, dma, dma); in bmdma_prepare_buf() local
224 IDEState *s = bmdma_active_if(bm); in bmdma_prepare_buf()
225 PCIDevice *pci_dev = PCI_DEVICE(bm->pci_dev); in bmdma_prepare_buf()
[all …]
H A Dcmd646.c92 BMDMAState *bm = opaque; in bmdma_read() local
93 PCIDevice *pci_dev = PCI_DEVICE(bm->pci_dev); in bmdma_read()
102 val = bm->cmd; in bmdma_read()
108 val = bm->status; in bmdma_read()
111 if (bm == &bm->pci_dev->bmdma[0]) { in bmdma_read()
129 BMDMAState *bm = opaque; in bmdma_write() local
130 PCIDevice *pci_dev = PCI_DEVICE(bm->pci_dev); in bmdma_write()
139 bmdma_cmd_writeb(bm, val); in bmdma_write()
148 bmdma_status_writeb(bm, val); in bmdma_write()
151 if (bm == &bm->pci_dev->bmdma[0]) { in bmdma_write()
[all …]
H A Dpiix.c40 BMDMAState *bm = opaque; in bmdma_read() local
49 val = bm->cmd; in bmdma_read()
52 val = bm->status; in bmdma_read()
66 BMDMAState *bm = opaque; in bmdma_write() local
76 bmdma_cmd_writeb(bm, val); in bmdma_write()
79 bmdma_status_writeb(bm, val); in bmdma_write()
95 BMDMAState *bm = &d->bmdma[i]; in bmdma_setup_bar() local
97 memory_region_init_io(&bm->extra_io, OBJECT(d), &piix_bmdma_ops, bm, in bmdma_setup_bar()
99 memory_region_add_subregion(&d->bmdma_bar, i * 8, &bm->extra_io); in bmdma_setup_bar()
100 memory_region_init_io(&bm->addr_ioport, OBJECT(d), in bmdma_setup_bar()
[all …]
H A Dvia.c42 BMDMAState *bm = opaque; in bmdma_read() local
51 val = bm->cmd; in bmdma_read()
54 val = bm->status; in bmdma_read()
68 BMDMAState *bm = opaque; in bmdma_write() local
77 bmdma_cmd_writeb(bm, val); in bmdma_write()
80 bmdma_status_writeb(bm, val); in bmdma_write()
97 BMDMAState *bm = &d->bmdma[i]; in bmdma_setup_bar() local
99 memory_region_init_io(&bm->extra_io, OBJECT(d), &via_bmdma_ops, bm, in bmdma_setup_bar()
101 memory_region_add_subregion(&d->bmdma_bar, i * 8, &bm->extra_io); in bmdma_setup_bar()
102 memory_region_init_io(&bm->addr_ioport, OBJECT(d), in bmdma_setup_bar()
[all …]
/openbmc/qemu/block/
H A Dqcow2-bitmap.c343 Qcow2Bitmap *bm, Error **errp) in load_bitmap() argument
350 granularity = 1U << bm->granularity_bits; in load_bitmap()
351 bitmap = bdrv_create_dirty_bitmap(bs, granularity, bm->name, errp); in load_bitmap()
356 if (bm->flags & BME_FLAG_IN_USE) { in load_bitmap()
361 ret = bitmap_table_load(bs, &bm->table, &bitmap_table); in load_bitmap()
365 "bitmap '%s'", bm->name); in load_bitmap()
369 ret = load_bitmap_data(bs, bitmap_table, bm->table.size, bitmap); in load_bitmap()
372 bm->name); in load_bitmap()
505 static void bitmap_free(Qcow2Bitmap *bm) in bitmap_free() argument
507 if (bm == NULL) { in bitmap_free()
[all …]
H A Ddirty-bitmap.c87 BdrvDirtyBitmap *bm; in bdrv_find_dirty_bitmap() local
90 QLIST_FOREACH(bm, &bs->dirty_bitmaps, list) { in bdrv_find_dirty_bitmap()
91 if (bm->name && !strcmp(name, bm->name)) { in bdrv_find_dirty_bitmap()
92 return bm; in bdrv_find_dirty_bitmap()
374 BdrvDirtyBitmap *bm, *next; in bdrv_release_named_dirty_bitmaps() local
377 QLIST_FOREACH_SAFE(bm, &bs->dirty_bitmaps, list, next) { in bdrv_release_named_dirty_bitmaps()
378 if (bdrv_dirty_bitmap_name(bm)) { in bdrv_release_named_dirty_bitmaps()
379 bdrv_release_dirty_bitmap_locked(bm); in bdrv_release_named_dirty_bitmaps()
454 BdrvDirtyBitmap *bm; in bdrv_query_dirty_bitmaps() local
459 QLIST_FOREACH(bm, &bs->dirty_bitmaps, list) { in bdrv_query_dirty_bitmaps()
[all …]
H A Dbackup.c58 BdrvDirtyBitmap *bm; in backup_cleanup_sync_bitmap() local
67 bm = bdrv_dirty_bitmap_abdicate(job->sync_bitmap, NULL); in backup_cleanup_sync_bitmap()
73 bm = bdrv_reclaim_dirty_bitmap(job->sync_bitmap, NULL); in backup_cleanup_sync_bitmap()
76 assert(bm); in backup_cleanup_sync_bitmap()
80 bdrv_dirty_bitmap_merge_internal(bm, block_copy_dirty_bitmap(job->bcs), in backup_cleanup_sync_bitmap()
/openbmc/u-boot/arch/nios2/lib/
H A Dlibgcc.c57 const word_type bm = (sizeof (Wtype) * BITS_PER_UNIT) - b; in __ashldi3() local
60 if (bm <= 0) in __ashldi3()
63 w.s.high = (UWtype) uu.s.low << -bm; in __ashldi3()
67 const UWtype carries = (UWtype) uu.s.low >> bm; in __ashldi3()
83 const word_type bm = (sizeof (Wtype) * BITS_PER_UNIT) - b; in __ashrdi3() local
86 if (bm <= 0) in __ashrdi3()
90 w.s.low = uu.s.high >> -bm; in __ashrdi3()
94 const UWtype carries = (UWtype) uu.s.high << bm; in __ashrdi3()
110 const word_type bm = (sizeof (Wtype) * BITS_PER_UNIT) - b; in __lshrdi3() local
113 if (bm <= 0) in __lshrdi3()
[all …]
/openbmc/u-boot/arch/arc/lib/
H A Dlibgcc2.c15 const shift_count_type bm = W_TYPE_SIZE - b; in __ashldi3() local
18 if (bm <= 0) { in __ashldi3()
20 w.s.high = (UWtype)uu.s.low << -bm; in __ashldi3()
22 const UWtype carries = (UWtype) uu.s.low >> bm; in __ashldi3()
38 const shift_count_type bm = W_TYPE_SIZE - b; in __ashrdi3() local
41 if (bm <= 0) { in __ashrdi3()
44 w.s.low = uu.s.high >> -bm; in __ashrdi3()
46 const UWtype carries = (UWtype) uu.s.high << bm; in __ashrdi3()
62 const shift_count_type bm = W_TYPE_SIZE - b; in __lshrdi3() local
65 if (bm <= 0) { in __lshrdi3()
[all …]
/openbmc/u-boot/arch/mips/lib/
H A Dlshrdi3.c6 word_type bm; in __lshrdi3() local
12 bm = 32 - b; in __lshrdi3()
14 if (bm <= 0) { in __lshrdi3()
16 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
18 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
H A Dashldi3.c6 word_type bm; in __ashldi3() local
12 bm = 32 - b; in __ashldi3()
14 if (bm <= 0) { in __ashldi3()
16 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
18 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
H A Dashrdi3.c6 word_type bm; in __ashrdi3() local
12 bm = 32 - b; in __ashrdi3()
14 if (bm <= 0) { in __ashrdi3()
18 w.s.low = uu.s.high >> -bm; in __ashrdi3()
20 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
/openbmc/u-boot/arch/sh/lib/
H A Dashldi3.c6 word_type bm; in __ashldi3() local
12 bm = 32 - b; in __ashldi3()
14 if (bm <= 0) { in __ashldi3()
16 w.s.high = (unsigned int) uu.s.low << -bm; in __ashldi3()
18 const unsigned int carries = (unsigned int) uu.s.low >> bm; in __ashldi3()
H A Dlshrdi3.c6 word_type bm; in __lshrdi3() local
12 bm = 32 - b; in __lshrdi3()
14 if (bm <= 0) { in __lshrdi3()
16 w.s.low = (unsigned int) uu.s.high >> -bm; in __lshrdi3()
18 const unsigned int carries = (unsigned int) uu.s.high << bm; in __lshrdi3()
H A Dashrdi3.c6 word_type bm; in __ashrdi3() local
12 bm = 32 - b; in __ashrdi3()
14 if (bm <= 0) { in __ashrdi3()
18 w.s.low = uu.s.high >> -bm; in __ashrdi3()
20 const unsigned int carries = (unsigned int) uu.s.high << bm; in __ashrdi3()
/openbmc/u-boot/arch/m68k/lib/
H A Dashldi3.c27 word_type bm; in __ashldi3() local
35 bm = (sizeof (SItype) * BITS_PER_UNIT) - b; in __ashldi3()
36 if (bm <= 0) in __ashldi3()
39 w.s.high = (USItype)uu.s.low << -bm; in __ashldi3()
43 USItype carries = (USItype)uu.s.low >> bm; in __ashldi3()
H A Dlshrdi3.c27 word_type bm; in __lshrdi3() local
35 bm = (sizeof (SItype) * BITS_PER_UNIT) - b; in __lshrdi3()
36 if (bm <= 0) in __lshrdi3()
39 w.s.low = (USItype)uu.s.high >> -bm; in __lshrdi3()
43 USItype carries = (USItype)uu.s.high << bm; in __lshrdi3()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H A Diomux.c31 u32 reg, ofs, bp, bm; in mxs_iomux_setup_pad() local
39 bm = 0x3 << bp; in mxs_iomux_setup_pad()
41 reg &= ~bm; in mxs_iomux_setup_pad()
51 bm = 0x3 << bp; in mxs_iomux_setup_pad()
53 reg &= ~bm; in mxs_iomux_setup_pad()
/openbmc/qemu/include/hw/ide/
H A Dpci.h59 void bmdma_init(IDEBus *bus, BMDMAState *bm, PCIIDEState *d);
60 void bmdma_cmd_writeb(BMDMAState *bm, uint32_t val);
61 void bmdma_status_writeb(BMDMAState *bm, uint32_t val);
/openbmc/google-ipmi-sys/
H A Dmeson.options15 'bm-signal-path',
17 value: '/run/bm-ready.flag',
/openbmc/u-boot/drivers/video/
H A Dcfb_console.c1123 static void draw_bitmap(uchar **fb, uchar *bm, struct palette *p, in draw_bitmap() argument
1140 *(unsigned char *) addr++ = bm[*off]; in draw_bitmap()
1146 *(unsigned short *) addr = p[bm[*off]].ce.w; in draw_bitmap()
1152 *(u32 *) addr = p[bm[*off]].ce.dw; in draw_bitmap()
1163 unsigned char *bm; in display_rle8_bitmap() local
1182 bm = (uchar *) img + __le32_to_cpu(img->header.data_offset); in display_rle8_bitmap()
1224 switch (bm[0]) { in display_rle8_bitmap()
1226 switch (bm[1]) { in display_rle8_bitmap()
1229 bm += 2; in display_rle8_bitmap()
1243 x += bm[2]; in display_rle8_bitmap()
[all …]
/openbmc/qemu/hw/pci-host/
H A Dppce500.c105 MemoryRegion bm; member
203 MemoryRegion *bm = &pci->bm; in e500_update_piw() local
208 memory_region_del_subregion(bm, mem); in e500_update_piw()
220 memory_region_add_subregion_overlap(bm, wbar, mem, -1); in e500_update_piw()
471 memory_region_init(&s->bm, OBJECT(s), "bm-e500", UINT64_MAX); in e500_pcihost_realize()
472 memory_region_add_subregion(&s->bm, 0x0, &s->busmem); in e500_pcihost_realize()
473 address_space_init(&s->bm_as, &s->bm, "pci-bm"); in e500_pcihost_realize()
H A Dppc440_pcix.c61 MemoryRegion bm; member
120 ppc440_pcix_clear_region(&s->bm, mem); in ppc440_pcix_update_pim()
131 memory_region_add_subregion_overlap(&s->bm, 0, mem, -1); in ppc440_pcix_update_pim()
407 ppc440_pcix_clear_region(&s->bm, &s->pim[i].mr); in ppc440_pcix_reset()
503 memory_region_init(&s->bm, OBJECT(s), "bm-ppc440-pcix", UINT64_MAX); in ppc440_pcix_realize()
504 memory_region_add_subregion(&s->bm, 0x0, &s->busmem); in ppc440_pcix_realize()
505 address_space_init(&s->bm_as, &s->bm, "pci-bm"); in ppc440_pcix_realize()
H A Draven.c64 MemoryRegion bm; member
305 memory_region_init(&s->bm, obj, "bm-raven", 4 * GiB); in raven_pcihost_initfn()
311 memory_region_add_subregion(&s->bm, 0 , &s->bm_pci_memory_alias); in raven_pcihost_initfn()
312 memory_region_add_subregion(&s->bm, 0x80000000, &s->bm_ram_alias); in raven_pcihost_initfn()
313 address_space_init(&s->bm_as, &s->bm, "raven-bm"); in raven_pcihost_initfn()
H A Ddino.c459 memory_region_init(&s->bm, OBJECT(s), "bm-dino", 4 * GiB); in dino_pcihost_realize()
470 memory_region_add_subregion(&s->bm, 0, in dino_pcihost_realize()
472 memory_region_add_subregion(&s->bm, in dino_pcihost_realize()
475 memory_region_add_subregion(&s->bm, 0xfff00000, in dino_pcihost_realize()
478 address_space_init(&s->bm_as, &s->bm, "pci-bm"); in dino_pcihost_realize()

12