Home
last modified time | relevance | path

Searched refs:cur_offset (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/scripts/
H A Dqcow2-to-stdout.py294 cur_offset = refcount_block_offset
301 struct.pack_into(">Q", cluster, idx * 8, cur_offset)
302 cur_offset += cluster_size
331 cur_offset = l2_table_offset
337 struct.pack_into(">Q", cluster, idx * 8, cur_offset | QCOW_OFLAG_COPIED)
338 cur_offset += cluster_size
342 cur_offset = data_clusters_offset
352 struct.pack_into(">Q", cluster, idx * 8, cur_offset | QCOW_OFLAG_COPIED)
353 cur_offset += cluster_size
/openbmc/qemu/hw/display/
H A Dati.c149 if ((s->regs.cur_offset & BIT(31)) || s->cursor_guest_mode) { in ati_cursor_define()
153 srcoff = s->regs.cur_offset - in ati_cursor_define()
175 if (s->regs.cur_offset & BIT(31)) { in ati_cursor_invalidate()
181 s->cursor_offset != s->regs.cur_offset - (s->regs.cur_hv_offs >> 16) - in ati_cursor_invalidate()
187 s->cursor_offset = s->regs.cur_offset - (s->regs.cur_hv_offs >> 16) - in ati_cursor_invalidate()
413 val = ati_reg_read_offs(s->regs.cur_offset, addr - CUR_OFFSET, size); in ati_mm_read()
419 val |= (s->regs.cur_offset & BIT(31)) >> (4 - size); in ati_mm_read()
426 val |= (s->regs.cur_offset & BIT(31)) >> (4 - size); in ati_mm_read()
721 uint32_t t = s->regs.cur_offset; in ati_mm_write()
725 if (s->regs.cur_offset != t) { in ati_mm_write()
[all …]
H A Dati_int.h55 uint32_t cur_offset; member
/openbmc/u-boot/drivers/mtd/
H A Dmtdpart.c572 int partno, uint64_t cur_offset) in allocate_partition() argument
672 slave->offset = cur_offset; in allocate_partition()
674 slave->offset = cur_offset; in allocate_partition()
675 if (mtd_mod_by_eb(cur_offset, master) != 0) { in allocate_partition()
677 slave->offset = (mtd_div_by_eb(cur_offset, master) + 1) * master->erasesize; in allocate_partition()
680 (unsigned long long)cur_offset, (unsigned long long)slave->offset); in allocate_partition()
684 slave->offset = cur_offset; in allocate_partition()
870 uint64_t cur_offset = 0; in add_mtd_partitions() local
876 slave = allocate_partition(master, parts + i, i, cur_offset); in add_mtd_partitions()
886 cur_offset = slave->offset + slave->size; in add_mtd_partitions()
/openbmc/qemu/hw/nvram/
H A Dfw_cfg.c274 s->cur_offset = 0; in fw_cfg_select()
302 if (s->cur_entry != FW_CFG_INVALID && e->data && s->cur_offset < e->len) { in fw_cfg_data_read()
310 value = (value << 8) | e->data[s->cur_offset++]; in fw_cfg_data_read()
311 } while (--size && s->cur_offset < e->len); in fw_cfg_data_read()
383 s->cur_offset >= e->len) { in fw_cfg_dma_transfer()
399 if (dma.length <= (e->len - s->cur_offset)) { in fw_cfg_dma_transfer()
402 len = (e->len - s->cur_offset); in fw_cfg_dma_transfer()
410 &e->data[s->cur_offset], len, in fw_cfg_dma_transfer()
419 &e->data[s->cur_offset], len, in fw_cfg_dma_transfer()
423 e->write_cb(e->callback_opaque, s->cur_offset, len); in fw_cfg_dma_transfer()
[all …]
/openbmc/u-boot/drivers/video/bridge/
H A Danx6345.c211 u8 cur_offset; in anx6345_read_aux_i2c() local
215 cur_offset = offset + i; in anx6345_read_aux_i2c()
217 chip_addr, &cur_offset, 1); in anx6345_read_aux_i2c()
/openbmc/qemu/include/hw/nvram/
H A Dfw_cfg.h67 uint32_t cur_offset; member
/openbmc/u-boot/drivers/spi/
H A Daspeed_spi.c1583 u32 cur_offset = 0; in aspeed_spi_flash_set_segment() local
1614 flash->ahb_base = (void __iomem *)((u32)priv->ahb_base + cur_offset); in aspeed_spi_flash_set_segment()
1625 cur_offset += decode_sz_arr[cs]; in aspeed_spi_flash_set_segment()