/openbmc/qemu/include/qemu/ |
H A D | range.h | 43 assert(range->lob <= range->upb || range->lob == range->upb + 1); in range_invariant() 77 range->lob = lob; in range_set_bounds() 94 range->lob = lob; in range_set_bounds1() 104 return range->lob; in range_lob() 122 if (lob + size < lob) { in range_init() 125 range->lob = lob; in range_init() 137 range->lob = lob; in range_init_nofail() 160 return !(range2->upb < range1->lob || range1->upb < range2->lob); in range_overlaps_range() 173 return range1->lob <= range2->lob && range1->upb >= range2->upb; in range_contains_range() 188 if (range->lob > extend_by->lob) { in range_extend() [all …]
|
/openbmc/qemu/util/ |
H A D | range.c | 28 if (b->lob && b->lob - 1 > a->upb) { in range_compare() 31 if (a->lob && a->lob - 1 > b->upb) { in range_compare() 71 GList *append_new_range(GList *list, uint64_t lob, uint64_t upb) in append_new_range() argument 75 range_set_bounds(new, lob, upb); in append_new_range()
|
H A D | log.c | 401 uint64_t r1val, r2val, lob, upb; in qemu_set_dfilter_ranges() local 433 lob = r1val; in qemu_set_dfilter_ranges() 438 lob = r1val - (r2val - 1); in qemu_set_dfilter_ranges() 441 lob = r1val; in qemu_set_dfilter_ranges() 447 if (lob > upb) { in qemu_set_dfilter_ranges() 451 range_set_bounds(&range, lob, upb); in qemu_set_dfilter_ranges()
|
H A D | reserved-region.c | 64 uint64_t lob = range_lob(range_iter); in resv_region_list_insert() local 74 lob, range_lob(r) - 1); in resv_region_list_insert()
|
/openbmc/linux/drivers/staging/olpc_dcon/ |
H A D | olpc_dcon_xo_1.c | 41 unsigned char lob; in dcon_init_xo_1() local 91 lob = inb(0x4d0); in dcon_init_xo_1() 92 lob &= ~(1 << DCON_IRQ); in dcon_init_xo_1() 93 outb(lob, 0x4d0); in dcon_init_xo_1()
|
/openbmc/qemu/tests/unit/ |
H A D | test-resv-mem.c | 61 static GList *insert_sorted_range(GList *list, uint64_t lob, uint64_t upb) in insert_sorted_range() argument 65 range_set_bounds(new, lob, upb); in insert_sorted_range() 185 static ReservedRegion *alloc_resv_mem(unsigned type, uint64_t lob, uint64_t upb) in alloc_resv_mem() argument 191 range_set_bounds(&r->range, lob, upb); in alloc_resv_mem()
|
/openbmc/qemu/hw/pci-bridge/ |
H A D | cxl_downstream.c | 52 addr -= cxl_cstate->dvsecs[EXTENSIONS_PORT_DVSEC].lob; in cxl_dsp_dvsec_write_config()
|
H A D | cxl_root_port.c | 219 addr -= crp->cxl_cstate.dvsecs[EXTENSIONS_PORT_DVSEC].lob; in cxl_rp_dvsec_write_config()
|
H A D | cxl_upstream.c | 46 addr -= usp->cxl_cstate.dvsecs[EXTENSIONS_PORT_DVSEC].lob; in cxl_usp_dvsec_write_config()
|
/openbmc/qemu/hw/pci/ |
H A D | pci.c | 2821 pcibus_t lob, upb; in pci_dev_get_w64() local 2830 lob = pci_bar_address(dev, i, r->type, r->size); in pci_dev_get_w64() 2831 upb = lob + r->size - 1; in pci_dev_get_w64() 2832 if (lob == PCI_BAR_UNMAPPED) { in pci_dev_get_w64() 2836 lob = MAX(lob, 0x1ULL << 32); in pci_dev_get_w64() 2838 if (upb >= lob) { in pci_dev_get_w64() 2839 range_set_bounds(®ion_range, lob, upb); in pci_dev_get_w64()
|
/openbmc/qemu/hw/core/ |
H A D | qdev-properties-system.c | 737 uint64_t lob, upb; in set_reserved_region() local 745 ret = qemu_strtou64(str, &endptr, 16, &lob); in set_reserved_region() 765 range_set_bounds(&rr->range, lob, upb); in set_reserved_region()
|
/openbmc/qemu/hw/virtio/ |
H A D | trace-events | 140 virtio_iommu_host_resv_regions(const char *name, uint32_t index, uint64_t lob, uint64_t upb) "mr=%s…
|